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:
When's the release date of the model with part number adh485biaa5do?
### Context:
CREATE TABLE table_13869651_3 (release_date VARCHAR, part_number_s_ VARCHAR)
### Response:
### Response:
SELECT release_date FROM table_13869651_3 WHERE part_number_s_ = "ADH485BIAA5DO"</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 Top 10 has a Top 5 larger than 1, and a Year of 2003, and Poles larger than 0?
### Context:
CREATE TABLE table_name_15 (top_10 INTEGER, poles VARCHAR, top_5 VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT AVG(top_10) FROM table_name_15 WHERE top_5 > 1 AND year = 2003 AND poles > 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:
Who is the television commentator when the radio commentator is Galyna Babiy?
### Context:
CREATE TABLE table_1998037_9 (television_commentator VARCHAR, radio_commentator VARCHAR)
### Response:
### Response:
SELECT television_commentator FROM table_1998037_9 WHERE radio_commentator = "Galyna Babiy"</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 luma samples at level 1.3?
### Context:
CREATE TABLE table_237036_2 (luma_samples_s VARCHAR, level VARCHAR)
### Response:
### Response:
SELECT luma_samples_s FROM table_237036_2 WHERE level = "1.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 the team 1 with tikveš as team 2?
### Context:
CREATE TABLE table_name_92 (team_1 VARCHAR, team_2 VARCHAR)
### Response:
### Response:
SELECT team_1 FROM table_name_92 WHERE team_2 = "tikveš"</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 Purse listed for the Year of 1998?
### Context:
CREATE TABLE table_name_10 (purse VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT purse FROM table_name_10 WHERE year = "1998"</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 2007 estimate for tulsa-bartlesville, ok csa?
### Context:
CREATE TABLE table_12720275_1 (combined_statistical_area__or_metropolitan_statistical_area_if_noted_ VARCHAR)
### Response:
### Response:
SELECT 2007 AS _estimate FROM table_12720275_1 WHERE combined_statistical_area__or_metropolitan_statistical_area_if_noted_ = "Tulsa-Bartlesville, OK CSA"</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 episode after 1998 had John Wells as the nominee?
### Context:
CREATE TABLE table_name_25 (episode VARCHAR, year VARCHAR, nominee_s_ VARCHAR)
### Response:
### Response:
SELECT episode FROM table_name_25 WHERE year > 1998 AND nominee_s_ = "john wells"</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 opponents in the final that was played on April 16, 2006 and the outcome was runner-up?
### Context:
CREATE TABLE table_name_9 (opponents_in_final VARCHAR, outcome VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT opponents_in_final FROM table_name_9 WHERE outcome = "runner-up" AND date = "april 16, 2006"</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 number of games on june 12
### Context:
CREATE TABLE table_11965481_13 (game VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT COUNT(game) FROM table_11965481_13 WHERE date = "June 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:
Find the name of department that offers the class whose description has the word "Statistics".
### Context:
CREATE TABLE course (dept_code VARCHAR, crs_description VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR)
### Response:
### Response:
SELECT T2.dept_name FROM course AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code WHERE T1.crs_description LIKE '%Statistics%'</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 poverty rate is 12.9%, what is the market income per capita?
### Context:
CREATE TABLE table_22815568_6 (market_income_per_capita VARCHAR, poverty_rate VARCHAR)
### Response:
### Response:
SELECT market_income_per_capita FROM table_22815568_6 WHERE poverty_rate = "12.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 eliminated a person at 18:48?
### Context:
CREATE TABLE table_29692554_2 (eliminated VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT eliminated AS by FROM table_29692554_2 WHERE time = "18:48"</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 engine did David Coulthard have in his mp4-13 chassis?
### Context:
CREATE TABLE table_name_86 (engine_† VARCHAR, chassis VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT engine_† FROM table_name_86 WHERE chassis = "mp4-13" AND driver = "david coulthard"</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 the second runner up when Janina San Miguel won binibining pilipinas-world?
### Context:
CREATE TABLE table_1825751_4 (second_runner_up VARCHAR, binibining_pilipinas_world VARCHAR)
### Response:
### Response:
SELECT COUNT(second_runner_up) FROM table_1825751_4 WHERE binibining_pilipinas_world = "Janina San Miguel"</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 game for l 109–116 (ot)
### Context:
CREATE TABLE table_27700375_11 (game INTEGER, score VARCHAR)
### Response:
### Response:
SELECT MIN(game) FROM table_27700375_11 WHERE score = "L 109–116 (OT)"</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 Prince XML value for the engine that has a Gecko value of 'no' and webkit value of 'nightly build'?
### Context:
CREATE TABLE table_name_63 (prince_xml VARCHAR, gecko VARCHAR, webkit VARCHAR)
### Response:
### Response:
SELECT prince_xml FROM table_name_63 WHERE gecko = "no" AND webkit = "nightly build"</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 weekly rank of the episode with a 14 share whose original airdate was April 20, 2010?
### Context:
CREATE TABLE table_25391981_20 (weekly_rank VARCHAR, share VARCHAR, original_airdate VARCHAR)
### Response:
### Response:
SELECT weekly_rank FROM table_25391981_20 WHERE share = "14" AND original_airdate = "April 20, 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:
Tell me the title for japan august 23, 2012
### Context:
CREATE TABLE table_name_57 (title VARCHAR, japan VARCHAR)
### Response:
### Response:
SELECT title FROM table_name_57 WHERE japan = "august 23, 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 kind is in the year 1978 and a manual of ii/p?
### Context:
CREATE TABLE table_name_79 (kind VARCHAR, year VARCHAR, manuals VARCHAR)
### Response:
### Response:
SELECT kind FROM table_name_79 WHERE year = "1978" AND manuals = "ii/p"</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 university of akron's enrollment?
### Context:
CREATE TABLE table_name_35 (enrollment VARCHAR, university VARCHAR)
### Response:
### Response:
SELECT enrollment FROM table_name_35 WHERE university = "university of akron"</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 number of writers for airdate of 15 july 1967
### Context:
CREATE TABLE table_20345624_2 (writer VARCHAR, original_airdate VARCHAR)
### Response:
### Response:
SELECT COUNT(writer) FROM table_20345624_2 WHERE original_airdate = "15 July 1967"</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 district shows reserved for (SC / ST /None) of total:?
### Context:
CREATE TABLE table_name_45 (district VARCHAR, reserved_for___sc___st__none_ VARCHAR)
### Response:
### Response:
SELECT district FROM table_name_45 WHERE reserved_for___sc___st__none_ = "total:"</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 did Alyn McCauley get picked?
### Context:
CREATE TABLE table_2886617_4 (pick VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT COUNT(pick) FROM table_2886617_4 WHERE player = "Alyn McCauley"</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 location of game 4?
### Context:
CREATE TABLE table_name_20 (location VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_20 WHERE game = 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:
Name the country for gerrard
### Context:
CREATE TABLE table_22667773_8 (country VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT country FROM table_22667773_8 WHERE name = "Gerrard"</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 Dutch translation of the Latin word navigo?
### Context:
CREATE TABLE table_name_3 (dutch VARCHAR, latin VARCHAR)
### Response:
### Response:
SELECT dutch FROM table_name_3 WHERE latin = "navigo"</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 number of networks when the size of rest bit field is 8?
### Context:
CREATE TABLE table_name_93 (number_of_networks VARCHAR, size_of_rest_bit_field VARCHAR)
### Response:
### Response:
SELECT number_of_networks FROM table_name_93 WHERE size_of_rest_bit_field = "8"</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 points that have a difference of 8, with a position less than 4?
### Context:
CREATE TABLE table_name_36 (points INTEGER, difference VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT MAX(points) FROM table_name_36 WHERE difference = "8" AND position < 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 are all values for 'to par' for the winning score of 67-67-69-69=272?
### Context:
CREATE TABLE table_1507431_1 (to_par VARCHAR, winning_score VARCHAR)
### Response:
### Response:
SELECT to_par FROM table_1507431_1 WHERE winning_score = 67 - 67 - 69 - 69 = 272</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 159 laps and a Time/Retired of 6:30:02.3733?
### Context:
CREATE TABLE table_name_75 (team VARCHAR, laps VARCHAR, time_retired VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_75 WHERE laps = 159 AND time_retired = "6:30:02.3733"</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 2010 Tournament has a 2001 of grand slam tournaments?
### Context:
CREATE TABLE table_name_36 (Id VARCHAR)
### Response:
### Response:
SELECT 2010 FROM table_name_36 WHERE 2001 = "grand slam tournaments"</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 the player that plays position c on the New York Knicks?
### Context:
CREATE TABLE table_name_54 (player VARCHAR, team VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_54 WHERE team = "new york knicks" AND position = "c"</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 song directed by datta naik had the ending stranza written by Johnny Walker?
### Context:
CREATE TABLE table_2528382_1 (additional_info VARCHAR, music_director VARCHAR)
### Response:
### Response:
SELECT additional_info FROM table_2528382_1 WHERE music_director = "Datta Naik"</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 number of draws when there are 4 losses and 28.6% efficiency?
### Context:
CREATE TABLE table_name_11 (draws VARCHAR, losses VARCHAR, efficiency__percentage VARCHAR)
### Response:
### Response:
SELECT COUNT(draws) FROM table_name_11 WHERE losses = 4 AND efficiency__percentage = "28.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 listed number for a player?
### Context:
CREATE TABLE table_29050051_3 (_number INTEGER)
### Response:
### Response:
SELECT MIN(_number) FROM table_29050051_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:
Where is the airport located that has a 98.9% in use capacity?
### Context:
CREATE TABLE table_name_51 (location VARCHAR, capacity_in_use VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_51 WHERE capacity_in_use = "98.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:
What is Film Title Used In Nomination, when Original Title is "Báng-Kah (艋舺)"
### Context:
CREATE TABLE table_name_27 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
### Response:
### Response:
SELECT film_title_used_in_nomination FROM table_name_27 WHERE original_title = "báng-kah (艋舺)"</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 the player on round 7 with an overall ranking of #195?
### Context:
CREATE TABLE table_name_86 (player VARCHAR, round VARCHAR, overall VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_86 WHERE round = "7" AND overall = "#195"</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 documents with budget types described as 'Government'.
### Context:
CREATE TABLE Documents_with_expenses (document_id VARCHAR, Budget_Type_code VARCHAR); CREATE TABLE Ref_Budget_Codes (Budget_Type_code VARCHAR, budget_type_Description VARCHAR)
### Response:
### Response:
SELECT T1.document_id FROM Documents_with_expenses AS T1 JOIN Ref_Budget_Codes AS T2 ON T1.Budget_Type_code = T2.Budget_Type_code WHERE T2.budget_type_Description = "Government"</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 Memory for a Number 32 with a Clock of 2.26ghz?
### Context:
CREATE TABLE table_name_68 (memory VARCHAR, clock VARCHAR, number VARCHAR)
### Response:
### Response:
SELECT memory FROM table_name_68 WHERE clock = "2.26ghz" AND number = 32</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 date of the game with toronto as the visitor?
### Context:
CREATE TABLE table_name_89 (date VARCHAR, visitor VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_89 WHERE visitor = "toronto"</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 data was given the total electricity in GW-h if the renewable electricity w/o hydro (GW-h) is 3601?
### Context:
CREATE TABLE table_25244412_2 (total_electricity__gw VARCHAR, renewable_electricity_w_o_hydro__gw·h_ VARCHAR)
### Response:
### Response:
SELECT COUNT(total_electricity__gw) AS ·h_ FROM table_25244412_2 WHERE renewable_electricity_w_o_hydro__gw·h_ = 3601</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 the game that the Indianapolis Colts lost in 2004?
### Context:
CREATE TABLE table_name_98 (date VARCHAR, loser VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_98 WHERE loser = "indianapolis colts" AND year = 2004</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 air date were there 2.15 million u.s. viewers?
### Context:
CREATE TABLE table_22380270_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
### Response:
### Response:
SELECT original_air_date FROM table_22380270_1 WHERE us_viewers__millions_ = "2.15"</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 Points have a Lost smaller than 1, and Games larger than 7?
### Context:
CREATE TABLE table_name_81 (points INTEGER, lost VARCHAR, games VARCHAR)
### Response:
### Response:
SELECT MAX(points) FROM table_name_81 WHERE lost < 1 AND games > 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 are all the distinct payment types?
### Context:
CREATE TABLE payments (payment_type_code VARCHAR)
### Response:
### Response:
SELECT DISTINCT payment_type_code FROM payments</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 highest pick number for the Hamilton tiger-cats?
### Context:
CREATE TABLE table_name_13 (pick__number INTEGER, cfl_team VARCHAR)
### Response:
### Response:
SELECT MAX(pick__number) FROM table_name_13 WHERE cfl_team = "hamilton tiger-cats"</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 common english word with the abbr of ai?
### Context:
CREATE TABLE table_name_81 (common_english VARCHAR, abbr VARCHAR)
### Response:
### Response:
SELECT common_english FROM table_name_81 WHERE abbr = "ai"</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:
Mideast region host University of Tennessee is in what state?
### Context:
CREATE TABLE table_name_70 (state VARCHAR, region VARCHAR, host VARCHAR)
### Response:
### Response:
SELECT state FROM table_name_70 WHERE region = "mideast" AND host = "university of tennessee"</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 lowest Year Joined which has a Mascot of pioneers?
### Context:
CREATE TABLE table_name_93 (year_joined INTEGER, mascot VARCHAR)
### Response:
### Response:
SELECT MIN(year_joined) FROM table_name_93 WHERE mascot = "pioneers"</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 Source Version, when License is LGPL or MPL?
### Context:
CREATE TABLE table_name_42 (source_version VARCHAR, license VARCHAR)
### Response:
### Response:
SELECT source_version FROM table_name_42 WHERE license = "lgpl or mpl"</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 when the release date is 1938-12-17 and the production number is 8610?
### Context:
CREATE TABLE table_name_86 (title VARCHAR, release_date VARCHAR, production_num VARCHAR)
### Response:
### Response:
SELECT title FROM table_name_86 WHERE release_date = "1938-12-17" AND production_num = "8610"</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 drawn for lost being 5 and tries for 89
### Context:
CREATE TABLE table_27293285_4 (drawn VARCHAR, lost VARCHAR, tries_for VARCHAR)
### Response:
### Response:
SELECT drawn FROM table_27293285_4 WHERE lost = "5" AND tries_for = "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 is the percentage of the trance- n himalaya zone that corresponds with the high hill zone is 25%?
### Context:
CREATE TABLE table_10638523_1 (trance__n_himalaya_zone VARCHAR, high_hill_zone VARCHAR)
### Response:
### Response:
SELECT trance__n_himalaya_zone FROM table_10638523_1 WHERE high_hill_zone = "25%"</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 informational CVBS Lines of the encoding with max character of 32 and has B (global) standard?
### Context:
CREATE TABLE table_1926240_1 (informational_cvbs_lines VARCHAR, max_characters__per_page_row_ VARCHAR, standard VARCHAR)
### Response:
### Response:
SELECT informational_cvbs_lines FROM table_1926240_1 WHERE max_characters__per_page_row_ = 32 AND standard = "B (global)"</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 location of the school established in 1923
### Context:
CREATE TABLE table_16432543_1 (location VARCHAR, established VARCHAR)
### Response:
### Response:
SELECT location FROM table_16432543_1 WHERE established = 1923</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 time does the train that arrives in lonavla at 22:22 depart pune
### Context:
CREATE TABLE table_29301050_1 (departure_pune VARCHAR, arrival_lonavla VARCHAR)
### Response:
### Response:
SELECT departure_pune FROM table_29301050_1 WHERE arrival_lonavla = "22: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:
Which country has the catalog nr of thr-048 in 2004?
### Context:
CREATE TABLE table_name_43 (country VARCHAR, date VARCHAR, catalog_nr VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_43 WHERE date = "2004" AND catalog_nr = "thr-048"</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 ratings/share ratio when viewers are 5.50 Million?
### Context:
CREATE TABLE table_20522228_2 (rating VARCHAR, viewers__millions_ VARCHAR)
### Response:
### Response:
SELECT rating / SHARE(18 - 49) FROM table_20522228_2 WHERE viewers__millions_ = "5.50"</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 person that was appointed on 13 May 2009?
### Context:
CREATE TABLE table_name_74 (replaced_by VARCHAR, date_of_appointment VARCHAR)
### Response:
### Response:
SELECT replaced_by FROM table_name_74 WHERE date_of_appointment = "13 may 2009"</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 time is sunday day one is ahad?
### Context:
CREATE TABLE table_1277350_7 (thursday_day_five VARCHAR, sunday_day_one VARCHAR)
### Response:
### Response:
SELECT COUNT(thursday_day_five) FROM table_1277350_7 WHERE sunday_day_one = "Ahad"</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 High Rebounds, when High Assists is "Jason Kidd (13)"?
### Context:
CREATE TABLE table_name_50 (high_rebounds VARCHAR, high_assists VARCHAR)
### Response:
### Response:
SELECT high_rebounds FROM table_name_50 WHERE high_assists = "jason kidd (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:
List all the event names by year from the most recent to the oldest.
### Context:
CREATE TABLE event (name VARCHAR, YEAR VARCHAR)
### Response:
### Response:
SELECT name FROM event ORDER BY YEAR DESC</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 Away team has Carlton for it's Home team?
### Context:
CREATE TABLE table_name_96 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_96 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:
what is the date when the site is memorial stadium • minneapolis, mn, and the Attendance is 53,192?
### Context:
CREATE TABLE table_name_70 (date VARCHAR, site VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_70 WHERE site = "memorial stadium • minneapolis, mn" AND attendance = "53,192"</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 for the game with a crowd of 5391?
### Context:
CREATE TABLE table_16388478_4 (away_team VARCHAR, crowd VARCHAR)
### Response:
### Response:
SELECT away_team AS score FROM table_16388478_4 WHERE crowd = 5391</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 has the highest ranking from 1996–13, and more than 17 goals?
### Context:
CREATE TABLE table_name_80 (ranking INTEGER, years VARCHAR, goals VARCHAR)
### Response:
### Response:
SELECT MAX(ranking) FROM table_name_80 WHERE years = "1996–13" AND goals > 17</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 Win% of the 1989-90 Team?
### Context:
CREATE TABLE table_name_44 (win_percentage VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT win_percentage FROM table_name_44 WHERE team = "1989-90"</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 was the player with the score line 69-71-72-69=281 from?
### Context:
CREATE TABLE table_name_6 (country VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_6 WHERE score = 69 - 71 - 72 - 69 = 281</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 rank of Elise Matthysen in lanes under 8?
### Context:
CREATE TABLE table_name_46 (rank INTEGER, name VARCHAR, lane VARCHAR)
### Response:
### Response:
SELECT AVG(rank) FROM table_name_46 WHERE name = "elise matthysen" AND lane < 8</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 district is Samuel A. Bridges ( D ) assigned to as a successor?
### Context:
CREATE TABLE table_228439_4 (district VARCHAR, successor VARCHAR)
### Response:
### Response:
SELECT district FROM table_228439_4 WHERE successor = "Samuel A. Bridges ( D )"</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 date was the attendance 1,804?
### Context:
CREATE TABLE table_name_44 (date VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_44 WHERE attendance = "1,804"</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 value for Events, when the value for Top-5 is greater than 1?
### Context:
CREATE TABLE table_name_56 (events INTEGER, top_5 INTEGER)
### Response:
### Response:
SELECT MIN(events) FROM table_name_56 WHERE top_5 > 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 team number with John Wall (9) in high assists and a w 97–83 (ot) score?
### Context:
CREATE TABLE table_27721131_2 (team VARCHAR, high_assists VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT COUNT(team) FROM table_27721131_2 WHERE high_assists = "John Wall (9)" AND score = "W 97–83 (OT)"</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 of the home team aginst Essendon?
### Context:
CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT home_team AS score FROM table_name_89 WHERE away_team = "essendon"</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 total that is 1st in 2010?
### Context:
CREATE TABLE table_name_8 (total INTEGER)
### Response:
### Response:
SELECT AVG(total) FROM table_name_8 WHERE 2010 = "1st"</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 his money list rank in 2001?
### Context:
CREATE TABLE table_22839669_12 (money_list_rank INTEGER, year VARCHAR)
### Response:
### Response:
SELECT MIN(money_list_rank) FROM table_22839669_12 WHERE year = 2001</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 film did michaylo ilyenko make with best actor in a supporting role?
### Context:
CREATE TABLE table_10236830_1 (film_name VARCHAR, director VARCHAR, nomination VARCHAR)
### Response:
### Response:
SELECT film_name FROM table_10236830_1 WHERE director = "Michaylo Ilyenko" AND nomination = "Best Actor in a Supporting Role"</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 writer worked for Intrepido LTD for a film on 17/03/04?
### Context:
CREATE TABLE table_name_35 (writer_s_ VARCHAR, recipient VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT writer_s_ FROM table_name_35 WHERE recipient = "intrepido ltd" AND date = "17/03/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:
On which day did the person who is known for the only way is essex star enter?
### Context:
CREATE TABLE table_name_42 (entered VARCHAR, known_for VARCHAR)
### Response:
### Response:
SELECT entered FROM table_name_42 WHERE known_for = "the only way is essex star"</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 that also has a save of Smith (26)?
### Context:
CREATE TABLE table_name_53 (opponent VARCHAR, save VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_53 WHERE save = "smith (26)"</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 the 1948-49 season, what was the At Home record?
### Context:
CREATE TABLE table_name_31 (home VARCHAR, season VARCHAR)
### Response:
### Response:
SELECT home FROM table_name_31 WHERE season = "1948-49"</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 usual attendance for july 2?
### Context:
CREATE TABLE table_name_6 (attendance INTEGER, date VARCHAR)
### Response:
### Response:
SELECT AVG(attendance) FROM table_name_6 WHERE date = "july 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:
Name the result for glenn thompson
### Context:
CREATE TABLE table_25030512_41 (result VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT result FROM table_25030512_41 WHERE incumbent = "Glenn Thompson"</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 league cups for total more than 19 and FA cups more than 6
### Context:
CREATE TABLE table_name_38 (league_cup INTEGER, total VARCHAR, fa_cup VARCHAR)
### Response:
### Response:
SELECT MAX(league_cup) FROM table_name_38 WHERE total > 19 AND fa_cup > 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 time was the kickoff on week 5?
### Context:
CREATE TABLE table_name_60 (kickoff_ VARCHAR, a_ VARCHAR, week VARCHAR)
### Response:
### Response:
SELECT kickoff_[a_] FROM table_name_60 WHERE week = "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 Jockey, when Winner is Alke?
### Context:
CREATE TABLE table_name_10 (jockey VARCHAR, winner VARCHAR)
### Response:
### Response:
SELECT jockey FROM table_name_10 WHERE winner = "alke"</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 number of touchdowns for left halfback WIllie Heston who has more than 15 points?
### Context:
CREATE TABLE table_name_74 (touchdowns INTEGER, points VARCHAR, position VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT MIN(touchdowns) FROM table_name_74 WHERE position = "left halfback" AND player = "willie heston" AND points > 15</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 total medals received by Roland Hayes School when there were 0 gold medals?
### Context:
CREATE TABLE table_name_99 (total_medals INTEGER, gold_medals VARCHAR, ensemble VARCHAR)
### Response:
### Response:
SELECT AVG(total_medals) FROM table_name_99 WHERE gold_medals = 0 AND ensemble = "roland hayes school"</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 nationality has a position of left wing, and a round greater than 4, with mattia baldi as the player?
### Context:
CREATE TABLE table_name_75 (nationality VARCHAR, player VARCHAR, position VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT nationality FROM table_name_75 WHERE position = "left wing" AND round > 4 AND player = "mattia baldi"</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 time/retired for a grid less than 19, under 21 laps, and made by aprilia?
### Context:
CREATE TABLE table_name_38 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR, manufacturer VARCHAR)
### Response:
### Response:
SELECT time_retired FROM table_name_38 WHERE grid < 19 AND manufacturer = "aprilia" AND laps < 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 television service are in italian and n°is greater than 856.0?
### Context:
CREATE TABLE table_15887683_15 (television_service VARCHAR, language VARCHAR, n° VARCHAR)
### Response:
### Response:
SELECT television_service FROM table_15887683_15 WHERE language = "Italian" AND n° > 856.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 was the court surface on year 1971?
### Context:
CREATE TABLE table_2112025_3 (surface VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT surface FROM table_2112025_3 WHERE year = 1971</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 attendance on August 23?
### Context:
CREATE TABLE table_name_77 (attendance VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT COUNT(attendance) FROM table_name_77 WHERE date = "august 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 is the total of q > 1.4 when q > 1.3 is 455, and q >1.2 is less than 3,028?
### Context:
CREATE TABLE table_name_51 (q_ INTEGER)
### Response:
### Response:
SELECT SUM(q_) > _1.4 FROM table_name_51 WHERE q_ > _1.3 = 455 AND q_ > _1.2 < 3 OFFSET 028</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:
Artist Justinas Lapatinskas with a draw of greater than 9 got what as the highest televote?
### Context:
CREATE TABLE table_name_64 (televote INTEGER, artist VARCHAR, draw VARCHAR)
### Response:
### Response:
SELECT MAX(televote) FROM table_name_64 WHERE artist = "justinas lapatinskas" AND draw > 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:
what is the minimum position with 31 points?
### Context:
CREATE TABLE table_27781212_1 (position INTEGER, points VARCHAR)
### Response:
### Response:
SELECT MIN(position) FROM table_27781212_1 WHERE points = 31</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 ROUND FOR JAMIE ARNIEL?
### Context:
CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT COUNT(round) FROM table_name_23 WHERE player = "jamie arniel"</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 National team has a Club of arsenal, and Apps smaller than 4, and a Year of 2010?
### Context:
CREATE TABLE table_name_95 (national_team VARCHAR, year VARCHAR, club VARCHAR, apps VARCHAR)
### Response:
### Response:
SELECT national_team FROM table_name_95 WHERE club = "arsenal" AND apps < 4 AND year = "2010"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.