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 are the years for the 250 model? ### Context: CREATE TABLE table_name_97 (years VARCHAR, model VARCHAR) ### Response: ### Response: SELECT years FROM table_name_97 WHERE model = "250"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the total number of rounds of the player with a pick of 20? ### Context: CREATE TABLE table_name_87 (round VARCHAR, pick VARCHAR) ### Response: ### Response: SELECT COUNT(round) FROM table_name_87 WHERE pick = 20</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 locations have a median household income in 2011 of $71,479? ### Context: CREATE TABLE table_19283806_4 (location VARCHAR, median_household_income__2011_ VARCHAR) ### Response: ### Response: SELECT COUNT(location) FROM table_19283806_4 WHERE median_household_income__2011_ = "$71,479"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 you're a major general in the US air force then what ranking will you receive in the commonwealth's air force? ### Context: CREATE TABLE table_1015521_2 (commonwealth_equivalent VARCHAR, us_air_force_equivalent VARCHAR) ### Response: ### Response: SELECT commonwealth_equivalent FROM table_1015521_2 WHERE us_air_force_equivalent = "Major General"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 are all of the telecom providers for which the upload rate is 1024 kbits and the resale category is yes? ### Context: CREATE TABLE table_1773908_3 (provider VARCHAR, up__up_to_kbit_s_ VARCHAR, resale VARCHAR) ### Response: ### Response: SELECT provider FROM table_1773908_3 WHERE up__up_to_kbit_s_ = 1024 AND resale = "yes"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the result in 2008? ### Context: CREATE TABLE table_name_99 (result VARCHAR, year VARCHAR) ### Response: ### Response: SELECT result FROM table_name_99 WHERE year = "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: Which Win/Lose Percentage has Champs larger than 0, and a Draw larger than 3? ### Context: CREATE TABLE table_name_92 (win_lose_percentage VARCHAR, champs VARCHAR, draw VARCHAR) ### Response: ### Response: SELECT win_lose_percentage FROM table_name_92 WHERE champs > 0 AND draw > 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 Player's Score is 69-71-69=208? ### Context: CREATE TABLE table_name_88 (player VARCHAR, score VARCHAR) ### Response: ### Response: SELECT player FROM table_name_88 WHERE score = 69 - 71 - 69 = 208</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 party was the winner in the district Maryland 6? ### Context: CREATE TABLE table_1341453_22 (party VARCHAR, district VARCHAR) ### Response: ### Response: SELECT party FROM table_1341453_22 WHERE district = "Maryland 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 venue hosted in 2005 and had a Notes of men individual 9.84km? ### Context: CREATE TABLE table_name_83 (venue VARCHAR, year VARCHAR, notes VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_83 WHERE year = 2005 AND notes = "men individual 9.84km"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 class of the translator with 10 ERP W and a call sign of w273bl? ### Context: CREATE TABLE table_name_57 (class VARCHAR, erp_w VARCHAR, call_sign VARCHAR) ### Response: ### Response: SELECT class FROM table_name_57 WHERE erp_w = 10 AND call_sign = "w273bl"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Cache with a Capacity that is 600 gb? ### Context: CREATE TABLE table_name_59 (cache VARCHAR, capacity VARCHAR) ### Response: ### Response: SELECT cache FROM table_name_59 WHERE capacity = "600 gb"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 game with a 1-0 record, and the Hornets scored more than 100? ### Context: CREATE TABLE table_name_32 (game INTEGER, record VARCHAR, hornets_score VARCHAR) ### Response: ### Response: SELECT MAX(game) FROM table_name_32 WHERE record = "1-0" AND hornets_score > 100</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 swimsuit score for the one who had a semifinal average of 8.759 (5)? ### Context: CREATE TABLE table_16323766_3 (swimsuit VARCHAR, semifinal_average VARCHAR) ### Response: ### Response: SELECT swimsuit FROM table_16323766_3 WHERE semifinal_average = "8.759 (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: Name the package/option for number being 543 ### Context: CREATE TABLE table_15887683_8 (package_option VARCHAR, n° VARCHAR) ### Response: ### Response: SELECT package_option FROM table_15887683_8 WHERE n° = 543</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 record when the score was l 84–96 (ot)? ### Context: CREATE TABLE table_27723228_8 (record VARCHAR, score VARCHAR) ### Response: ### Response: SELECT record FROM table_27723228_8 WHERE score = "L 84–96 (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 Result, when Venue is Götzis , Austria? ### Context: CREATE TABLE table_name_77 (result VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT result FROM table_name_77 WHERE venue = "götzis , austria"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Eruptions have a Location of pacific ring of fire, and a Volcanic Explosivity Index of 6, and a Country of peru? ### Context: CREATE TABLE table_name_51 (eruptions VARCHAR, country VARCHAR, location VARCHAR, volcanic_explosivity_index VARCHAR) ### Response: ### Response: SELECT eruptions FROM table_name_51 WHERE location = "pacific ring of fire" AND volcanic_explosivity_index = "6" AND country = "peru"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of others votes in Columbia county? ### Context: CREATE TABLE table_20693870_1 (others_number INTEGER, county VARCHAR) ### Response: ### Response: SELECT MIN(others_number) FROM table_20693870_1 WHERE county = "Columbia"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was the game that the Indianapolis Colts lost 24-14? ### Context: CREATE TABLE table_name_23 (location VARCHAR, loser VARCHAR, result VARCHAR) ### Response: ### Response: SELECT location FROM table_name_23 WHERE loser = "indianapolis colts" AND result = "24-14"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: On July 26, 1977, what competition played at the venue of Kuala Lumpur, resulted in 4-0? ### Context: CREATE TABLE table_name_89 (competition VARCHAR, date VARCHAR, venue VARCHAR, result VARCHAR) ### Response: ### Response: SELECT competition FROM table_name_89 WHERE venue = "kuala lumpur" AND result = "4-0" AND date = "july 26, 1977"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average spectators for 2006-06-21 and time more than 21 ### Context: CREATE TABLE table_name_56 (spectators INTEGER, date VARCHAR, time_cet_ VARCHAR) ### Response: ### Response: SELECT AVG(spectators) FROM table_name_56 WHERE date = "2006-06-21" AND time_cet_ > 21</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What race has a finish time of 10? ### Context: CREATE TABLE table_name_78 (start VARCHAR, finish VARCHAR) ### Response: ### Response: SELECT start FROM table_name_78 WHERE finish = "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 was the latest release date for Ariola in Spain? ### Context: CREATE TABLE table_name_3 (release_date INTEGER, label VARCHAR, country VARCHAR) ### Response: ### Response: SELECT MAX(release_date) FROM table_name_3 WHERE label = "ariola" AND country = "spain"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 game that had a visiting team of Edmonton? ### Context: CREATE TABLE table_name_93 (score VARCHAR, visitor VARCHAR) ### Response: ### Response: SELECT score FROM table_name_93 WHERE visitor = "edmonton"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Period with # found of 5? ### Context: CREATE TABLE table_name_81 (period VARCHAR, _number_found VARCHAR) ### Response: ### Response: SELECT period FROM table_name_81 WHERE _number_found = "5"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the Overall Record for the School in Milford? ### Context: CREATE TABLE table_name_28 (overall_record VARCHAR, school VARCHAR) ### Response: ### Response: SELECT overall_record FROM table_name_28 WHERE school = "milford"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 scored the most points against Washington? ### Context: CREATE TABLE table_15780049_5 (high_points VARCHAR, team VARCHAR) ### Response: ### Response: SELECT high_points FROM table_15780049_5 WHERE team = "Washington"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was runner-up at Bergisch Gladbach in 1983? ### Context: CREATE TABLE table_name_2 (runners_up VARCHAR, venue VARCHAR, year VARCHAR) ### Response: ### Response: SELECT runners_up FROM table_name_2 WHERE venue = "bergisch gladbach" AND year = "1983"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of FCWC in the Years of 1958–1965, and an ICFC smaller than 11? ### Context: CREATE TABLE table_name_38 (fcwc INTEGER, years VARCHAR, icfc VARCHAR) ### Response: ### Response: SELECT MAX(fcwc) FROM table_name_38 WHERE years = "1958–1965" AND icfc < 11</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many Points have Drawn of 7, and a Team of corinthians, and a Played larger than 18? ### Context: CREATE TABLE table_name_72 (points VARCHAR, played VARCHAR, drawn VARCHAR, team VARCHAR) ### Response: ### Response: SELECT COUNT(points) FROM table_name_72 WHERE drawn = 7 AND team = "corinthians" AND played > 18</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 result week 1? ### Context: CREATE TABLE table_name_2 (result VARCHAR, week VARCHAR) ### Response: ### Response: SELECT result FROM table_name_2 WHERE week = 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: Name for the high rebounds when score is w 105–91 (ot) ### Context: CREATE TABLE table_15780718_6 (high_rebounds VARCHAR, score VARCHAR) ### Response: ### Response: SELECT high_rebounds FROM table_15780718_6 WHERE score = "W 105–91 (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: Which team has the high points of Raymond Felton (26)? ### Context: CREATE TABLE table_name_30 (team VARCHAR, high_points VARCHAR) ### Response: ### Response: SELECT team FROM table_name_30 WHERE high_points = "raymond felton (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: What is the team 1 in the match with a team 2 of Karabakh? ### Context: CREATE TABLE table_name_20 (team_1 VARCHAR, team_2 VARCHAR) ### Response: ### Response: SELECT team_1 FROM table_name_20 WHERE team_2 = "karabakh"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 party for new york 20? ### Context: CREATE TABLE table_1342233_32 (party VARCHAR, district VARCHAR) ### Response: ### Response: SELECT party FROM table_1342233_32 WHERE district = "New York 20"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Apps listing for Paul Wilson? ### Context: CREATE TABLE table_name_78 (total_apps VARCHAR, name VARCHAR) ### Response: ### Response: SELECT total_apps FROM table_name_78 WHERE name = "paul wilson"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Evening Gown scores where the swimsuit score is higher than 9.4 and the average score is lower than 9.733? ### Context: CREATE TABLE table_name_88 (evening_gown INTEGER, swimsuit VARCHAR, average VARCHAR) ### Response: ### Response: SELECT SUM(evening_gown) FROM table_name_88 WHERE swimsuit > 9.4 AND average < 9.733</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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, and a Surface of clay, and a Score of 6–4, 6–1? ### Context: CREATE TABLE table_name_23 (tournament VARCHAR, score VARCHAR, outcome VARCHAR, surface VARCHAR) ### Response: ### Response: SELECT tournament FROM table_name_23 WHERE outcome = "winner" AND surface = "clay" AND score = "6–4, 6–1"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what is the most games lost when there were 0 draws? ### Context: CREATE TABLE table_name_15 (lost INTEGER, drawn INTEGER) ### Response: ### Response: SELECT MAX(lost) FROM table_name_15 WHERE drawn < 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 are the endings of examples achilles, appendices, fæces ### Context: CREATE TABLE table_17798093_20 (ending VARCHAR, examples VARCHAR) ### Response: ### Response: SELECT ending FROM table_17798093_20 WHERE examples = "Achilles, appendices, fæces"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 save of the game with rice as the opponent? ### Context: CREATE TABLE table_name_49 (save VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT save FROM table_name_49 WHERE opponent = "rice"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 locaction of the Evans test blast? ### Context: CREATE TABLE table_name_64 (location VARCHAR, name VARCHAR) ### Response: ### Response: SELECT location FROM table_name_64 WHERE name = "evans"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Lost that's got Points larger than 28, Draw of 5, and Place that's smaller than 1? ### Context: CREATE TABLE table_name_69 (lost INTEGER, place VARCHAR, points VARCHAR, draw VARCHAR) ### Response: ### Response: SELECT SUM(lost) FROM table_name_69 WHERE points > 28 AND draw = 5 AND place < 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: Who is in class during 1995-96? ### Context: CREATE TABLE table_15315103_1 (class_aAAAA VARCHAR, school_year VARCHAR) ### Response: ### Response: SELECT class_aAAAA FROM table_15315103_1 WHERE school_year = "1995-96"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 toronto is the hometown how many height measurements are there? ### Context: CREATE TABLE table_18618707_1 (height VARCHAR, hometown VARCHAR) ### Response: ### Response: SELECT COUNT(height) FROM table_18618707_1 WHERE hometown = "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: Who published in Italian with a page size of 8 inches (20cm) x 5.4 inches (14cm)? ### Context: CREATE TABLE table_name_5 (edition_publisher VARCHAR, language VARCHAR, page_size VARCHAR) ### Response: ### Response: SELECT edition_publisher FROM table_name_5 WHERE language = "italian" AND page_size = "8 inches (20cm) x 5.4 inches (14cm)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 match values have points under 14 and 0 draws? ### Context: CREATE TABLE table_name_23 (match VARCHAR, points VARCHAR, draw VARCHAR) ### Response: ### Response: SELECT COUNT(match) FROM table_name_23 WHERE points < 14 AND draw < 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: Which tie did Huddersfield Town play as an away team? ### Context: CREATE TABLE table_name_87 (tie_no VARCHAR, away_team VARCHAR) ### Response: ### Response: SELECT tie_no FROM table_name_87 WHERE away_team = "huddersfield town"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a Type of tko, and an Opponent of jesse brinkley ### Context: CREATE TABLE table_name_53 (date VARCHAR, type VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT date FROM table_name_53 WHERE type = "tko" AND opponent = "jesse brinkley"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 speed of roller coasters? ### Context: CREATE TABLE roller_coaster (Speed INTEGER) ### Response: ### Response: SELECT AVG(Speed) FROM roller_coaster</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 date of death entry in the row that has a date of inauguration entry of date of inauguration? ### Context: CREATE TABLE table_name_76 (date_of_death VARCHAR, date_of_inauguration VARCHAR) ### Response: ### Response: SELECT date_of_death FROM table_name_76 WHERE date_of_inauguration = "date of inauguration"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number 4's title? ### Context: CREATE TABLE table_name_36 (title VARCHAR, number VARCHAR) ### Response: ### Response: SELECT title FROM table_name_36 WHERE number = 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: Which location has an elevation of 3798? ### Context: CREATE TABLE table_2731431_1 (location VARCHAR, elevation__m_ VARCHAR) ### Response: ### Response: SELECT location FROM table_2731431_1 WHERE elevation__m_ = 3798</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Nickname has an Enrollment smaller than 501, and a Location of clarkesville? ### Context: CREATE TABLE table_name_37 (nickname VARCHAR, enrollment VARCHAR, location VARCHAR) ### Response: ### Response: SELECT nickname FROM table_name_37 WHERE enrollment < 501 AND location = "clarkesville"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Position has a Round smaller than 8, a Pick of 20, and an Overall smaller than 186? ### Context: CREATE TABLE table_name_17 (position VARCHAR, overall VARCHAR, round VARCHAR, pick VARCHAR) ### Response: ### Response: SELECT position FROM table_name_17 WHERE round < 8 AND pick = 20 AND overall < 186</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Surface has a Semifinalist of stefan edberg thomas muster? ### Context: CREATE TABLE table_name_98 (surface VARCHAR, semifinalists VARCHAR) ### Response: ### Response: SELECT surface FROM table_name_98 WHERE semifinalists = "stefan edberg thomas muster"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 countries does the Rock come from? ### Context: CREATE TABLE table_2305948_1 (country VARCHAR, name VARCHAR) ### Response: ### Response: SELECT COUNT(country) FROM table_2305948_1 WHERE name = "The Rock"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2006 is 3r? ### Context: CREATE TABLE table_name_24 (Id VARCHAR) ### Response: ### Response: SELECT 2010 FROM table_name_24 WHERE 2006 = "3r"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2nd leg score for the match with Lesotho as team 1? ### Context: CREATE TABLE table_name_82 (team_1 VARCHAR) ### Response: ### Response: SELECT 2 AS nd_leg FROM table_name_82 WHERE team_1 = "lesotho"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Cover model when the Centerfold Model was Marketa Janska? ### Context: CREATE TABLE table_name_43 (cover_model VARCHAR, centerfold_model VARCHAR) ### Response: ### Response: SELECT cover_model FROM table_name_43 WHERE centerfold_model = "marketa janska"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 day did they play the New Orleans Saints? ### Context: CREATE TABLE table_name_35 (date VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT date FROM table_name_35 WHERE opponent = "new orleans saints"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 opposing team when a Loss was listed with Lowe (1-4)? ### Context: CREATE TABLE table_name_63 (opponent VARCHAR, loss VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_63 WHERE loss = "lowe (1-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 English name of the county called 太湖县 / 太湖縣 in Chinese? ### Context: CREATE TABLE table_1976898_1 (english_name VARCHAR, chinese_name__simplified___traditional_ VARCHAR) ### Response: ### Response: SELECT english_name FROM table_1976898_1 WHERE chinese_name__simplified___traditional_ = "太湖县 / 太湖縣"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 high lap total for françois cevert? ### Context: CREATE TABLE table_name_71 (laps INTEGER, driver VARCHAR) ### Response: ### Response: SELECT MAX(laps) FROM table_name_71 WHERE driver = "françois cevert"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: tries against is 29, what is the points against? ### Context: CREATE TABLE table_name_97 (points_against VARCHAR, tries_against VARCHAR) ### Response: ### Response: SELECT points_against FROM table_name_97 WHERE tries_against = "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: who is the the candidates with district being mississippi 4 ### Context: CREATE TABLE table_1342379_23 (candidates VARCHAR, district VARCHAR) ### Response: ### Response: SELECT candidates FROM table_1342379_23 WHERE district = "Mississippi 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 the air dates of the show in ABS-CBN? ### Context: CREATE TABLE table_27487310_5 (air_dates VARCHAR, network VARCHAR) ### Response: ### Response: SELECT air_dates FROM table_27487310_5 WHERE network = "ABS-CBN"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was set by walter brennan before 1941? ### Context: CREATE TABLE table_name_30 (record_set VARCHAR, actor VARCHAR, year VARCHAR) ### Response: ### Response: SELECT record_set FROM table_name_30 WHERE actor = "walter brennan" AND year < 1941</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 goals for value with fewer than 5 draws and under 70 points? ### Context: CREATE TABLE table_name_88 (goals_for INTEGER, draw VARCHAR, points VARCHAR) ### Response: ### Response: SELECT MIN(goals_for) FROM table_name_88 WHERE draw < 5 AND points < 70</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 session had a discipline of open wheel? ### Context: CREATE TABLE table_name_96 (session VARCHAR, discipline VARCHAR) ### Response: ### Response: SELECT session FROM table_name_96 WHERE discipline = "open wheel"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 names that had a finalist score of 2? ### Context: CREATE TABLE table_14286908_1 (school VARCHAR, finalists VARCHAR) ### Response: ### Response: SELECT school FROM table_14286908_1 WHERE finalists = 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: How far is the olbia to sassari route? ### Context: CREATE TABLE table_name_99 (distance VARCHAR, course VARCHAR) ### Response: ### Response: SELECT distance FROM table_name_99 WHERE course = "olbia to sassari"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 championship that has 1 as the league cup, and 17 as the total? ### Context: CREATE TABLE table_name_85 (championship INTEGER, league_cup VARCHAR, total VARCHAR) ### Response: ### Response: SELECT MAX(championship) FROM table_name_85 WHERE league_cup = 1 AND total = "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: Name the lms number for serial number being 372 ### Context: CREATE TABLE table_20236726_2 (lms_no VARCHAR, serial_no VARCHAR) ### Response: ### Response: SELECT lms_no FROM table_20236726_2 WHERE serial_no = 372</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 game that was a loss to Dotson (2-3)? ### Context: CREATE TABLE table_name_34 (score VARCHAR, loss VARCHAR) ### Response: ### Response: SELECT score FROM table_name_34 WHERE loss = "dotson (2-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: On what week were there 26,243 in attendance on September 21, 1969? ### Context: CREATE TABLE table_name_51 (week VARCHAR, date VARCHAR, attendance VARCHAR) ### Response: ### Response: SELECT COUNT(week) FROM table_name_51 WHERE date = "september 21, 1969" AND attendance < 26 OFFSET 243</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 maximum number of pinorinol in wheat bran? ### Context: CREATE TABLE table_1831262_2 (pinoresinol INTEGER, foodstuff VARCHAR) ### Response: ### Response: SELECT MAX(pinoresinol) FROM table_1831262_2 WHERE foodstuff = "Wheat bran"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 class for 4th position with year before 2006 ### Context: CREATE TABLE table_name_67 (class VARCHAR, pos VARCHAR, year VARCHAR) ### Response: ### Response: SELECT class FROM table_name_67 WHERE pos = "4th" AND year < 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: Show the Color which has a Thai name of วันพฤหัสบดี? ### Context: CREATE TABLE table_name_19 (color VARCHAR, thai_name VARCHAR) ### Response: ### Response: SELECT color FROM table_name_19 WHERE thai_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: What is Tatyana Gubina's Weight? ### Context: CREATE TABLE table_name_43 (weight VARCHAR, name VARCHAR) ### Response: ### Response: SELECT weight FROM table_name_43 WHERE name = "tatyana gubina"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 date for XLLP 369? ### Context: CREATE TABLE table_name_12 (date VARCHAR, catalog VARCHAR) ### Response: ### Response: SELECT date FROM table_name_12 WHERE catalog = "xllp 369"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 year of the montreal expos? ### Context: CREATE TABLE table_name_14 (year INTEGER, team VARCHAR) ### Response: ### Response: SELECT AVG(year) FROM table_name_14 WHERE team = "montreal expos"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was the location that had game 19? ### Context: CREATE TABLE table_27756314_7 (location_attendance VARCHAR, game VARCHAR) ### Response: ### Response: SELECT location_attendance FROM table_27756314_7 WHERE game = 19</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Find the average age of students who live in the city with code "NYC" and have secretary votes in the spring election cycle. ### Context: CREATE TABLE STUDENT (Age INTEGER, StuID VARCHAR, city_code VARCHAR); CREATE TABLE VOTING_RECORD (Election_Cycle VARCHAR) ### Response: ### Response: SELECT AVG(T1.Age) FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = SECRETARY_Vote WHERE T1.city_code = "NYC" AND T2.Election_Cycle = "Spring"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: After 1961, who as the Entrant when the engine was a Ferrari v8, and when the points were lower than 23? ### Context: CREATE TABLE table_name_64 (entrant VARCHAR, points VARCHAR, year VARCHAR, engine VARCHAR) ### Response: ### Response: SELECT entrant FROM table_name_64 WHERE year > 1961 AND engine = "ferrari v8" AND points < 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 sum of game has an attendance of 18,690? ### Context: CREATE TABLE table_name_40 (game INTEGER, attendance VARCHAR) ### Response: ### Response: SELECT SUM(game) FROM table_name_40 WHERE attendance = 18 OFFSET 690</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 HDTV status of the r-light television service? ### Context: CREATE TABLE table_name_12 (hdtv VARCHAR, television_service VARCHAR) ### Response: ### Response: SELECT hdtv FROM table_name_12 WHERE television_service = "r-light"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Score of 3–2, and a Opponent of reds had what sum of attendance? ### Context: CREATE TABLE table_name_21 (attendance INTEGER, score VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT SUM(attendance) FROM table_name_21 WHERE score = "3–2" AND opponent = "reds"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of bronzes for teams ranked number 7 with more than 0 silver? ### Context: CREATE TABLE table_name_77 (bronze INTEGER, silver VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT MAX(bronze) FROM table_name_77 WHERE silver > 0 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: What is Season, when Name is Tony Boy Espinosa? ### Context: CREATE TABLE table_name_57 (season VARCHAR, name VARCHAR) ### Response: ### Response: SELECT season FROM table_name_57 WHERE name = "tony boy espinosa"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 that got 5.95 million U.S. viewers? ### Context: CREATE TABLE table_28760804_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) ### Response: ### Response: SELECT written_by FROM table_28760804_1 WHERE us_viewers__million_ = "5.95"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the average overall pick number for the USF player who was picked after round 5? ### Context: CREATE TABLE table_name_23 (overall INTEGER, college VARCHAR, round VARCHAR) ### Response: ### Response: SELECT AVG(overall) FROM table_name_23 WHERE college = "usf" AND 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 week that shows a game record of 0–1? ### Context: CREATE TABLE table_name_94 (week INTEGER, record VARCHAR) ### Response: ### Response: SELECT AVG(week) FROM table_name_94 WHERE record = "0–1"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the genre of Super Mario Galaxy? ### Context: CREATE TABLE table_name_50 (genre VARCHAR, game VARCHAR) ### Response: ### Response: SELECT genre FROM table_name_50 WHERE game = "super mario galaxy"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 season has a .354 Win%? ### Context: CREATE TABLE table_name_6 (season VARCHAR, win_percentage VARCHAR) ### Response: ### Response: SELECT season FROM table_name_6 WHERE win_percentage = ".354"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode 12 in season 3? ### Context: CREATE TABLE table_16581695_4 (directed_by VARCHAR, no_in_season VARCHAR) ### Response: ### Response: SELECT directed_by FROM table_16581695_4 WHERE no_in_season = "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: Who is the artist of the Seattle Seahawks track? ### Context: CREATE TABLE table_name_39 (artist_s_ VARCHAR, team_s_ VARCHAR) ### Response: ### Response: SELECT artist_s_ FROM table_name_39 WHERE team_s_ = "seattle seahawks"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the score when stefan edberg won after 1978? ### Context: CREATE TABLE table_name_68 (score VARCHAR, year VARCHAR, champion VARCHAR) ### Response: ### Response: SELECT score FROM table_name_68 WHERE year > 1978 AND champion = "stefan edberg"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 percentage in 1980 in Brooklyn? ### Context: CREATE TABLE table_name_70 (borough VARCHAR) ### Response: ### Response: SELECT MIN(1980) FROM table_name_70 WHERE borough = "brooklyn"</s>