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: Which game site Kickoff [a] of 1:00, and an Attendance of 63,251? ### Context: CREATE TABLE table_name_53 (game_site VARCHAR, attendance VARCHAR, kickoff_ VARCHAR, a_ VARCHAR) ### Response: ### Response: SELECT game_site FROM table_name_53 WHERE kickoff_[a_] = "1:00" AND attendance = "63,251"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many points against have a lose of 13? ### Context: CREATE TABLE table_17510803_2 (points_against VARCHAR, lost VARCHAR) ### Response: ### Response: SELECT points_against FROM table_17510803_2 WHERE lost = "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 Role, when Status is "2001 - 2003, 2005 - 2009"? ### Context: CREATE TABLE table_name_38 (role VARCHAR, status VARCHAR) ### Response: ### Response: SELECT role FROM table_name_38 WHERE status = "2001 - 2003, 2005 - 2009"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who was in the women's 200m medley? ### Context: CREATE TABLE table_name_22 (name VARCHAR, event VARCHAR) ### Response: ### Response: SELECT name FROM table_name_22 WHERE event = "women's 200m medley"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Show the name of storms which don't have affected region in record. ### Context: CREATE TABLE affected_region (name VARCHAR, storm_id VARCHAR); CREATE TABLE storm (name VARCHAR, storm_id VARCHAR) ### Response: ### Response: SELECT name FROM storm WHERE NOT storm_id IN (SELECT storm_id FROM affected_region)</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Icelandic word for the German word for hand? ### Context: CREATE TABLE table_name_85 (icelandic VARCHAR, german VARCHAR) ### Response: ### Response: SELECT icelandic FROM table_name_85 WHERE german = "hand"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 method when the round shows 3? ### Context: CREATE TABLE table_name_35 (method VARCHAR, round VARCHAR) ### Response: ### Response: SELECT method FROM table_name_35 WHERE round = 3</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the stage of Fabiano Fontanelli, who had a Trofeo Fast Team of Gewiss Playbus and a point classification of Fabrizio Guidi? ### Context: CREATE TABLE table_name_13 (stage VARCHAR, winner VARCHAR, trofeo_fast_team VARCHAR, points_classification VARCHAR) ### Response: ### Response: SELECT stage FROM table_name_13 WHERE trofeo_fast_team = "gewiss playbus" AND points_classification = "fabrizio guidi" AND winner = "fabiano fontanelli"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 latitude can the name origin of yuzut-arkh fossae be found? ### Context: CREATE TABLE table_16799784_11 (latitude VARCHAR, name VARCHAR) ### Response: ### Response: SELECT latitude FROM table_16799784_11 WHERE name = "Yuzut-Arkh Fossae"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 does call sign K248am have its license in? ### Context: CREATE TABLE table_name_54 (city_of_license VARCHAR, call_sign VARCHAR) ### Response: ### Response: SELECT city_of_license FROM table_name_54 WHERE call_sign = "k248am"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 dage of catalog asw 28033? ### Context: CREATE TABLE table_name_68 (date VARCHAR, catalog VARCHAR) ### Response: ### Response: SELECT date FROM table_name_68 WHERE catalog = "asw 28033"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total number of matches with wickets less than 537 and career of 1898/99-1919/20 with runs more than 4476 ### Context: CREATE TABLE table_name_73 (matches VARCHAR, runs VARCHAR, wickets VARCHAR, career VARCHAR) ### Response: ### Response: SELECT COUNT(matches) FROM table_name_73 WHERE wickets < 537 AND career = "1898/99-1919/20" AND runs > 4476</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 area (km²) for the country with a population of 16967000? ### Context: CREATE TABLE table_11780179_1 (area__km²_ INTEGER, population VARCHAR) ### Response: ### Response: SELECT MIN(area__km²_) FROM table_11780179_1 WHERE population = 16967000</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 displacement having a torque of n·m (lb·ft) @ 3000 rpm? ### Context: CREATE TABLE table_name_16 (displacement VARCHAR, torque VARCHAR) ### Response: ### Response: SELECT displacement FROM table_name_16 WHERE torque = "n·m (lb·ft) @ 3000 rpm"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the time when the race was in Kenya and Lineth Chepkurui was the athlete? ### Context: CREATE TABLE table_name_50 (time VARCHAR, nation VARCHAR, athlete VARCHAR) ### Response: ### Response: SELECT time FROM table_name_50 WHERE nation = "kenya" AND athlete = "lineth chepkurui"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a name that has a heat of at least 3 and a Lane of exactly 5. ### Context: CREATE TABLE table_name_54 (name VARCHAR, heat VARCHAR, lane VARCHAR) ### Response: ### Response: SELECT name FROM table_name_54 WHERE heat > 3 AND lane = 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 Name of the Quarterback with a Pick # less than 11? ### Context: CREATE TABLE table_name_90 (name VARCHAR, pick__number VARCHAR, position VARCHAR) ### Response: ### Response: SELECT name FROM table_name_90 WHERE pick__number < 11 AND position = "quarterback"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Show the name, time, and service for all trains. ### Context: CREATE TABLE train (name VARCHAR, TIME VARCHAR, service VARCHAR) ### Response: ### Response: SELECT name, TIME, service FROM train</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 rollercoaster that opened in 2004 in bobbejaanland? ### Context: CREATE TABLE table_name_86 (name VARCHAR, opened VARCHAR, park VARCHAR) ### Response: ### Response: SELECT name FROM table_name_86 WHERE opened = "2004" AND park = "bobbejaanland"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a Couple comprised of jason & edyta, and a Style of freestyle? ### Context: CREATE TABLE table_name_2 (score VARCHAR, couple VARCHAR, style VARCHAR) ### Response: ### Response: SELECT score FROM table_name_2 WHERE couple = "jason & edyta" AND style = "freestyle"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ship when the ship had captured as the disposition of ship and was carrying 225 tonnage? ### Context: CREATE TABLE table_name_29 (location VARCHAR, disposition_of_ship VARCHAR, tonnage VARCHAR) ### Response: ### Response: SELECT location FROM table_name_29 WHERE disposition_of_ship = "captured" AND tonnage = "225"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 race number in the Phillip Island circuit with James Winslow as the winning driver and pole position? ### Context: CREATE TABLE table_15530244_2 (race INTEGER, pole_position VARCHAR, circuit VARCHAR, winning_driver VARCHAR) ### Response: ### Response: SELECT MAX(race) FROM table_15530244_2 WHERE circuit = "Phillip Island" AND winning_driver = "James Winslow" AND pole_position = "James Winslow"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the title track that is 3:50 and arranged by Tarek Akef? ### Context: CREATE TABLE table_name_59 (title VARCHAR, arranger VARCHAR, length VARCHAR) ### Response: ### Response: SELECT title FROM table_name_59 WHERE arranger = "tarek akef" AND length = "3:50"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Opponent has a Score of 92-111? ### Context: CREATE TABLE table_name_44 (opponent VARCHAR, score VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_44 WHERE score = "92-111"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the record for January 7? ### Context: CREATE TABLE table_name_21 (record VARCHAR, date VARCHAR) ### Response: ### Response: SELECT record FROM table_name_21 WHERE date = "january 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 total number of languages used in Aruba? ### Context: CREATE TABLE country (Code VARCHAR, Name VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR) ### Response: ### Response: SELECT COUNT(T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = "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: What is the format for the United States dated July 23, 2002? ### Context: CREATE TABLE table_name_84 (format VARCHAR, region VARCHAR, date VARCHAR) ### Response: ### Response: SELECT format FROM table_name_84 WHERE region = "united states" AND date = "july 23, 2002"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Democratic ticket with a Socialist Labor ticket of belle j. rosen? ### Context: CREATE TABLE table_name_38 (democratic_ticket VARCHAR, socialist_labor_ticket VARCHAR) ### Response: ### Response: SELECT democratic_ticket FROM table_name_38 WHERE socialist_labor_ticket = "belle j. rosen"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who was the opponent when the result was w24-7? ### Context: CREATE TABLE table_name_1 (opponent_number VARCHAR, result VARCHAR) ### Response: ### Response: SELECT opponent_number FROM table_name_1 WHERE result = "w24-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 to par is located in the united states and has the player by the name of hale irwin? ### Context: CREATE TABLE table_name_87 (to_par VARCHAR, country VARCHAR, player VARCHAR) ### Response: ### Response: SELECT to_par FROM table_name_87 WHERE country = "united states" AND player = "hale irwin"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Attendance, when Result is l 26-16, and when Week is less than 12? ### Context: CREATE TABLE table_name_36 (attendance INTEGER, result VARCHAR, week VARCHAR) ### Response: ### Response: SELECT MAX(attendance) FROM table_name_36 WHERE result = "l 26-16" AND week < 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: What is the name of the rider with a time of 1:45.52.84, and a Rank of 8? ### Context: CREATE TABLE table_name_56 (rider VARCHAR, time VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT rider FROM table_name_56 WHERE time = "1:45.52.84" AND rank = 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: Who wrote the episodes watched by 1.816 million people in Canada? ### Context: CREATE TABLE table_18424435_3 (written_by VARCHAR, canadian_viewers__million_ VARCHAR) ### Response: ### Response: SELECT written_by FROM table_18424435_3 WHERE canadian_viewers__million_ = "1.816"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what is the rank for athlete hauffe, seifert, kaeufer, adamski? ### Context: CREATE TABLE table_name_88 (rank INTEGER, athlete VARCHAR) ### Response: ### Response: SELECT SUM(rank) FROM table_name_88 WHERE athlete = "hauffe, seifert, kaeufer, adamski"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of different airports which are the destinations of the American Airlines. ### Context: CREATE TABLE routes (alid VARCHAR); CREATE TABLE airlines (alid VARCHAR, name VARCHAR) ### Response: ### Response: SELECT COUNT(DISTINCT dst_apid) FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid WHERE T1.name = 'American Airlines'</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Chris Riley's Money? ### Context: CREATE TABLE table_name_46 (money___$__ VARCHAR, player VARCHAR) ### Response: ### Response: SELECT money___$__ FROM table_name_46 WHERE player = "chris riley"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 pts with poles being smaller than 1.0 and motorcycle being aprilia and class being 250cc ### Context: CREATE TABLE table_14139408_1 (pts VARCHAR, class VARCHAR, poles VARCHAR, motorcycle VARCHAR) ### Response: ### Response: SELECT pts FROM table_14139408_1 WHERE poles < 1.0 AND motorcycle = "Aprilia" AND class = "250cc"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 release date of the album written by Goss, James James Goss under Audiogo? ### Context: CREATE TABLE table_name_36 (release_date VARCHAR, writer VARCHAR, company VARCHAR) ### Response: ### Response: SELECT release_date FROM table_name_36 WHERE writer = "goss, james james goss" AND company = "audiogo"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 top 10s associated with 3 top 5s and under 22 cuts made? ### Context: CREATE TABLE table_name_13 (top_10 INTEGER, top_5 VARCHAR, cuts_made VARCHAR) ### Response: ### Response: SELECT MAX(top_10) FROM table_name_13 WHERE top_5 = 3 AND cuts_made < 22</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the chapter with chinese of 釋水 ### Context: CREATE TABLE table_name_28 (chapter VARCHAR, chinese VARCHAR) ### Response: ### Response: SELECT chapter FROM table_name_28 WHERE chinese = "釋水"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 current venues location is Mason, Ohio? ### Context: CREATE TABLE table_14903081_1 (current_venue VARCHAR, location VARCHAR) ### Response: ### Response: SELECT current_venue FROM table_14903081_1 WHERE location = "Mason, Ohio"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 minister for the CSV party with a present day end date? ### Context: CREATE TABLE table_name_43 (minister VARCHAR, party VARCHAR, end_date VARCHAR) ### Response: ### Response: SELECT minister FROM table_name_43 WHERE party = "csv" AND end_date = "present day"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 qual 1 for jan heylen ### Context: CREATE TABLE table_name_13 (qual_1 VARCHAR, name VARCHAR) ### Response: ### Response: SELECT qual_1 FROM table_name_13 WHERE name = "jan heylen"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 host country when the silver was [[|]] (2) and bronze is czechoslovakia (3)? ### Context: CREATE TABLE table_name_42 (host_country___countries VARCHAR, silver VARCHAR, bronze VARCHAR) ### Response: ### Response: SELECT host_country___countries FROM table_name_42 WHERE silver = "[[|]] (2)" AND bronze = "czechoslovakia (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 place with 90 point total but a position less than 5? ### Context: CREATE TABLE table_name_12 (place VARCHAR, position VARCHAR, points VARCHAR) ### Response: ### Response: SELECT place FROM table_name_12 WHERE position < 5 AND points = 90</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What's the engine used for rounds 5-6? ### Context: CREATE TABLE table_name_1 (engine VARCHAR, rounds VARCHAR) ### Response: ### Response: SELECT engine FROM table_name_1 WHERE rounds = "5-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: Find the list of page size which have more than 3 product listed ### Context: CREATE TABLE product (max_page_size VARCHAR) ### Response: ### Response: SELECT max_page_size FROM product GROUP BY max_page_size HAVING COUNT(*) > 3</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the most applications for 1986 ### Context: CREATE TABLE table_20007413_3 (applications INTEGER, year VARCHAR) ### Response: ### Response: SELECT MAX(applications) FROM table_20007413_3 WHERE year = "1986"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the total number of Assists, when Name is "Pablo Prigioni", and when Games is greater than 21? ### Context: CREATE TABLE table_name_94 (assists VARCHAR, name VARCHAR, games VARCHAR) ### Response: ### Response: SELECT COUNT(assists) FROM table_name_94 WHERE name = "pablo prigioni" AND games > 21</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How much money was spent when the amount after debt was $1,757,936? ### Context: CREATE TABLE table_name_19 (money_spent VARCHAR, _3q VARCHAR, after_debt VARCHAR) ### Response: ### Response: SELECT money_spent, _3q FROM table_name_19 WHERE after_debt = "$1,757,936"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is High Points, when Game is "3"? ### Context: CREATE TABLE table_name_81 (high_points VARCHAR, game VARCHAR) ### Response: ### Response: SELECT high_points FROM table_name_81 WHERE game = 3</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: On songs with track numbers smaller than number 17 and catalogues of LSP 2231, who are the writer(s)? ### Context: CREATE TABLE table_name_27 (writer_s_ VARCHAR, catalogue VARCHAR, track VARCHAR) ### Response: ### Response: SELECT writer_s_ FROM table_name_27 WHERE catalogue = "lsp 2231" AND track < 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 2005 figure when 2002 is A and 2010 is 3R? ### Context: CREATE TABLE table_name_29 (Id VARCHAR) ### Response: ### Response: SELECT 2005 FROM table_name_29 WHERE 2002 = "a" AND 2010 = "3r"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the team's record on februrary 23? ### Context: CREATE TABLE table_name_29 (record VARCHAR, february VARCHAR) ### Response: ### Response: SELECT record FROM table_name_29 WHERE february = 23</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is High Rebounds, when Location Attendance is "Time Warner Cable Arena 10,848"? ### Context: CREATE TABLE table_name_14 (high_rebounds VARCHAR, location_attendance VARCHAR) ### Response: ### Response: SELECT high_rebounds FROM table_name_14 WHERE location_attendance = "time warner cable arena 10,848"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What result did Indiana have when they were an opponent? ### Context: CREATE TABLE table_name_78 (result VARCHAR, opponent_number VARCHAR) ### Response: ### Response: SELECT result FROM table_name_78 WHERE opponent_number = "indiana"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 were there 97 qatari male births? ### Context: CREATE TABLE table_19309079_2 (year VARCHAR, qatari_male VARCHAR) ### Response: ### Response: SELECT COUNT(year) FROM table_19309079_2 WHERE qatari_male = 97</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the total number of patient portayers for the episode directed by Craig Zisk and written by Brad Falchuk? ### Context: CREATE TABLE table_26561508_1 (patient_portrayer VARCHAR, directed_by VARCHAR, written_by VARCHAR) ### Response: ### Response: SELECT COUNT(patient_portrayer) FROM table_26561508_1 WHERE directed_by = "Craig Zisk" AND written_by = "Brad Falchuk"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of clubs where "Tracy Kim" is a member. ### Context: CREATE TABLE student (stuid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubid VARCHAR) ### Response: ### Response: SELECT COUNT(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = "Tracy" AND t3.lname = "Kim"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Team Estudantes Paulista with a position less than 4 has what average against? ### Context: CREATE TABLE table_name_78 (against INTEGER, team VARCHAR, position VARCHAR) ### Response: ### Response: SELECT AVG(against) FROM table_name_78 WHERE team = "estudantes paulista" AND position < 4</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many golds were there in a game that has 17 bronze and a total of 31? ### Context: CREATE TABLE table_name_8 (gold VARCHAR, bronze VARCHAR, total VARCHAR) ### Response: ### Response: SELECT gold FROM table_name_8 WHERE bronze = "17" AND total = "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: How many prisons is Joan Leaven connected with? ### Context: CREATE TABLE table_2933761_1 (prison_connection VARCHAR, name VARCHAR) ### Response: ### Response: SELECT COUNT(prison_connection) FROM table_2933761_1 WHERE name = "Joan Leaven"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 games had red star as the runner up? ### Context: CREATE TABLE table_26455614_1 (attendance VARCHAR, runner_up VARCHAR) ### Response: ### Response: SELECT COUNT(attendance) FROM table_26455614_1 WHERE runner_up = "Red Star"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What city held that game with a 5:2 result? ### Context: CREATE TABLE table_name_5 (city VARCHAR, results¹ VARCHAR) ### Response: ### Response: SELECT city FROM table_name_5 WHERE results¹ = "5: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 was the result of the Georgia 8 district? ### Context: CREATE TABLE table_19753079_13 (result VARCHAR, district VARCHAR) ### Response: ### Response: SELECT result FROM table_19753079_13 WHERE district = "Georgia 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: When did San Jose visit the St. Louis? ### Context: CREATE TABLE table_name_91 (date VARCHAR, visitor VARCHAR) ### Response: ### Response: SELECT date FROM table_name_91 WHERE visitor = "san jose"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 played in Maryland the same year that Deep Run Valley LL Hilltown played in Pennsylvania? ### Context: CREATE TABLE table_13012165_1 (maryland VARCHAR, pennsylvania VARCHAR) ### Response: ### Response: SELECT maryland FROM table_13012165_1 WHERE pennsylvania = "Deep Run Valley LL Hilltown"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 venue when the runner up was Tennis Borussia Berlin, and the score was 4 – 2 *? ### Context: CREATE TABLE table_name_65 (venue VARCHAR, runners_up VARCHAR, score VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_65 WHERE runners_up = "tennis borussia berlin" AND score = "4 – 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 home team had the away team Southport? ### Context: CREATE TABLE table_name_9 (home_team VARCHAR, away_team VARCHAR) ### Response: ### Response: SELECT home_team FROM table_name_9 WHERE away_team = "southport"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 titles of all movies directed by steven spielberg. ### Context: CREATE TABLE Movie (title VARCHAR, director VARCHAR) ### Response: ### Response: SELECT title FROM Movie WHERE director = 'Steven Spielberg'</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Find the name of product that is produced by both companies Creative Labs and Sony. ### Context: CREATE TABLE manufacturers (code VARCHAR, name VARCHAR); CREATE TABLE products (name VARCHAR, Manufacturer VARCHAR) ### Response: ### Response: SELECT T1.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code WHERE T2.name = 'Creative Labs' INTERSECT SELECT T1.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code WHERE T2.name = 'Sony'</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Incumbent has a District of California 5? ### Context: CREATE TABLE table_name_99 (incumbent VARCHAR, district VARCHAR) ### Response: ### Response: SELECT incumbent FROM table_name_99 WHERE district = "california 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: Who is the studio host for the game broadcasted by Fox Sports Net west and has Chick Hearn as the play by play commentator ? ### Context: CREATE TABLE table_name_57 (studio_host VARCHAR, channel VARCHAR, play_by_play VARCHAR) ### Response: ### Response: SELECT studio_host FROM table_name_57 WHERE channel = "fox sports net west" AND play_by_play = "chick hearn"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 to par when the score is 67-68-76=211? ### Context: CREATE TABLE table_name_42 (to_par VARCHAR, score VARCHAR) ### Response: ### Response: SELECT to_par FROM table_name_42 WHERE score = 67 - 68 - 76 = 211</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What opponent did they have a bye result against before week 14? ### Context: CREATE TABLE table_name_19 (opponent VARCHAR, result VARCHAR, week VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_19 WHERE result = "bye" AND week < 14</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many goals were conceded by the team with more than 21 points more than 5 draws and less than 18 games played? ### Context: CREATE TABLE table_name_81 (goals_conceded INTEGER, played VARCHAR, draw VARCHAR, points VARCHAR) ### Response: ### Response: SELECT SUM(goals_conceded) FROM table_name_81 WHERE draw > 5 AND points > 21 AND played < 18</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What dance was Leeza Gibbons the worst dancer for, receiving a score lower than 15? ### Context: CREATE TABLE table_name_9 (best_score INTEGER, worst_dancer VARCHAR, worst_score VARCHAR) ### Response: ### Response: SELECT MIN(best_score) FROM table_name_9 WHERE worst_dancer = "leeza gibbons" AND worst_score < 15</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the rank of Bobby Grim when he finished 1059 laps? ### Context: CREATE TABLE table_name_95 (rank VARCHAR, laps VARCHAR) ### Response: ### Response: SELECT rank FROM table_name_95 WHERE laps = 1059</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Height (m/ft) for bucharest Built in 2009, and a Rank of 13? ### Context: CREATE TABLE table_name_47 (height__m_ft_ VARCHAR, rank VARCHAR, city VARCHAR, built VARCHAR) ### Response: ### Response: SELECT height__m_ft_ FROM table_name_47 WHERE city = "bucharest" AND built = 2009 AND rank = 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 was the kickoff time on monday, may 13? ### Context: CREATE TABLE table_1639689_2 (kickoff VARCHAR, date VARCHAR) ### Response: ### Response: SELECT kickoff FROM table_1639689_2 WHERE date = "Monday, May 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: Who are shown as candidates when George Darden is the incumbent? ### Context: CREATE TABLE table_1341598_11 (candidates VARCHAR, incumbent VARCHAR) ### Response: ### Response: SELECT candidates FROM table_1341598_11 WHERE incumbent = "George Darden"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Frequency has a Multiplier of 6×? ### Context: CREATE TABLE table_name_7 (frequency VARCHAR, multiplier VARCHAR) ### Response: ### Response: SELECT frequency FROM table_name_7 WHERE multiplier = "6×"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What shows for 2009 when the 2012 is 1R? ### Context: CREATE TABLE table_name_5 (Id VARCHAR) ### Response: ### Response: SELECT 2009 FROM table_name_5 WHERE 2012 = "1r"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Driver has less than 84 laps, more than 9 points and is on Rocketsports Racing Team? ### Context: CREATE TABLE table_name_68 (driver VARCHAR, team VARCHAR, laps VARCHAR, points VARCHAR) ### Response: ### Response: SELECT driver FROM table_name_68 WHERE laps < 84 AND points > 9 AND team = "rocketsports racing"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tittles have an original air date of March 19, 1998 ### Context: CREATE TABLE table_11951237_4 (title VARCHAR, original_air_date VARCHAR) ### Response: ### Response: SELECT title FROM table_11951237_4 WHERE original_air_date = "March 19, 1998"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the birth date of the woman who ceased to be Queen on 18 Jun 1297? ### Context: CREATE TABLE table_name_47 (birth VARCHAR, ceased_to_be_queen VARCHAR) ### Response: ### Response: SELECT birth FROM table_name_47 WHERE ceased_to_be_queen = "18 jun 1297"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 country of player ed sneed with a to par of +3? ### Context: CREATE TABLE table_name_15 (country VARCHAR, to_par VARCHAR, player VARCHAR) ### Response: ### Response: SELECT country FROM table_name_15 WHERE to_par = "+3" AND player = "ed sneed"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 other party nominee for district 3? ### Context: CREATE TABLE table_name_35 (other_party VARCHAR, district VARCHAR) ### Response: ### Response: SELECT other_party FROM table_name_35 WHERE district = 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: Please show the most common type of ships. ### Context: CREATE TABLE ship (TYPE VARCHAR) ### Response: ### Response: SELECT TYPE FROM ship GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 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 total number of pommel horses for vault of 9.475 and rank more than 16 ### Context: CREATE TABLE table_name_65 (pommel_horse VARCHAR, rank VARCHAR, vault VARCHAR) ### Response: ### Response: SELECT COUNT(pommel_horse) FROM table_name_65 WHERE rank > 16 AND vault = 9.475</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has there been a competition in Helsinki? ### Context: CREATE TABLE table_name_78 (year VARCHAR, location VARCHAR) ### Response: ### Response: SELECT COUNT(year) FROM table_name_78 WHERE location = "helsinki"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 UEFA Euro 2008 Qualifying competition? ### Context: CREATE TABLE table_name_97 (result VARCHAR, competition VARCHAR) ### Response: ### Response: SELECT result FROM table_name_97 WHERE competition = "uefa euro 2008 qualifying"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Red Wings home game against Anaheim? ### Context: CREATE TABLE table_name_30 (date VARCHAR, visitor VARCHAR) ### Response: ### Response: SELECT date FROM table_name_30 WHERE visitor = "anaheim"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Congress has a # of cosponsors of 19? ### Context: CREATE TABLE table_name_51 (congress VARCHAR, _number_of_cosponsors VARCHAR) ### Response: ### Response: SELECT congress FROM table_name_51 WHERE _number_of_cosponsors = 19</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What were the active dates for the storm that had 185km/h (115mph) deaths? ### Context: CREATE TABLE table_10602294_1 (dates_active VARCHAR, deaths VARCHAR) ### Response: ### Response: SELECT dates_active FROM table_10602294_1 WHERE deaths = "185km/h (115mph)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Departure time at Rajendranagar Terminal? ### Context: CREATE TABLE table_name_66 (departure VARCHAR, station_name VARCHAR) ### Response: ### Response: SELECT departure FROM table_name_66 WHERE station_name = "rajendranagar terminal"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: On which date was the result w20-0? ### Context: CREATE TABLE table_name_66 (date VARCHAR, result VARCHAR) ### Response: ### Response: SELECT date FROM table_name_66 WHERE result = "w20-0"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Competition has a Date of may 2, 1993? ### Context: CREATE TABLE table_name_12 (competition VARCHAR, date VARCHAR) ### Response: ### Response: SELECT competition FROM table_name_12 WHERE date = "may 2, 1993"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 original airdate with writer(s) being becky hartman edwards and director being adam nimoy ### Context: CREATE TABLE table_13956521_2 (original_airdate VARCHAR, writer_s_ VARCHAR, director VARCHAR) ### Response: ### Response: SELECT COUNT(original_airdate) FROM table_13956521_2 WHERE writer_s_ = "Becky Hartman Edwards" AND director = "Adam Nimoy"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 school colors is there for the main campus location of highland? ### Context: CREATE TABLE table_12434380_1 (school_colors VARCHAR, main_campus_location VARCHAR) ### Response: ### Response: SELECT COUNT(school_colors) FROM table_12434380_1 WHERE main_campus_location = "Highland"</s>