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 was the result of the player from Maylands, Western Australia? ### Context: CREATE TABLE table_24501530_1 (result VARCHAR, hometown VARCHAR) ### Response: ### Response: SELECT result FROM table_24501530_1 WHERE hometown = "Maylands, Western Australia"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the record when the timberwolves were played? ### Context: CREATE TABLE table_23285849_7 (record VARCHAR, team VARCHAR) ### Response: ### Response: SELECT record FROM table_23285849_7 WHERE team = "Timberwolves"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 language's launch was in 2006 when then hanzi was 青海电视台藏语综合频道? ### Context: CREATE TABLE table_name_7 (language VARCHAR, launch VARCHAR, hanzi VARCHAR) ### Response: ### Response: SELECT language FROM table_name_7 WHERE launch = 2006 AND hanzi = "青海电视台藏语综合频道"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who is the Second with Nikolina Petric as Third? ### Context: CREATE TABLE table_name_41 (second VARCHAR, third VARCHAR) ### Response: ### Response: SELECT second FROM table_name_41 WHERE third = "nikolina petric"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: who are all the winning constructors where fastest lap is riccardo patrese and location is interlagos ### Context: CREATE TABLE table_1137704_2 (winning_constructor VARCHAR, fastest_lap VARCHAR, location VARCHAR) ### Response: ### Response: SELECT winning_constructor FROM table_1137704_2 WHERE fastest_lap = "Riccardo Patrese" AND location = "Interlagos"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who were semi-finalists in the event with a runner-up of Lisa Raymond? ### Context: CREATE TABLE table_name_3 (semi_finalists VARCHAR, runner_up VARCHAR) ### Response: ### Response: SELECT semi_finalists FROM table_name_3 WHERE runner_up = "lisa raymond"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 reported age when the reported birth date is 22 december 1878? ### Context: CREATE TABLE table_name_62 (reported_age VARCHAR, reported_birth_date VARCHAR) ### Response: ### Response: SELECT reported_age FROM table_name_62 WHERE reported_birth_date = "22 december 1878"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Major League Soccer team for the 2005 season has the lowest goals? ### Context: CREATE TABLE table_name_63 (goals INTEGER, league VARCHAR, season VARCHAR) ### Response: ### Response: SELECT MIN(goals) FROM table_name_63 WHERE league = "major league soccer" AND season = "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: What is the netflix code where the series and episode are 4-11? ### Context: CREATE TABLE table_15187735_4 (netflix VARCHAR, series_ep VARCHAR) ### Response: ### Response: SELECT netflix FROM table_15187735_4 WHERE series_ep = "4-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: Name the score for 2 june 2008 ### Context: CREATE TABLE table_name_97 (score VARCHAR, date VARCHAR) ### Response: ### Response: SELECT score FROM table_name_97 WHERE date = "2 june 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 is the average crowd size for Richmond home games? ### Context: CREATE TABLE table_name_2 (crowd INTEGER, home_team VARCHAR) ### Response: ### Response: SELECT AVG(crowd) FROM table_name_2 WHERE home_team = "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: What is the name of the artist with a Single / Pack of guitar hero track pack 1? ### Context: CREATE TABLE table_name_41 (artist VARCHAR, single___pack VARCHAR) ### Response: ### Response: SELECT artist FROM table_name_41 WHERE single___pack = "guitar hero track pack 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 city licensed the broadcast on virtual channel 8.2? ### Context: CREATE TABLE table_2857352_3 (city_of_license VARCHAR, virtual_channel VARCHAR) ### Response: ### Response: SELECT city_of_license FROM table_2857352_3 WHERE virtual_channel = "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: What is the highest number of losses for the Cobden club when there is less than 1 win? ### Context: CREATE TABLE table_name_92 (losses INTEGER, club VARCHAR, wins VARCHAR) ### Response: ### Response: SELECT MAX(losses) FROM table_name_92 WHERE club = "cobden" AND wins < 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 Score, when Attendance is 2,444? ### Context: CREATE TABLE table_name_33 (score VARCHAR, attendance VARCHAR) ### Response: ### Response: SELECT score FROM table_name_33 WHERE attendance = "2,444"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who scored the high points in game 78? ### Context: CREATE TABLE table_23248967_10 (high_points VARCHAR, game VARCHAR) ### Response: ### Response: SELECT high_points FROM table_23248967_10 WHERE game = 78</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 call sign for the station that uses the branding, mom's radio 101.5 tacloban? ### Context: CREATE TABLE table_17487395_1 (callsign VARCHAR, branding VARCHAR) ### Response: ### Response: SELECT callsign FROM table_17487395_1 WHERE branding = "Mom's Radio 101.5 Tacloban"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 cindy miranda is the name what is the home or representative town or province? ### Context: CREATE TABLE table_19061741_1 (home_or_representative_town_or_province VARCHAR, name VARCHAR) ### Response: ### Response: SELECT home_or_representative_town_or_province FROM table_19061741_1 WHERE name = "Cindy Miranda"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which year has a Main of Eintracht Frankfurt and Hessen of FSV Mainz 05? ### Context: CREATE TABLE table_name_3 (year VARCHAR, main VARCHAR, hessen VARCHAR) ### Response: ### Response: SELECT year FROM table_name_3 WHERE main = "eintracht frankfurt" AND hessen = "fsv mainz 05"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 opponent has a score of 84-88 (ot)? ### Context: CREATE TABLE table_name_79 (opponent VARCHAR, score VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_79 WHERE score = "84-88 (ot)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: With what Name does the Roll of 637 belong? ### Context: CREATE TABLE table_name_57 (name VARCHAR, roll VARCHAR) ### Response: ### Response: SELECT name FROM table_name_57 WHERE roll = "637"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 wins when there are more than 2 byes? ### Context: CREATE TABLE table_name_76 (wins INTEGER, byes INTEGER) ### Response: ### Response: SELECT MAX(wins) FROM table_name_76 WHERE byes > 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 average gold when rank is total and silver is more than 20? ### Context: CREATE TABLE table_name_32 (gold INTEGER, rank VARCHAR, silver VARCHAR) ### Response: ### Response: SELECT AVG(gold) FROM table_name_32 WHERE rank = "total" AND silver > 20</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many draws has lower than rank 10 in rumba/cha-cha/jazz dance? ### Context: CREATE TABLE table_name_65 (draw VARCHAR, rank VARCHAR, dance_styles VARCHAR) ### Response: ### Response: SELECT COUNT(draw) FROM table_name_65 WHERE rank < 10 AND dance_styles = "rumba/cha-cha/jazz dance"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 top-5 when the cuts made is more than 34? ### Context: CREATE TABLE table_name_1 (top_5 INTEGER, cuts_made INTEGER) ### Response: ### Response: SELECT AVG(top_5) FROM table_name_1 WHERE cuts_made > 34</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 place when the score was 70-69-74=213? ### Context: CREATE TABLE table_name_12 (place VARCHAR, score VARCHAR) ### Response: ### Response: SELECT place FROM table_name_12 WHERE score = 70 - 69 - 74 = 213</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who was the losing team with a total of 24 when the winning team was Sydney Roosters? ### Context: CREATE TABLE table_name_44 (losing_team VARCHAR, total VARCHAR, winning_team VARCHAR) ### Response: ### Response: SELECT losing_team FROM table_name_44 WHERE total = 24 AND winning_team = "sydney roosters"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Where was the security pacific senior classic? ### Context: CREATE TABLE table_name_74 (location VARCHAR, tournament VARCHAR) ### Response: ### Response: SELECT location FROM table_name_74 WHERE tournament = "security pacific senior classic"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tall is the contestant from Aruba? ### Context: CREATE TABLE table_20669355_2 (height__ft_ VARCHAR, country VARCHAR) ### Response: ### Response: SELECT height__ft_ FROM table_20669355_2 WHERE country = "Aruba"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 her partner at the US Open and they were runner-up? ### Context: CREATE TABLE table_1920271_3 (partner VARCHAR, outcome VARCHAR, championship VARCHAR) ### Response: ### Response: SELECT partner FROM table_1920271_3 WHERE outcome = "Runner-up" AND championship = "US Open"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Aspect has a Programming of latv? ### Context: CREATE TABLE table_name_18 (aspect VARCHAR, programming VARCHAR) ### Response: ### Response: SELECT aspect FROM table_name_18 WHERE programming = "latv"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 losses did leon patton have with the longest gain higher than 45? ### Context: CREATE TABLE table_name_12 (loss VARCHAR, name VARCHAR, long VARCHAR) ### Response: ### Response: SELECT COUNT(loss) FROM table_name_12 WHERE name = "leon patton" AND long > 45</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 scientific linux release when delay is 28d ### Context: CREATE TABLE table_1500146_1 (scientific_linux_release VARCHAR, delay VARCHAR) ### Response: ### Response: SELECT scientific_linux_release FROM table_1500146_1 WHERE delay = "28d"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Minister, when Party is "AN"? ### Context: CREATE TABLE table_name_89 (minister VARCHAR, party VARCHAR) ### Response: ### Response: SELECT minister FROM table_name_89 WHERE party = "an"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 responsible for the design of the Jasper National Park theme? ### Context: CREATE TABLE table_11900773_5 (design VARCHAR, theme VARCHAR) ### Response: ### Response: SELECT design FROM table_11900773_5 WHERE theme = "Jasper National Park"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 loss when the record was 34-56? ### Context: CREATE TABLE table_name_20 (loss VARCHAR, record VARCHAR) ### Response: ### Response: SELECT loss FROM table_name_20 WHERE record = "34-56"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the average Total, when Silver is greater than 4, and when Gold is greater than 16? ### Context: CREATE TABLE table_name_2 (total INTEGER, silver VARCHAR, gold VARCHAR) ### Response: ### Response: SELECT AVG(total) FROM table_name_2 WHERE silver > 4 AND gold > 16</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the termination of mission for appointed by of franklin pierce ### Context: CREATE TABLE table_name_76 (termination_of_mission VARCHAR, appointed_by VARCHAR) ### Response: ### Response: SELECT termination_of_mission FROM table_name_76 WHERE appointed_by = "franklin pierce"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 playoff result for theteam in the apsl in 1992? ### Context: CREATE TABLE table_12002388_1 (playoffs VARCHAR, league VARCHAR, year VARCHAR) ### Response: ### Response: SELECT playoffs FROM table_12002388_1 WHERE league = "APSL" AND year = 1992</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 owns the station on channel 33.3? ### Context: CREATE TABLE table_1404984_1 (station_ownership VARCHAR, virtual_channel VARCHAR) ### Response: ### Response: SELECT station_ownership FROM table_1404984_1 WHERE virtual_channel = "33.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 total area for a code less than 1862 and a density (per km 2 land) of 21.6? ### Context: CREATE TABLE table_name_53 (total_area VARCHAR, code VARCHAR, density__per_km_2_land_ VARCHAR) ### Response: ### Response: SELECT total_area FROM table_name_53 WHERE code < 1862 AND density__per_km_2_land_ = 21.6</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which venue ended in a 3-0 result? ### Context: CREATE TABLE table_name_35 (venue VARCHAR, result VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_35 WHERE result = "3-0"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many titles are there for the episode written by Tom Scharpling? ### Context: CREATE TABLE table_25716401_1 (title VARCHAR, written_by VARCHAR) ### Response: ### Response: SELECT COUNT(title) FROM table_25716401_1 WHERE written_by = "Tom Scharpling"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 writters for the episode directed by Richard L. Bare, no. 8 in season? ### Context: CREATE TABLE table_12226390_7 (written_by VARCHAR, directed_by VARCHAR, no_in_season VARCHAR) ### Response: ### Response: SELECT written_by FROM table_12226390_7 WHERE directed_by = "Richard L. Bare" AND no_in_season = 8</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What home team plays at Windy Hill? ### Context: CREATE TABLE table_name_77 (home_team VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT home_team FROM table_name_77 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: Name the outcome for zurich ### Context: CREATE TABLE table_23944006_4 (outcome VARCHAR, championship VARCHAR) ### Response: ### Response: SELECT outcome FROM table_23944006_4 WHERE championship = "Zurich"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Find the name, enrollment of the colleges whose size is bigger than 10000 and location is in state LA. ### Context: CREATE TABLE College (cName VARCHAR, enr VARCHAR, state VARCHAR) ### Response: ### Response: SELECT cName, enr FROM College WHERE enr > 10000 AND state = "LA"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Score has an Opponent of washington capitals, and a Record of 24-34-17? ### Context: CREATE TABLE table_name_7 (score VARCHAR, opponent VARCHAR, record VARCHAR) ### Response: ### Response: SELECT score FROM table_name_7 WHERE opponent = "washington capitals" AND record = "24-34-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: Tell me the number for height in ft of 6-7 ### Context: CREATE TABLE table_name_18 (no_s_ VARCHAR, height_in_ft VARCHAR) ### Response: ### Response: SELECT no_s_ FROM table_name_18 WHERE height_in_ft = "6-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 number is Andrea Bargnani? ### Context: CREATE TABLE table_12962773_15 (no INTEGER, player VARCHAR) ### Response: ### Response: SELECT MAX(no) FROM table_12962773_15 WHERE player = "Andrea Bargnani"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: If the equation is 8 × 9² + 8 × 9 + 8, what is the 2nd throw? ### Context: CREATE TABLE table_17265535_7 (equation VARCHAR) ### Response: ### Response: SELECT MIN(2 AS nd_throw) FROM table_17265535_7 WHERE equation = "8 × 9² + 8 × 9 + 8"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the match number that had a result of 0:5 (0:3)? ### Context: CREATE TABLE table_name_20 (match VARCHAR, result VARCHAR) ### Response: ### Response: SELECT COUNT(match) FROM table_name_20 WHERE result = "0:5 (0: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 frequency does Chihuahua Sinaloa Durango cover? ### Context: CREATE TABLE table_14670060_1 (frequency VARCHAR, coverage VARCHAR) ### Response: ### Response: SELECT frequency FROM table_14670060_1 WHERE coverage = "Chihuahua Sinaloa Durango"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 were Wounded while in a Unit with a Complement of 83 off 9 Men? ### Context: CREATE TABLE table_name_79 (wounded VARCHAR, complement VARCHAR) ### Response: ### Response: SELECT wounded FROM table_name_79 WHERE complement = "83 off 9 men"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 least total in gila ### Context: CREATE TABLE table_19681738_1 (total INTEGER, county VARCHAR) ### Response: ### Response: SELECT MIN(total) FROM table_19681738_1 WHERE county = "Gila"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Venue has a Result of won 5-4? ### Context: CREATE TABLE table_name_65 (venue VARCHAR, result VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_65 WHERE result = "won 5-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 ordered has helena as the name? ### Context: CREATE TABLE table_name_87 (ordered VARCHAR, name VARCHAR) ### Response: ### Response: SELECT ordered FROM table_name_87 WHERE name = "helena"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 JAPANESE has a KOREAN of 상나화수 / sanahwasa? ### Context: CREATE TABLE table_name_92 (japanese VARCHAR, korean VARCHAR) ### Response: ### Response: SELECT japanese FROM table_name_92 WHERE korean = "상나화수 / sanahwasa"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Rider finished with a speed of 81.91mph? ### Context: CREATE TABLE table_name_39 (rider VARCHAR, speed VARCHAR) ### Response: ### Response: SELECT rider FROM table_name_39 WHERE speed = "81.91mph"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 title of the episode viewed by 5.03 million viewers? ### Context: CREATE TABLE table_27987623_1 (title VARCHAR, us_viewers__in_million_ VARCHAR) ### Response: ### Response: SELECT title FROM table_27987623_1 WHERE us_viewers__in_million_ = "5.03"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 races have 137 points? ### Context: CREATE TABLE table_25318033_1 (races VARCHAR, points VARCHAR) ### Response: ### Response: SELECT races FROM table_25318033_1 WHERE points = "137"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Aundray Bruce's Pick #? ### Context: CREATE TABLE table_name_8 (pick__number VARCHAR, name VARCHAR) ### Response: ### Response: SELECT pick__number FROM table_name_8 WHERE name = "aundray bruce"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 has a player that is 6'1? ### Context: CREATE TABLE table_20860739_1 (college VARCHAR, height VARCHAR) ### Response: ### Response: SELECT college FROM table_20860739_1 WHERE height = "6'1"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the date of the 24–27–6 Lightning home game against Tampa Bay that had a decision of Ramo? ### Context: CREATE TABLE table_name_93 (date VARCHAR, record VARCHAR, home VARCHAR, decision VARCHAR) ### Response: ### Response: SELECT date FROM table_name_93 WHERE home = "tampa bay" AND decision = "ramo" AND record = "24–27–6"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the most overall for james davis and round more than 5 ### Context: CREATE TABLE table_name_89 (overall INTEGER, player VARCHAR, round VARCHAR) ### Response: ### Response: SELECT MAX(overall) FROM table_name_89 WHERE player = "james davis" AND round > 5</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the location of the game with a 115-105 score? ### Context: CREATE TABLE table_name_35 (location VARCHAR, score VARCHAR) ### Response: ### Response: SELECT location FROM table_name_35 WHERE score = "115-105"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 people ha Romanian as their mother tongue in 2006? ### Context: CREATE TABLE table_name_12 (population__2006_ INTEGER, mother_tongue VARCHAR) ### Response: ### Response: SELECT MAX(population__2006_) FROM table_name_12 WHERE mother_tongue = "romanian"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 trainer with Robert Courtney was owner? ### Context: CREATE TABLE table_name_8 (trainer VARCHAR, owner VARCHAR) ### Response: ### Response: SELECT trainer FROM table_name_8 WHERE owner = "robert courtney"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What player scored 68-66=134? ### Context: CREATE TABLE table_name_50 (player VARCHAR, score VARCHAR) ### Response: ### Response: SELECT player FROM table_name_50 WHERE score = 68 - 66 = 134</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 locomotive with a Glencar class? ### Context: CREATE TABLE table_name_98 (names VARCHAR, class VARCHAR) ### Response: ### Response: SELECT names FROM table_name_98 WHERE class = "glencar"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 earliest year that had a category of best supporting actress at the asian film awards? ### Context: CREATE TABLE table_name_46 (year INTEGER, category VARCHAR, award VARCHAR) ### Response: ### Response: SELECT MIN(year) FROM table_name_46 WHERE category = "best supporting actress" AND award = "asian film awards"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the record when the team played at Oakland Seals? ### Context: CREATE TABLE table_name_36 (record VARCHAR, home VARCHAR) ### Response: ### Response: SELECT record FROM table_name_36 WHERE home = "oakland seals"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Language when the Reteconomy is the television service? ### Context: CREATE TABLE table_name_86 (language VARCHAR, television_service VARCHAR) ### Response: ### Response: SELECT language FROM table_name_86 WHERE television_service = "reteconomy"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 area did estrella tv 62 provide coverage for? ### Context: CREATE TABLE table_2523809_1 (coverage VARCHAR, branding VARCHAR) ### Response: ### Response: SELECT coverage FROM table_2523809_1 WHERE branding = "Estrella TV 62"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the sum of the erp w of the k222al call sign? ### Context: CREATE TABLE table_name_5 (erp_w INTEGER, call_sign VARCHAR) ### Response: ### Response: SELECT SUM(erp_w) FROM table_name_5 WHERE call_sign = "k222al"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average clean and jerk for snatch of 140 and total kg less than 315 ### Context: CREATE TABLE table_name_10 (_jerk VARCHAR, clean_ INTEGER, snatch VARCHAR, total__kg_ VARCHAR) ### Response: ### Response: SELECT AVG(clean_) & _jerk FROM table_name_10 WHERE snatch = 140 AND total__kg_ < 315</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is every entry for 1982-83 for rank 1? ### Context: CREATE TABLE table_22606461_10 (rank VARCHAR) ### Response: ### Response: SELECT 1982 AS _83 FROM table_22606461_10 WHERE 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: display the department name and number of employees in each of the department. ### Context: CREATE TABLE employees (department_id VARCHAR); CREATE TABLE departments (department_id VARCHAR) ### Response: ### Response: SELECT department_name, COUNT(*) FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id GROUP BY department_name</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Tell me the package for EEPROM less than 128 ### Context: CREATE TABLE table_name_17 (package VARCHAR, eeprom INTEGER) ### Response: ### Response: SELECT package FROM table_name_17 WHERE eeprom < 128</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 part 1 of the verb whose part 4 is gevroren? ### Context: CREATE TABLE table_1745843_7 (part_1 VARCHAR, part_4 VARCHAR) ### Response: ### Response: SELECT part_1 FROM table_1745843_7 WHERE part_4 = "gevroren"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the sum of households that makes a median household income of $44,718? ### Context: CREATE TABLE table_name_43 (number_of_households INTEGER, median_household_income VARCHAR) ### Response: ### Response: SELECT SUM(number_of_households) FROM table_name_43 WHERE median_household_income = "$44,718"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is the Nova TV network from? ### Context: CREATE TABLE table_name_53 (country VARCHAR, tv_network_s_ VARCHAR) ### Response: ### Response: SELECT country FROM table_name_53 WHERE tv_network_s_ = "nova tv"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Opponent has a Series of bruins lead 2–1? ### Context: CREATE TABLE table_name_91 (opponent VARCHAR, series VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_91 WHERE series = "bruins lead 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 is the Home team of tie no 2? ### Context: CREATE TABLE table_name_36 (home_team VARCHAR, tie_no VARCHAR) ### Response: ### Response: SELECT home_team FROM table_name_36 WHERE tie_no = "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 percent change from 08/09 for belfast international? ### Context: CREATE TABLE table_13836704_6 (_percentage_change_2008_2009 VARCHAR, airport VARCHAR) ### Response: ### Response: SELECT _percentage_change_2008_2009 FROM table_13836704_6 WHERE airport = "Belfast International"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 1st ranked team? ### Context: CREATE TABLE table_24765815_1 (score VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT score FROM table_24765815_1 WHERE rank = "1st"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What President has a Presidency greater than 7? ### Context: CREATE TABLE table_name_6 (president VARCHAR, presidency INTEGER) ### Response: ### Response: SELECT president FROM table_name_6 WHERE presidency > 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 round had a time of 0:39? ### Context: CREATE TABLE table_name_21 (round INTEGER, time VARCHAR) ### Response: ### Response: SELECT MIN(round) FROM table_name_21 WHERE time = "0:39"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of appointment for 26 may 2011 ### Context: CREATE TABLE table_27666856_3 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR) ### Response: ### Response: SELECT COUNT(date_of_appointment) FROM table_27666856_3 WHERE date_of_vacancy = "26 May 2011"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Collingwood's score when they played against North Melbourne at home? ### Context: CREATE TABLE table_name_12 (home_team VARCHAR, away_team VARCHAR) ### Response: ### Response: SELECT home_team AS score FROM table_name_12 WHERE away_team = "north melbourne"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 OWGR pts has Dates of may 10-13? ### Context: CREATE TABLE table_name_37 (owgr_pts INTEGER, dates VARCHAR) ### Response: ### Response: SELECT SUM(owgr_pts) FROM table_name_37 WHERE dates = "may 10-13"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the highest Against, when Wins is greater than 2, and when Matches is less than 17? ### Context: CREATE TABLE table_name_47 (against INTEGER, wins VARCHAR, matches VARCHAR) ### Response: ### Response: SELECT MAX(against) FROM table_name_47 WHERE wins > 2 AND matches < 17</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what is the road numbers when the class is z-7? ### Context: CREATE TABLE table_name_66 (road_numbers VARCHAR, class VARCHAR) ### Response: ### Response: SELECT road_numbers FROM table_name_66 WHERE class = "z-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 team drafted a player from Sweden? ### Context: CREATE TABLE table_2897457_1 (nhl_team VARCHAR, nationality VARCHAR) ### Response: ### Response: SELECT nhl_team FROM table_2897457_1 WHERE nationality = "Sweden"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 and attendance after game 2, and the team New Orleans? ### Context: CREATE TABLE table_name_99 (location_attendance VARCHAR, game VARCHAR, team VARCHAR) ### Response: ### Response: SELECT location_attendance FROM table_name_99 WHERE game > 2 AND team = "new orleans"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 year with field reporter Steve Lyons? ### Context: CREATE TABLE table_2941848_2 (year INTEGER, s_field_reporter VARCHAR) ### Response: ### Response: SELECT MAX(year) FROM table_2941848_2 WHERE s_field_reporter = "Steve Lyons"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 attendance 65,806? ### Context: CREATE TABLE table_name_40 (date VARCHAR, attendance VARCHAR) ### Response: ### Response: SELECT date FROM table_name_40 WHERE attendance = "65,806"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 flag for Terkoeli? ### Context: CREATE TABLE table_name_52 (flag VARCHAR, name VARCHAR) ### Response: ### Response: SELECT flag FROM table_name_52 WHERE name = "terkoeli"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the High assists with a Date that is march 31? ### Context: CREATE TABLE table_name_39 (high_assists VARCHAR, date VARCHAR) ### Response: ### Response: SELECT high_assists FROM table_name_39 WHERE date = "march 31"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Sub-Parish (Sogn) was built after 1894 in the Parish (Prestegjeld) of jostedal parish? ### Context: CREATE TABLE table_name_92 (sub_parish__sogn_ VARCHAR, year_built VARCHAR, parish__prestegjeld_ VARCHAR) ### Response: ### Response: SELECT sub_parish__sogn_ FROM table_name_92 WHERE year_built > 1894 AND parish__prestegjeld_ = "jostedal parish"</s>