inputs
stringlengths
400
1.34k
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the 2000 number when the 1989 is less than 54.9 in Arizona, New Mexico, and Utah? ### Context: CREATE TABLE table_name_94 (location VARCHAR) ### Response: ### Response: SELECT SUM(2000) FROM table_name_94 WHERE 1989 < 54.9 AND location = "arizona, new mexico, and utah"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the townlands that have exactly 131 acres. ### Context: CREATE TABLE table_30120761_1 (townland VARCHAR, area__acres__ VARCHAR) ### Response: ### Response: SELECT townland FROM table_30120761_1 WHERE area__acres__ = 131</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 position for british columbia ### Context: CREATE TABLE table_28059992_2 (position VARCHAR, college VARCHAR) ### Response: ### Response: SELECT position FROM table_28059992_2 WHERE college = "British 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: What was the outcome of the tournament with Akiko Yonemura as a partner on a hard surface? ### Context: CREATE TABLE table_name_18 (outcome VARCHAR, surface VARCHAR, partner VARCHAR) ### Response: ### Response: SELECT outcome FROM table_name_18 WHERE surface = "hard" AND partner = "akiko yonemura"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 interview number in Louisiana, and the swimsuit number is more than 9.1? ### Context: CREATE TABLE table_name_19 (interview VARCHAR, country VARCHAR, swimsuit VARCHAR) ### Response: ### Response: SELECT COUNT(interview) FROM table_name_19 WHERE country = "louisiana" AND swimsuit > 9.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 was the score for the game played in Alexander Memorial Coliseum when the record was 0-1? ### Context: CREATE TABLE table_name_32 (score VARCHAR, location_attendance VARCHAR, record VARCHAR) ### Response: ### Response: SELECT score FROM table_name_32 WHERE location_attendance = "alexander memorial coliseum" AND 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 highest number of draws with 14 points and less than 7 games? ### Context: CREATE TABLE table_name_39 (drawn INTEGER, points VARCHAR, games VARCHAR) ### Response: ### Response: SELECT MAX(drawn) FROM table_name_39 WHERE points = 14 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 was the result of Bridgeview, Illinois? ### Context: CREATE TABLE table_name_33 (result VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT result FROM table_name_33 WHERE venue = "bridgeview, illinois"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is every original air date for series# of 26? ### Context: CREATE TABLE table_26866205_1 (original_airdate VARCHAR, series__number VARCHAR) ### Response: ### Response: SELECT original_airdate FROM table_26866205_1 WHERE series__number = 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: How many golds for teams ranking below 7 with 3 bronze and less than 5 total medals? ### Context: CREATE TABLE table_name_79 (gold VARCHAR, total VARCHAR, bronze VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT COUNT(gold) FROM table_name_79 WHERE bronze = 3 AND rank > 7 AND total < 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 s7 4.0 tfsi quattro engine torque? ### Context: CREATE TABLE table_21154679_1 (torque VARCHAR, model VARCHAR) ### Response: ### Response: SELECT torque FROM table_21154679_1 WHERE model = "S7 4.0 TFSI quattro"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 artist was 2003? ### Context: CREATE TABLE table_name_32 (artist VARCHAR, year VARCHAR) ### Response: ### Response: SELECT artist FROM table_name_32 WHERE year = 2003</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 long did the match last in the Rings: Final Capture event? ### Context: CREATE TABLE table_name_80 (time VARCHAR, event VARCHAR) ### Response: ### Response: SELECT time FROM table_name_80 WHERE event = "rings: final capture"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 airing date for costume comedy that has 20 episodes? ### Context: CREATE TABLE table_name_91 (airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR) ### Response: ### Response: SELECT airing_date FROM table_name_91 WHERE number_of_episodes = 20 AND genre = "costume comedy"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the Maroons record was 11–4–1? ### Context: CREATE TABLE table_name_37 (opponent VARCHAR, record VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_37 WHERE record = "11–4–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: Which team's Head Coach is Steve Beever? ### Context: CREATE TABLE table_name_68 (team VARCHAR, head_coach VARCHAR) ### Response: ### Response: SELECT team FROM table_name_68 WHERE head_coach = "steve beever"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Wht did Mark O'Meara place when the to par was +2? ### Context: CREATE TABLE table_name_51 (place VARCHAR, to_par VARCHAR, player VARCHAR) ### Response: ### Response: SELECT place FROM table_name_51 WHERE to_par = "+2" AND player = "mark o'meara"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 trucks for scott neal ### Context: CREATE TABLE table_2187178_1 (truck_s_ VARCHAR, crew_chief VARCHAR) ### Response: ### Response: SELECT truck_s_ FROM table_2187178_1 WHERE crew_chief = "Scott Neal"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 vacancy happened on 4 November 2008? ### Context: CREATE TABLE table_18788823_5 (position_in_table VARCHAR, date_of_vacancy VARCHAR) ### Response: ### Response: SELECT position_in_table FROM table_18788823_5 WHERE date_of_vacancy = "4 November 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: Who has the most rebounds for game 42? ### Context: CREATE TABLE table_23285805_6 (high_rebounds VARCHAR, game VARCHAR) ### Response: ### Response: SELECT high_rebounds FROM table_23285805_6 WHERE game = 42</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 start record for player of Jeff Brehaut? ### Context: CREATE TABLE table_29504351_2 (starts INTEGER, player VARCHAR) ### Response: ### Response: SELECT MAX(starts) FROM table_29504351_2 WHERE player = "Jeff Brehaut"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Drawn has a Lost of 19? ### Context: CREATE TABLE table_name_61 (drawn VARCHAR, lost VARCHAR) ### Response: ### Response: SELECT drawn FROM table_name_61 WHERE lost = "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: Name the moving to with a transfer fee of free with a transfer status for rodri ### Context: CREATE TABLE table_name_24 (moving_to VARCHAR, name VARCHAR, transfer_fee VARCHAR, status VARCHAR) ### Response: ### Response: SELECT moving_to FROM table_name_24 WHERE transfer_fee = "free" AND status = "transfer" AND name = "rodri"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 highest cuts made when top 5 is less than 3 and top ten is more than 4 ### Context: CREATE TABLE table_name_99 (cuts_made INTEGER, top_5 VARCHAR, top_10 VARCHAR) ### Response: ### Response: SELECT MAX(cuts_made) FROM table_name_99 WHERE top_5 < 3 AND top_10 > 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 shipyard has a fleet that was laid down on April 21, 1962? ### Context: CREATE TABLE table_name_72 (shipyard VARCHAR, laid_down VARCHAR) ### Response: ### Response: SELECT shipyard FROM table_name_72 WHERE laid_down = "april 21, 1962"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the date with winner outcome and opponent of noppawan lertcheewakarn jessica moore ### Context: CREATE TABLE table_name_82 (date VARCHAR, outcome VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT date FROM table_name_82 WHERE outcome = "winner" AND opponent = "noppawan lertcheewakarn jessica moore"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 aircrafts with more than 1000 distance. ### Context: CREATE TABLE Aircraft (aid VARCHAR, distance INTEGER) ### Response: ### Response: SELECT aid FROM Aircraft WHERE distance > 1000</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 attendance when the record is 39–7? ### Context: CREATE TABLE table_27715173_8 (location_attendance VARCHAR, record VARCHAR) ### Response: ### Response: SELECT location_attendance FROM table_27715173_8 WHERE record = "39–7"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the state with the total electricity generated is 38380 gw-h? ### Context: CREATE TABLE table_25244412_2 (state VARCHAR, total_electricity__gw·h_ VARCHAR) ### Response: ### Response: SELECT state FROM table_25244412_2 WHERE total_electricity__gw·h_ = 38380</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 smallest week that had a result of t 17–17? ### Context: CREATE TABLE table_name_75 (week INTEGER, result VARCHAR) ### Response: ### Response: SELECT MIN(week) FROM table_name_75 WHERE result = "t 17–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: Race that has a Podium larger than 1, and a Season of 1982, and a flap smaller than 1 had how many number of races? ### Context: CREATE TABLE table_name_72 (race VARCHAR, flap VARCHAR, podium VARCHAR, season VARCHAR) ### Response: ### Response: SELECT COUNT(race) FROM table_name_72 WHERE podium > 1 AND season = "1982" AND flap < 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 average Lane where Belarus is the nationality? ### Context: CREATE TABLE table_name_57 (lane INTEGER, nationality VARCHAR) ### Response: ### Response: SELECT AVG(lane) FROM table_name_57 WHERE nationality = "belarus"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: In what place is Phil Mickelson? ### Context: CREATE TABLE table_name_65 (place VARCHAR, player VARCHAR) ### Response: ### Response: SELECT place FROM table_name_65 WHERE player = "phil mickelson"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 loss with save of || 23,391 ||17-18||? ### Context: CREATE TABLE table_name_86 (loss VARCHAR, save VARCHAR) ### Response: ### Response: SELECT loss FROM table_name_86 WHERE save = "|| 23,391 ||17-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 was the Year to Open for the Dandeung Bridge? ### Context: CREATE TABLE table_name_51 (year_to_open VARCHAR, name VARCHAR) ### Response: ### Response: SELECT COUNT(year_to_open) FROM table_name_51 WHERE name = "dandeung bridge"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the rank of the airport with the BKK/VTBS code? ### Context: CREATE TABLE table_name_60 (rank VARCHAR, code__iata_icao_ VARCHAR) ### Response: ### Response: SELECT rank FROM table_name_60 WHERE code__iata_icao_ = "bkk/vtbs"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 name of the animal whose length (AA) is 1323? ### Context: CREATE TABLE table_26957063_3 (common_name VARCHAR, length__aa_ VARCHAR) ### Response: ### Response: SELECT common_name FROM table_26957063_3 WHERE length__aa_ = 1323</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a place of T7 and is from the United States? ### Context: CREATE TABLE table_name_90 (player VARCHAR, place VARCHAR, country VARCHAR) ### Response: ### Response: SELECT player FROM table_name_90 WHERE place = "t7" AND country = "united states"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many total losses does the team have with an against of 2195 and the draws were greater than 0? ### Context: CREATE TABLE table_name_77 (losses VARCHAR, against VARCHAR, draws VARCHAR) ### Response: ### Response: SELECT COUNT(losses) FROM table_name_77 WHERE against = 2195 AND draws > 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 college did Jim Bennett attend? ### Context: CREATE TABLE table_26996293_1 (college VARCHAR, player VARCHAR) ### Response: ### Response: SELECT college FROM table_26996293_1 WHERE player = "Jim Bennett"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 annual output for Culligran power station with an Installed capacity less than 19? ### Context: CREATE TABLE table_name_12 (average_annual_output__million_kwh_ INTEGER, name VARCHAR, installed_capacity__megawatts_ VARCHAR) ### Response: ### Response: SELECT AVG(average_annual_output__million_kwh_) FROM table_name_12 WHERE name = "culligran" AND installed_capacity__megawatts_ < 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: What is the average height for hewitt class, with prom less than 86, and a Peak of gragareth? ### Context: CREATE TABLE table_name_45 (height__m_ INTEGER, peak VARCHAR, class VARCHAR, prom__m_ VARCHAR) ### Response: ### Response: SELECT AVG(height__m_) FROM table_name_45 WHERE class = "hewitt" AND prom__m_ < 86 AND peak = "gragareth"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 title's genre was jazz when it was nominated in 1996? ### Context: CREATE TABLE table_name_15 (title VARCHAR, year VARCHAR, genre VARCHAR, result VARCHAR) ### Response: ### Response: SELECT title FROM table_name_15 WHERE genre = "jazz" AND result = "nominated" AND year = "1996"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 engine is responsible for the USAC Championship Car? ### Context: CREATE TABLE table_name_72 (engine VARCHAR, series VARCHAR) ### Response: ### Response: SELECT engine FROM table_name_72 WHERE series = "usac championship car"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total apaps for txema ### Context: CREATE TABLE table_22542179_3 (total_apps INTEGER, player VARCHAR) ### Response: ### Response: SELECT MIN(total_apps) FROM table_22542179_3 WHERE player = "Txema"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 compression ration when the engine was Wasp Jr. T1B2? ### Context: CREATE TABLE table_1123802_1 (compression_ratio VARCHAR, engine VARCHAR) ### Response: ### Response: SELECT compression_ratio FROM table_1123802_1 WHERE engine = "Wasp Jr. T1B2"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for game 3? ### Context: CREATE TABLE table_27715173_6 (score VARCHAR, game VARCHAR) ### Response: ### Response: SELECT score FROM table_27715173_6 WHERE game = 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: How many cytoplasms result in a blue nucleus? ### Context: CREATE TABLE table_13570_1 (cytoplasm VARCHAR, nucleus VARCHAR) ### Response: ### Response: SELECT COUNT(cytoplasm) FROM table_13570_1 WHERE nucleus = "Blue"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of points with less than 1 draw and more than 11 losses for Ev Aich? ### Context: CREATE TABLE table_name_86 (points INTEGER, lost VARCHAR, drawn VARCHAR, name VARCHAR) ### Response: ### Response: SELECT AVG(points) FROM table_name_86 WHERE drawn < 1 AND name = "ev aich" AND lost > 11</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What average played has an against less than 15? ### Context: CREATE TABLE table_name_40 (played INTEGER, against INTEGER) ### Response: ### Response: SELECT AVG(played) FROM table_name_40 WHERE against < 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 is the time for Kazakhstan? ### Context: CREATE TABLE table_name_57 (time VARCHAR, country VARCHAR) ### Response: ### Response: SELECT time FROM table_name_57 WHERE country = "kazakhstan"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 A-side for it Never Entered My Mind, Part 2? ### Context: CREATE TABLE table_name_75 (a_side VARCHAR, b_side VARCHAR) ### Response: ### Response: SELECT a_side FROM table_name_75 WHERE b_side = "it never entered my mind, part 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 chassis of 147 points and engine of ford cosworth dfx ### Context: CREATE TABLE table_name_43 (chassis VARCHAR, points VARCHAR, engine VARCHAR) ### Response: ### Response: SELECT chassis FROM table_name_43 WHERE points = 147 AND engine = "ford cosworth dfx"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is listed at place 13 ### Context: CREATE TABLE table_1140103_6 (date VARCHAR, _number VARCHAR) ### Response: ### Response: SELECT date FROM table_1140103_6 WHERE _number = 13</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is every value for location attendance on date of November 18? ### Context: CREATE TABLE table_23248940_6 (location_attendance VARCHAR, date VARCHAR) ### Response: ### Response: SELECT location_attendance FROM table_23248940_6 WHERE date = "November 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: Gary Barnett who has been in 0 FA Cups plays what position? ### Context: CREATE TABLE table_name_7 (position VARCHAR, fa_cup_apps VARCHAR, name VARCHAR) ### Response: ### Response: SELECT position FROM table_name_7 WHERE fa_cup_apps = "0" AND name = "gary barnett"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number ### Context: CREATE TABLE table_24924576_2 (number INTEGER) ### Response: ### Response: SELECT MAX(number) FROM table_24924576_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: Who got the time of 7:52.04? ### Context: CREATE TABLE table_name_41 (swimmer VARCHAR, time VARCHAR) ### Response: ### Response: SELECT swimmer FROM table_name_41 WHERE time = "7:52.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: Name the drivers for chassis of season cancelled ### Context: CREATE TABLE table_name_88 (drivers VARCHAR, chassis VARCHAR) ### Response: ### Response: SELECT drivers FROM table_name_88 WHERE chassis = "season cancelled"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 nationality of the 2012 clausura tournament? ### Context: CREATE TABLE table_30083499_1 (nationality VARCHAR, tournament VARCHAR) ### Response: ### Response: SELECT nationality FROM table_30083499_1 WHERE tournament = "2012 Clausura"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 if the Tie no is 32? ### Context: CREATE TABLE table_name_99 (score VARCHAR, tie_no VARCHAR) ### Response: ### Response: SELECT score FROM table_name_99 WHERE tie_no = "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 team did the player represent that was picked after 196? ### Context: CREATE TABLE table_name_35 (nfl_club VARCHAR, pick INTEGER) ### Response: ### Response: SELECT nfl_club FROM table_name_35 WHERE pick > 196</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: In what week(s) did the Broncos go up against the Cleveland Browns? ### Context: CREATE TABLE table_name_99 (week INTEGER, opponent VARCHAR) ### Response: ### Response: SELECT SUM(week) FROM table_name_99 WHERE opponent = "cleveland browns"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 largest crowd at arden street oval? ### Context: CREATE TABLE table_name_87 (crowd INTEGER, venue VARCHAR) ### Response: ### Response: SELECT MAX(crowd) FROM table_name_87 WHERE venue = "arden street oval"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which countries in europe have at least 3 car manufacturers? ### Context: CREATE TABLE COUNTRIES (CountryName VARCHAR, Continent VARCHAR, CountryId VARCHAR); CREATE TABLE CONTINENTS (ContId VARCHAR, Continent VARCHAR); CREATE TABLE CAR_MAKERS (Country VARCHAR) ### Response: ### Response: SELECT T1.CountryName FROM COUNTRIES AS T1 JOIN CONTINENTS AS T2 ON T1.Continent = T2.ContId JOIN CAR_MAKERS AS T3 ON T1.CountryId = T3.Country WHERE T2.Continent = 'europe' GROUP BY T1.CountryName HAVING COUNT(*) >= 3</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the district for tim lee hall ### Context: CREATE TABLE table_1341672_14 (district VARCHAR, incumbent VARCHAR) ### Response: ### Response: SELECT district FROM table_1341672_14 WHERE incumbent = "Tim Lee Hall"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Opponent, when Location is "Winnipeg, Manitoba , Canada"? ### Context: CREATE TABLE table_name_27 (opponent VARCHAR, location VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_27 WHERE location = "winnipeg, manitoba , canada"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 after Week 7 at Tiger Stadium? ### Context: CREATE TABLE table_name_27 (attendance VARCHAR, game_site VARCHAR, week VARCHAR) ### Response: ### Response: SELECT COUNT(attendance) FROM table_name_27 WHERE game_site = "tiger stadium" AND week > 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 Builder, when Date is 1925? ### Context: CREATE TABLE table_name_21 (builder VARCHAR, date VARCHAR) ### Response: ### Response: SELECT builder FROM table_name_21 WHERE date = "1925"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Notes of the Country of finland? ### Context: CREATE TABLE table_name_16 (notes VARCHAR, country VARCHAR) ### Response: ### Response: SELECT notes FROM table_name_16 WHERE country = "finland"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 happened during the election for Richard M. Kleberg? ### Context: CREATE TABLE table_1342331_43 (result VARCHAR, incumbent VARCHAR) ### Response: ### Response: SELECT result FROM table_1342331_43 WHERE incumbent = "Richard M. Kleberg"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 member that has 12 chapters ### Context: CREATE TABLE table_10054296_1 (member VARCHAR, chapters VARCHAR) ### Response: ### Response: SELECT member FROM table_10054296_1 WHERE chapters = 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: Which Race has the Toyota Racing Series New Zealand and 0 wins? ### Context: CREATE TABLE table_name_99 (races VARCHAR, series VARCHAR, wins VARCHAR) ### Response: ### Response: SELECT races FROM table_name_99 WHERE series = "toyota racing series new zealand" AND wins = "0"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the mean huc example code when the example name's lower snake, there are 6 digits, and less than 3 levels? ### Context: CREATE TABLE table_name_35 (example_code__huc_ INTEGER, level VARCHAR, example_name VARCHAR, digits VARCHAR) ### Response: ### Response: SELECT AVG(example_code__huc_) FROM table_name_35 WHERE example_name = "lower snake" AND digits = 6 AND level < 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: When the mark is 7.35, what's the lowest Lane found? ### Context: CREATE TABLE table_name_32 (lane INTEGER, mark VARCHAR) ### Response: ### Response: SELECT MIN(lane) FROM table_name_32 WHERE mark = "7.35"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Nickname in the Competition of 1982-1994? ### Context: CREATE TABLE table_name_76 (nickname VARCHAR, years_in_competition VARCHAR) ### Response: ### Response: SELECT nickname FROM table_name_76 WHERE years_in_competition = "1982-1994"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 revenue for eps being 8.9 ### Context: CREATE TABLE table_18304259_1 (revenue__£million_ VARCHAR, earnings_per_share__p_ VARCHAR) ### Response: ### Response: SELECT revenue__£million_ FROM table_18304259_1 WHERE earnings_per_share__p_ = "8.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 2010 WITH 2012 OF 2R AT MIAMI MASTERS? ### Context: CREATE TABLE table_name_93 (tournament VARCHAR) ### Response: ### Response: SELECT 2010 FROM table_name_93 WHERE 2012 = "2r" AND tournament = "miami masters"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 TV Time of the game on December 27, 2003? ### Context: CREATE TABLE table_name_51 (tv_time VARCHAR, date VARCHAR) ### Response: ### Response: SELECT tv_time FROM table_name_51 WHERE date = "december 27, 2003"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ansi code for 609 population 2010 ### Context: CREATE TABLE table_18600760_1 (ansi_code INTEGER, pop__2010_ VARCHAR) ### Response: ### Response: SELECT MIN(ansi_code) FROM table_18600760_1 WHERE pop__2010_ = 609</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the scores of all games when Miami were listed as the first Semi finalist ### Context: CREATE TABLE table_11214772_2 (score VARCHAR, semi_finalist__number1 VARCHAR) ### Response: ### Response: SELECT score FROM table_11214772_2 WHERE semi_finalist__number1 = "Miami"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 city in the east region in North Carolina was the round where the University of Richmond was the host? ### Context: CREATE TABLE table_name_20 (city VARCHAR, host VARCHAR, region VARCHAR, state VARCHAR) ### Response: ### Response: SELECT city FROM table_name_20 WHERE region = "east" AND state = "north carolina" AND host = "university of richmond"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: From what school was the player drafted in round 3? ### Context: CREATE TABLE table_name_88 (school VARCHAR, round VARCHAR) ### Response: ### Response: SELECT school FROM table_name_88 WHERE round = 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 average operation beginning with a length of ampang and over 27 stations? ### Context: CREATE TABLE table_name_12 (began_operation INTEGER, length__km_ VARCHAR, stations VARCHAR) ### Response: ### Response: SELECT AVG(began_operation) FROM table_name_12 WHERE length__km_ = "ampang" AND stations > 27</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 podiums for season 2010 for campionato italiano superstars. ### Context: CREATE TABLE table_10420426_1 (podiums VARCHAR, season VARCHAR, series VARCHAR) ### Response: ### Response: SELECT COUNT(podiums) FROM table_10420426_1 WHERE season = "2010" AND series = "Campionato Italiano Superstars"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 city's IATA is KUL? ### Context: CREATE TABLE table_name_50 (city VARCHAR, iata VARCHAR) ### Response: ### Response: SELECT city FROM table_name_50 WHERE iata = "kul"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 school of the player from the College of Michigan? ### Context: CREATE TABLE table_name_35 (school VARCHAR, college VARCHAR) ### Response: ### Response: SELECT school FROM table_name_35 WHERE college = "michigan"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a reaction time of under 0.242 seconds and over 1041 points? ### Context: CREATE TABLE table_name_58 (country VARCHAR, react VARCHAR, points VARCHAR) ### Response: ### Response: SELECT country FROM table_name_58 WHERE react < 0.242 AND points > 1041</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ids of the problems which are reported after 1978-06-26? ### Context: CREATE TABLE problems (problem_id VARCHAR, date_problem_reported INTEGER) ### Response: ### Response: SELECT problem_id FROM problems WHERE date_problem_reported > "1978-06-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: The numbers 801-812 are in which country? ### Context: CREATE TABLE table_2351952_1 (country VARCHAR, numbers VARCHAR) ### Response: ### Response: SELECT country FROM table_2351952_1 WHERE numbers = "801-812"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Is it live or studio before 1983? ### Context: CREATE TABLE table_name_98 (live___studio VARCHAR, year INTEGER) ### Response: ### Response: SELECT live___studio FROM table_name_98 WHERE 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 name of the competition that ended with a score of 2-1? ### Context: CREATE TABLE table_name_90 (competition VARCHAR, score VARCHAR) ### Response: ### Response: SELECT competition FROM table_name_90 WHERE score = "2-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 team had average speed of 107.063 mph? ### Context: CREATE TABLE table_2241101_1 (team VARCHAR, average_speed__mph_ VARCHAR) ### Response: ### Response: SELECT team FROM table_2241101_1 WHERE average_speed__mph_ = "107.063"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 geohash length when the lat bits are less than 7, and the km error of ±2500? ### Context: CREATE TABLE table_name_94 (geohash_length INTEGER, lat_bits VARCHAR, km_error VARCHAR) ### Response: ### Response: SELECT MIN(geohash_length) FROM table_name_94 WHERE lat_bits < 7 AND km_error = "±2500"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 got high rebounds when Jordan Crawford (27) got high points? ### Context: CREATE TABLE table_27721131_10 (high_rebounds VARCHAR, high_points VARCHAR) ### Response: ### Response: SELECT high_rebounds FROM table_27721131_10 WHERE high_points = "Jordan Crawford (27)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 week 7 opponent for the year that had a week 12 opponent of Oregon State (7-3)? ### Context: CREATE TABLE table_name_29 (week_7_oct_12 VARCHAR, week_12_nov_16 VARCHAR) ### Response: ### Response: SELECT week_7_oct_12 FROM table_name_29 WHERE week_12_nov_16 = "oregon state (7-3)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who won when Jamie Green had the best lap? ### Context: CREATE TABLE table_21321935_2 (winning_driver VARCHAR, fastest_lap VARCHAR) ### Response: ### Response: SELECT winning_driver FROM table_21321935_2 WHERE fastest_lap = "Jamie Green"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 launch site for a satellite of GPS IIIA-2? ### Context: CREATE TABLE table_name_74 (launch_site VARCHAR, satellite VARCHAR) ### Response: ### Response: SELECT launch_site FROM table_name_74 WHERE satellite = "gps iiia-2"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the bleeding time in Bernard-soulier syndrome? ### Context: CREATE TABLE table_1557752_1 (bleeding_time VARCHAR, condition VARCHAR) ### Response: ### Response: SELECT bleeding_time FROM table_1557752_1 WHERE condition = "Bernard-Soulier syndrome"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 score in those games where the average is 9.88? ### Context: CREATE TABLE table_28547332_4 (highest_score INTEGER, average VARCHAR) ### Response: ### Response: SELECT MIN(highest_score) FROM table_28547332_4 WHERE average = "9.88"</s>