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: Who's the partner that played against Alicia Molik Mara Santangelo on clay? ### Context: CREATE TABLE table_name_7 (partner VARCHAR, surface VARCHAR, opponents_in_the_final VARCHAR) ### Response: ### Response: SELECT partner FROM table_name_7 WHERE surface = "clay" AND opponents_in_the_final = "alicia molik mara santangelo"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Nickname of the school established in 1773 ### Context: CREATE TABLE table_16432543_1 (nickname VARCHAR, established VARCHAR) ### Response: ### Response: SELECT nickname FROM table_16432543_1 WHERE established = 1773</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 El Nido? ### Context: CREATE TABLE table_10798928_1 (director VARCHAR, original_title VARCHAR) ### Response: ### Response: SELECT director FROM table_10798928_1 WHERE original_title = "El nido"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 was Jeld-Wen Tradition held? ### Context: CREATE TABLE table_15346009_1 (date VARCHAR, tournament VARCHAR) ### Response: ### Response: SELECT date FROM table_15346009_1 WHERE tournament = "JELD-WEN Tradition"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Winning Score, when Date is Jul 27, 1997? ### Context: CREATE TABLE table_name_53 (winning_score VARCHAR, date VARCHAR) ### Response: ### Response: SELECT winning_score FROM table_name_53 WHERE date = "jul 27, 1997"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Identifier, when City of License is Hornepayne? ### Context: CREATE TABLE table_name_55 (identifier VARCHAR, city_of_license VARCHAR) ### Response: ### Response: SELECT identifier FROM table_name_55 WHERE city_of_license = "hornepayne"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 of Essendon's score in the game where they were the home team? ### Context: CREATE TABLE table_name_92 (home_team VARCHAR) ### Response: ### Response: SELECT home_team AS score FROM table_name_92 WHERE home_team = "essendon"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many years did aivaras kvedarauskas juozas spelveris participate in the men's doubles? ### Context: CREATE TABLE table_15001753_1 (year VARCHAR, mens_doubles VARCHAR) ### Response: ### Response: SELECT COUNT(year) FROM table_15001753_1 WHERE mens_doubles = "Aivaras Kvedarauskas Juozas Spelveris"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: At what time is the site usf softball field • tampa, fl and w4-0 is the result? ### Context: CREATE TABLE table_22098274_1 (time VARCHAR, site VARCHAR, result VARCHAR) ### Response: ### Response: SELECT time FROM table_22098274_1 WHERE site = "USF Softball Field • Tampa, FL" AND result = "W4-0"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who was replaced by Lieve Wierinck? ### Context: CREATE TABLE table_name_18 (name VARCHAR, replacement VARCHAR) ### Response: ### Response: SELECT name FROM table_name_18 WHERE replacement = "lieve wierinck"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2006 is the year played and winter park is the fcsl team who is the player? ### Context: CREATE TABLE table_18373863_2 (player VARCHAR, fcsl_team VARCHAR, years_played VARCHAR) ### Response: ### Response: SELECT player FROM table_18373863_2 WHERE fcsl_team = "Winter Park" AND years_played = "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: When did the draw happen? ### Context: CREATE TABLE table_name_76 (date VARCHAR, result VARCHAR) ### Response: ### Response: SELECT date FROM table_name_76 WHERE result = "draw"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 title for 446913 ### Context: CREATE TABLE table_2409041_4 (title VARCHAR, production_code VARCHAR) ### Response: ### Response: SELECT title FROM table_2409041_4 WHERE production_code = 446913</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What year was Norterma Tholus created? ### Context: CREATE TABLE table_16799784_4 (year_named INTEGER, name VARCHAR) ### Response: ### Response: SELECT MAX(year_named) FROM table_16799784_4 WHERE name = "Norterma Tholus"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1st match for brisbane bears ### Context: CREATE TABLE table_name_61 (team VARCHAR) ### Response: ### Response: SELECT 1 AS st_match FROM table_name_61 WHERE team = "brisbane bears"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 highest total of Romania when the bronze was less than 2? ### Context: CREATE TABLE table_name_14 (total INTEGER, nation VARCHAR, bronze VARCHAR) ### Response: ### Response: SELECT MAX(total) FROM table_name_14 WHERE nation = "romania" AND bronze < 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 score did John Mahaffey have? ### Context: CREATE TABLE table_name_52 (score VARCHAR, player VARCHAR) ### Response: ### Response: SELECT score FROM table_name_52 WHERE player = "john mahaffey"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 version of the 1.0.12 release? ### Context: CREATE TABLE table_28540539_2 (version VARCHAR, release VARCHAR) ### Response: ### Response: SELECT version FROM table_28540539_2 WHERE release = "1.0.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: Let's say Type is of datasetcomplete, what is the Attribute? ### Context: CREATE TABLE table_name_62 (attribute VARCHAR, type VARCHAR) ### Response: ### Response: SELECT attribute FROM table_name_62 WHERE type = "datasetcomplete"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 player with a transfer window of summer and was moving to Kortrijk? ### Context: CREATE TABLE table_name_36 (name VARCHAR, transfer_window VARCHAR, moving_to VARCHAR) ### Response: ### Response: SELECT name FROM table_name_36 WHERE transfer_window = "summer" AND moving_to = "kortrijk"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 dietrich fischer-dieskau is the olivier who is the conductor? ### Context: CREATE TABLE table_29728787_1 (conductor VARCHAR, olivier VARCHAR) ### Response: ### Response: SELECT conductor FROM table_29728787_1 WHERE olivier = "Dietrich Fischer-Dieskau"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 names of pilots in ascending order of rank. ### Context: CREATE TABLE pilot (Pilot_name VARCHAR, Rank VARCHAR) ### Response: ### Response: SELECT Pilot_name FROM pilot ORDER BY Rank</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Runner-up in the Monroe County Sports Commission? ### Context: CREATE TABLE table_name_59 (runner_up VARCHAR, host VARCHAR) ### Response: ### Response: SELECT runner_up FROM table_name_59 WHERE host = "monroe county sports commission"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the away team's score at the game held at MCG? ### Context: CREATE TABLE table_name_44 (away_team VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT away_team AS score FROM table_name_44 WHERE venue = "mcg"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Can you tell me the Overall Record that has the Week of 3? ### Context: CREATE TABLE table_name_81 (overall_record VARCHAR, week VARCHAR) ### Response: ### Response: SELECT overall_record FROM table_name_81 WHERE week = 3</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which chassis had Rounds of 7, and an Entrant of Ecurie Rosier? ### Context: CREATE TABLE table_name_15 (chassis VARCHAR, rounds VARCHAR, entrant VARCHAR) ### Response: ### Response: SELECT chassis FROM table_name_15 WHERE rounds = "7" AND entrant = "ecurie rosier"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 names and number of works of all artists who have at least one English songs. ### Context: CREATE TABLE song (artist_name VARCHAR, languages VARCHAR); CREATE TABLE artist (artist_name VARCHAR) ### Response: ### Response: SELECT T1.artist_name, COUNT(*) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.languages = "english" GROUP BY T2.artist_name HAVING COUNT(*) >= 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: When was the railmotor made? ### Context: CREATE TABLE table_name_26 (date_made VARCHAR, type VARCHAR) ### Response: ### Response: SELECT date_made FROM table_name_26 WHERE type = "railmotor"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 much is the purse ( $ ) when the margin of victory is 1 stroke? ### Context: CREATE TABLE table_13388681_1 (purse___$__ VARCHAR, margin_of_victory VARCHAR) ### Response: ### Response: SELECT purse___$__ FROM table_13388681_1 WHERE margin_of_victory = "1 stroke"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 other [C] of 0 12 0 (0) belongs to what FA Cup? ### Context: CREATE TABLE table_name_36 (fa_cup VARCHAR, other_ VARCHAR, c_ VARCHAR) ### Response: ### Response: SELECT fa_cup FROM table_name_36 WHERE other_[c_] = "0 12 0 (0)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the date of appointment for the date of vacancy of 22 august 2010? ### Context: CREATE TABLE table_26976615_3 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR) ### Response: ### Response: SELECT date_of_appointment FROM table_26976615_3 WHERE date_of_vacancy = "22 August 2010"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is Place, when Score is "73-71=144", and when Player is "Scott Simpson"? ### Context: CREATE TABLE table_name_66 (place VARCHAR, player VARCHAR, score VARCHAR) ### Response: ### Response: SELECT place FROM table_name_66 WHERE score = 73 - 71 = 144 AND player = "scott simpson"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Virtual channel of 16.5 has what call sign? ### Context: CREATE TABLE table_name_23 (call_sign VARCHAR, virtual_channel VARCHAR) ### Response: ### Response: SELECT call_sign FROM table_name_23 WHERE virtual_channel = "16.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 venue was the tour match against eastern province played at with more than 0 against? ### Context: CREATE TABLE table_name_31 (venue VARCHAR, opposing_team VARCHAR, status VARCHAR, against VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_31 WHERE status = "tour match" AND against > 0 AND opposing_team = "eastern province"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who had highest points in game 5? ### Context: CREATE TABLE table_22883210_5 (high_points VARCHAR, game VARCHAR) ### Response: ### Response: SELECT high_points FROM table_22883210_5 WHERE game = 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 class has the date of 8/1954? ### Context: CREATE TABLE table_name_56 (class VARCHAR, date VARCHAR) ### Response: ### Response: SELECT class FROM table_name_56 WHERE date = "8/1954"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 party a for m. s. k. sathiyendran runner up ### Context: CREATE TABLE table_22754310_1 (party VARCHAR, runner_up_a VARCHAR) ### Response: ### Response: SELECT party AS a FROM table_22754310_1 WHERE runner_up_a = "M. S. K. Sathiyendran"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 aircraft movements with international passengers being 21002260 ### Context: CREATE TABLE table_13836704_9 (aircraft_movements INTEGER, international_passengers VARCHAR) ### Response: ### Response: SELECT MAX(aircraft_movements) FROM table_13836704_9 WHERE international_passengers = 21002260</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of invoices from Chicago, IL. ### Context: CREATE TABLE invoices (billing_city VARCHAR, billing_state VARCHAR) ### Response: ### Response: SELECT COUNT(*) FROM invoices WHERE billing_city = "Chicago" AND billing_state = "IL"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 year Rowan University was established ### Context: CREATE TABLE table_16432543_1 (established VARCHAR, institution VARCHAR) ### Response: ### Response: SELECT established FROM table_16432543_1 WHERE institution = "Rowan University"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 surface at the tournament of Vaihingen? ### Context: CREATE TABLE table_name_24 (surface VARCHAR, tournament VARCHAR) ### Response: ### Response: SELECT surface FROM table_name_24 WHERE tournament = "vaihingen"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Rank has Goals larger than 4, and a Scorer of oh seok-jae? ### Context: CREATE TABLE table_name_14 (rank VARCHAR, goals VARCHAR, scorer VARCHAR) ### Response: ### Response: SELECT rank FROM table_name_14 WHERE goals > 4 AND scorer = "oh seok-jae"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What were the official itv ratings in millions for semi-final 5? ### Context: CREATE TABLE table_27319183_7 (official_itv_rating__millions_ VARCHAR, episode VARCHAR) ### Response: ### Response: SELECT official_itv_rating__millions_ FROM table_27319183_7 WHERE episode = "Semi-final 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 minimum number of 50s scored? ### Context: CREATE TABLE table_27922491_24 (Id VARCHAR) ### Response: ### Response: SELECT MIN(50 AS s) FROM table_27922491_24</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the average number for Northgate which commenced its construction before 1951? ### Context: CREATE TABLE table_name_42 (number_on_map INTEGER, name VARCHAR, construction_commenced VARCHAR) ### Response: ### Response: SELECT AVG(number_on_map) FROM table_name_42 WHERE name = "northgate" AND construction_commenced < 1951</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total number of starts has more than 2 wins and a money list rank greater than 1? ### Context: CREATE TABLE table_name_18 (starts VARCHAR, wins VARCHAR, money_list_rank VARCHAR) ### Response: ### Response: SELECT COUNT(starts) FROM table_name_18 WHERE wins > 2 AND money_list_rank > 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 country does FC Atyrau represent after the 2006 season? ### Context: CREATE TABLE table_name_67 (country VARCHAR, season VARCHAR, team VARCHAR) ### Response: ### Response: SELECT country FROM table_name_67 WHERE season > 2006 AND team = "fc atyrau"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what skipper has the sail number aus60000? ### Context: CREATE TABLE table_25561560_2 (skipper VARCHAR, sail_number VARCHAR) ### Response: ### Response: SELECT skipper FROM table_25561560_2 WHERE sail_number = "AUS60000"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What type of dock connection does the sounddock series III have? ### Context: CREATE TABLE table_24384861_1 (dock_connection VARCHAR, version VARCHAR) ### Response: ### Response: SELECT dock_connection FROM table_24384861_1 WHERE version = "SoundDock series III"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 total for week 10? ### Context: CREATE TABLE table_name_77 (attendance VARCHAR, week VARCHAR) ### Response: ### Response: SELECT attendance FROM table_name_77 WHERE week = 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 largest ethnic group in in the settlement with the cyrillic name банатски карловац? ### Context: CREATE TABLE table_2562572_44 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) ### Response: ### Response: SELECT largest_ethnic_group__2002_ FROM table_2562572_44 WHERE cyrillic_name_other_names = "Банатски Карловац"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the LB&SCR number that has SR number of 8597–8600 ### Context: CREATE TABLE table_name_7 (lb VARCHAR, scr_no VARCHAR, sr_no VARCHAR) ### Response: ### Response: SELECT lb & scr_no FROM table_name_7 WHERE sr_no = "8597–8600"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 dar for telenord ### Context: CREATE TABLE table_15887683_17 (dar VARCHAR, television_service VARCHAR) ### Response: ### Response: SELECT dar FROM table_15887683_17 WHERE television_service = "Telenord"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 smallest crowd size for away team st kilda? ### Context: CREATE TABLE table_name_25 (crowd INTEGER, away_team VARCHAR) ### Response: ### Response: SELECT MIN(crowd) FROM table_name_25 WHERE away_team = "st kilda"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 numbered Lane with a Time of 1:10.57 and Heat larger than 2? ### Context: CREATE TABLE table_name_97 (lane INTEGER, heat VARCHAR, time VARCHAR) ### Response: ### Response: SELECT MIN(lane) FROM table_name_97 WHERE heat > 2 AND time = "1:10.57"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 source corresponding to a date of May 25–27? ### Context: CREATE TABLE table_name_7 (source VARCHAR, date VARCHAR) ### Response: ### Response: SELECT source FROM table_name_7 WHERE date = "may 25–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 finalist in the week of March 12? ### Context: CREATE TABLE table_name_91 (finalist VARCHAR, week VARCHAR) ### Response: ### Response: SELECT finalist FROM table_name_91 WHERE week = "march 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: How many tries does Fakahau Valu have? ### Context: CREATE TABLE table_name_83 (tries VARCHAR, player VARCHAR) ### Response: ### Response: SELECT tries FROM table_name_83 WHERE player = "fakahau valu"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is Date, when Result is 16-0? ### Context: CREATE TABLE table_name_8 (date VARCHAR, result VARCHAR) ### Response: ### Response: SELECT date FROM table_name_8 WHERE result = "16-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 nationality is mark eaton, center position? ### Context: CREATE TABLE table_name_51 (nationality VARCHAR, position VARCHAR, player VARCHAR) ### Response: ### Response: SELECT nationality FROM table_name_51 WHERE position = "center" AND player = "mark eaton"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 player Alexis Bwenge's pick number? ### Context: CREATE TABLE table_10960039_1 (pick__number VARCHAR, player VARCHAR) ### Response: ### Response: SELECT pick__number FROM table_10960039_1 WHERE player = "Alexis Bwenge"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Date has a Score of 2–7, and a Record of 5–8–2? ### Context: CREATE TABLE table_name_50 (date VARCHAR, score VARCHAR, record VARCHAR) ### Response: ### Response: SELECT date FROM table_name_50 WHERE score = "2–7" AND record = "5–8–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 regular season for 2005 ### Context: CREATE TABLE table_2139111_1 (regular_season VARCHAR, year VARCHAR) ### Response: ### Response: SELECT regular_season FROM table_2139111_1 WHERE year = 2005</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 and an Opponent which has a f Position and Career Games of 123 games? ### Context: CREATE TABLE table_name_4 (date_and_opponent VARCHAR, position VARCHAR, career_games VARCHAR) ### Response: ### Response: SELECT date_and_opponent FROM table_name_4 WHERE position = "f" AND career_games = "123 games"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 distance of the Sam's town 250 race? ### Context: CREATE TABLE table_name_24 (distance VARCHAR, race VARCHAR) ### Response: ### Response: SELECT distance FROM table_name_24 WHERE race = "sam's town 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: The original artist Joan Osborne has what result? ### Context: CREATE TABLE table_26250199_1 (result VARCHAR, original_artist VARCHAR) ### Response: ### Response: SELECT result FROM table_26250199_1 WHERE original_artist = "Joan Osborne"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 label has a year older than 2004 and a 2xcd detail as well as the sonic seducer cold hands seduction vol. 69 title? ### Context: CREATE TABLE table_name_88 (label VARCHAR, title VARCHAR, year VARCHAR, details VARCHAR) ### Response: ### Response: SELECT label FROM table_name_88 WHERE year > 2004 AND details = "2xcd" AND title = "sonic seducer cold hands seduction vol. 69"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who was the original artist when the theme was 1980s? ### Context: CREATE TABLE table_15796072_1 (original_artist VARCHAR, theme VARCHAR) ### Response: ### Response: SELECT original_artist FROM table_15796072_1 WHERE theme = "1980s"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 rank of the 2009 xbox? ### Context: CREATE TABLE table_name_95 (rank INTEGER) ### Response: ### Response: SELECT MAX(rank) FROM table_name_95 WHERE 2009 = "xbox"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did Episode 29 (7) originally air? ### Context: CREATE TABLE table_name_65 (original_airdate VARCHAR, episode__number VARCHAR) ### Response: ### Response: SELECT original_airdate FROM table_name_65 WHERE episode__number = "29 (7)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the away team score at the Windy Hill venue? ### Context: CREATE TABLE table_name_8 (away_team VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT away_team AS score FROM table_name_8 WHERE venue = "windy hill"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 first episode in the season directed by nelson mccormick? ### Context: CREATE TABLE table_26565936_2 (no_in_season INTEGER, directed_by VARCHAR) ### Response: ### Response: SELECT MIN(no_in_season) FROM table_26565936_2 WHERE directed_by = "Nelson McCormick"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 location of the fight when Sara McMann's record was 1-0? ### Context: CREATE TABLE table_name_42 (location VARCHAR, record VARCHAR) ### Response: ### Response: SELECT location FROM table_name_42 WHERE record = "1-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 score on December 2? ### Context: CREATE TABLE table_name_51 (score VARCHAR, date VARCHAR) ### Response: ### Response: SELECT score FROM table_name_51 WHERE date = "december 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 many different percentages of immigrants are there for the year of 2007 in the countries with 1.2% of the immigrants in the year of 2005? ### Context: CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2005 VARCHAR) ### Response: ### Response: SELECT COUNT(_percentage_of_all_immigrants_2007) FROM table_23619212_1 WHERE _percentage_of_all_immigrants_2005 = "1.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 date for espn ### Context: CREATE TABLE table_26842217_18 (date VARCHAR, broadcast VARCHAR) ### Response: ### Response: SELECT date FROM table_26842217_18 WHERE broadcast = "ESPN"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 guns for third-rate ship of the line and rank of vice-admiral with year of 1802 ### Context: CREATE TABLE table_name_63 (guns VARCHAR, year VARCHAR, class VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT guns FROM table_name_63 WHERE class = "third-rate ship of the line" AND rank = "vice-admiral" AND year = "1802"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 utah's lowest swimsuit with an interview over 8.53? ### Context: CREATE TABLE table_name_43 (swimsuit INTEGER, state VARCHAR, interview VARCHAR) ### Response: ### Response: SELECT MIN(swimsuit) FROM table_name_43 WHERE state = "utah" AND interview > 8.53</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Tell me the 2008 for 2012 of 4r and 2009 of a ### Context: CREATE TABLE table_name_38 (Id VARCHAR) ### Response: ### Response: SELECT 2008 FROM table_name_38 WHERE 2012 = "4r" AND 2009 = "a"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 that attendend when the venue was td banknorth garden and the series of montreal leads 3-1 ### Context: CREATE TABLE table_name_99 (attendance INTEGER, venue VARCHAR, series VARCHAR) ### Response: ### Response: SELECT MAX(attendance) FROM table_name_99 WHERE venue = "td banknorth garden" AND series = "montreal leads 3-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 the most points for class of 125cc and team of mv agusta with year more than 1957 ### Context: CREATE TABLE table_name_65 (points INTEGER, year VARCHAR, class VARCHAR, team VARCHAR) ### Response: ### Response: SELECT MAX(points) FROM table_name_65 WHERE class = "125cc" AND team = "mv agusta" AND year > 1957</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the location for school eckstein ### Context: CREATE TABLE table_17641314_3 (location_denotes_location_of_school_by_seattle_neighborhood VARCHAR, _does_not_necessary_correspond_with_attendance_area VARCHAR, school VARCHAR) ### Response: ### Response: SELECT location_denotes_location_of_school_by_seattle_neighborhood, _does_not_necessary_correspond_with_attendance_area FROM table_17641314_3 WHERE school = "Eckstein"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What place did the Sake Tuyas come in when the Denim Demons were 4th? ### Context: CREATE TABLE table_29619494_2 (sake_tuyas VARCHAR, denim_demons VARCHAR) ### Response: ### Response: SELECT sake_tuyas FROM table_29619494_2 WHERE denim_demons = "4th"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What country is ranked number 4? ### Context: CREATE TABLE table_name_41 (country VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT country FROM table_name_41 WHERE rank = 4</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the amount of loans received with a total debt of $169,256? ### Context: CREATE TABLE table_name_24 (loans_received VARCHAR, _3q VARCHAR, total_debt VARCHAR) ### Response: ### Response: SELECT loans_received, _3q FROM table_name_24 WHERE total_debt = "$169,256"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 p.ret are there when kr avg is 11.3 ? ### Context: CREATE TABLE table_16912000_13 (p_ret VARCHAR, kr_avg VARCHAR) ### Response: ### Response: SELECT COUNT(p_ret) FROM table_16912000_13 WHERE kr_avg = "11.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 was the Result of the game with an Attendance of 69,365? ### Context: CREATE TABLE table_name_46 (result VARCHAR, attendance VARCHAR) ### Response: ### Response: SELECT result FROM table_name_46 WHERE attendance = "69,365"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 names of all instructors whose name includes the substring “dar”. ### Context: CREATE TABLE instructor (name VARCHAR) ### Response: ### Response: SELECT name FROM instructor WHERE name LIKE '%dar%'</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 high points where date is february 19 ### Context: CREATE TABLE table_20010140_10 (high_points VARCHAR, date VARCHAR) ### Response: ### Response: SELECT COUNT(high_points) FROM table_20010140_10 WHERE date = "February 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: Which pick was Bill Bray? ### Context: CREATE TABLE table_name_66 (pick INTEGER, player VARCHAR) ### Response: ### Response: SELECT SUM(pick) FROM table_name_66 WHERE player = "bill bray"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 lost with points 1 more than 58 and 66 goals against? ### Context: CREATE TABLE table_name_9 (lost INTEGER, points_1 VARCHAR, goals_against VARCHAR) ### Response: ### Response: SELECT MAX(lost) FROM table_name_9 WHERE points_1 > 58 AND goals_against = 66</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode was the last written by chris hawkshaw this season? ### Context: CREATE TABLE table_name_72 (no_in_season INTEGER, written_by VARCHAR) ### Response: ### Response: SELECT MAX(no_in_season) FROM table_name_72 WHERE written_by = "chris hawkshaw"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which venue was used 22 january 2008? ### Context: CREATE TABLE table_name_86 (venue VARCHAR, date VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_86 WHERE date = "22 january 2008"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the score of the game against portland? ### Context: CREATE TABLE table_27723526_10 (score VARCHAR, team VARCHAR) ### Response: ### Response: SELECT score FROM table_27723526_10 WHERE team = "Portland"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 much was requested from Investing Dragon Peter Jones request in episode 2? ### Context: CREATE TABLE table_name_92 (money_requested__£_ VARCHAR, investing_dragon_s_ VARCHAR, episode VARCHAR) ### Response: ### Response: SELECT money_requested__£_ FROM table_name_92 WHERE investing_dragon_s_ = "peter jones" AND episode = "episode 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: Which date has a Record of 41-46? ### Context: CREATE TABLE table_name_55 (date VARCHAR, record VARCHAR) ### Response: ### Response: SELECT date FROM table_name_55 WHERE record = "41-46"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 1955 rate when the 1956 is more than 2.9, and 1953 is larger than 4.5? ### Context: CREATE TABLE table_name_7 (Id VARCHAR) ### Response: ### Response: SELECT SUM(1955) FROM table_name_7 WHERE 1956 > 2.9 AND 1953 > 4.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 highest pole for class 125 cc and a WChmp more than 1? ### Context: CREATE TABLE table_name_88 (pole INTEGER, class VARCHAR, wchmp VARCHAR) ### Response: ### Response: SELECT MAX(pole) FROM table_name_88 WHERE class = "125 cc" AND wchmp > 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 Date, when Series is Amscar Round 3? ### Context: CREATE TABLE table_name_36 (date VARCHAR, series VARCHAR) ### Response: ### Response: SELECT date FROM table_name_36 WHERE series = "amscar 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 division in the season more recent than 2012 when the round of 16 was reached in the FA Cup? ### Context: CREATE TABLE table_name_9 (division VARCHAR, fa_cup VARCHAR, season VARCHAR) ### Response: ### Response: SELECT COUNT(division) FROM table_name_9 WHERE fa_cup = "round of 16" AND season > 2012</s>