inputs
stringlengths
400
1.34k
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the 2nd verb for chena? ### Context: CREATE TABLE table_name_7 (verb VARCHAR) ### Response: ### Response: SELECT 2 AS __f_ FROM table_name_7 WHERE verb = "chena"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What title was published on November 2001 and has a 1st Doctor? ### Context: CREATE TABLE table_name_99 (title VARCHAR, doctor VARCHAR, published VARCHAR) ### Response: ### Response: SELECT title FROM table_name_99 WHERE doctor = "1st" AND published = "november 2001"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the result of the game held at the As-Salt venue? ### Context: CREATE TABLE table_name_28 (result VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT result FROM table_name_28 WHERE venue = "as-salt"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: On what date is there a match lower than 14 with a ground of H and the opponent Aston Villa under 18s? ### Context: CREATE TABLE table_name_11 (date VARCHAR, opponent VARCHAR, match VARCHAR, ground VARCHAR) ### Response: ### Response: SELECT date FROM table_name_11 WHERE match < 14 AND ground = "h" AND opponent = "aston villa under 18s"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 times is the production code is 201a? ### Context: CREATE TABLE table_2701851_3 (title VARCHAR, production_code VARCHAR) ### Response: ### Response: SELECT COUNT(title) FROM table_2701851_3 WHERE production_code = "201a"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Projects template has an IntelliTrace of no, and a Windows Phone development of yes, and a Test impact analysis of no? ### Context: CREATE TABLE table_name_39 (projects_templates VARCHAR, test_impact_analysis VARCHAR, intellitrace VARCHAR, windows_phone_development VARCHAR) ### Response: ### Response: SELECT projects_templates FROM table_name_39 WHERE intellitrace = "no" AND windows_phone_development = "yes" AND test_impact_analysis = "no"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Venue of the game with a Score of 0–0? ### Context: CREATE TABLE table_name_47 (venue VARCHAR, score VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_47 WHERE score = "0–0"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Find courses that ran in Fall 2009 or in Spring 2010. ### Context: CREATE TABLE SECTION (course_id VARCHAR, semester VARCHAR, YEAR VARCHAR) ### Response: ### Response: SELECT course_id FROM SECTION WHERE semester = 'Fall' AND YEAR = 2009 UNION SELECT course_id FROM SECTION WHERE semester = 'Spring' AND YEAR = 2010</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many people were at the game that took place at the Kingdome? ### Context: CREATE TABLE table_name_21 (attendance VARCHAR, game_site VARCHAR) ### Response: ### Response: SELECT attendance FROM table_name_21 WHERE game_site = "the kingdome"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Round, when Pick # is greater than 70, and when Position is Tackle? ### Context: CREATE TABLE table_name_22 (round INTEGER, pick__number VARCHAR, position VARCHAR) ### Response: ### Response: SELECT AVG(round) FROM table_name_22 WHERE pick__number > 70 AND position = "tackle"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Can you tell me the Team 2 that has the Venue of binh duong stadium, vietnam? ### Context: CREATE TABLE table_name_27 (team_2 VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT team_2 FROM table_name_27 WHERE venue = "binh duong stadium, vietnam"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Sat 21 Aug time for the rider whose Tues 24 Aug time was 20' 38.40 109.680mph? ### Context: CREATE TABLE table_26986076_6 (sat_21_aug VARCHAR, tues_24_aug VARCHAR) ### Response: ### Response: SELECT sat_21_aug FROM table_26986076_6 WHERE tues_24_aug = "20' 38.40 109.680mph"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: When did the program air on Vier? ### Context: CREATE TABLE table_178242_1 (premiere___aired VARCHAR, channel VARCHAR) ### Response: ### Response: SELECT premiere___aired FROM table_178242_1 WHERE channel = "VIER"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 blockings occured in the game with 198 rebounds? ### Context: CREATE TABLE table_22993636_5 (blocks INTEGER, rebounds VARCHAR) ### Response: ### Response: SELECT MAX(blocks) FROM table_22993636_5 WHERE rebounds = 198</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Ravens' record on December 5, 1999? ### Context: CREATE TABLE table_name_33 (record VARCHAR, date VARCHAR) ### Response: ### Response: SELECT record FROM table_name_33 WHERE date = "december 5, 1999"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 against houston? ### Context: CREATE TABLE table_22893781_5 (score VARCHAR, team VARCHAR) ### Response: ### Response: SELECT score FROM table_22893781_5 WHERE team = "Houston"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Points have a December smaller than 6, and a Score of 1–1 ot, and a Game smaller than 28? ### Context: CREATE TABLE table_name_1 (points INTEGER, game VARCHAR, december VARCHAR, score VARCHAR) ### Response: ### Response: SELECT MIN(points) FROM table_name_1 WHERE december < 6 AND score = "1–1 ot" AND game < 28</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 3620 value with a 5432 of 5432 and a 15122 greater than 15122? ### Context: CREATE TABLE table_name_34 (Id VARCHAR) ### Response: ### Response: SELECT MAX(3620) FROM table_name_34 WHERE 5432 = 5432 AND 15122 > 15122</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Team D when Carmen Ada is team C? ### Context: CREATE TABLE table_name_61 (team_d VARCHAR, team_c VARCHAR) ### Response: ### Response: SELECT team_d FROM table_name_61 WHERE team_c = "carmen ada"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 latitude for a crater with a diameter of 12.8 km and a longitude of 208? ### Context: CREATE TABLE table_name_18 (latitude INTEGER, diameter__km_ VARCHAR, longitude VARCHAR) ### Response: ### Response: SELECT AVG(latitude) FROM table_name_18 WHERE diameter__km_ < 12.8 AND longitude < 208</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Show all transaction types. ### Context: CREATE TABLE Financial_Transactions (transaction_type VARCHAR) ### Response: ### Response: SELECT DISTINCT transaction_type FROM Financial_Transactions</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 on 12 March 2000? ### Context: CREATE TABLE table_name_24 (scorers VARCHAR, date VARCHAR) ### Response: ### Response: SELECT scorers FROM table_name_24 WHERE date = "12 march 2000"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the minimum capacity of Dundee United's stadium? ### Context: CREATE TABLE table_11208143_9 (capacity INTEGER, team VARCHAR) ### Response: ### Response: SELECT MIN(capacity) FROM table_11208143_9 WHERE team = "Dundee United"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What average total has 0 as the gold, with 6 as the rank? ### Context: CREATE TABLE table_name_69 (total INTEGER, gold VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT AVG(total) FROM table_name_69 WHERE gold = 0 AND rank = "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 kickoff has the opponent at new orleans saints? ### Context: CREATE TABLE table_11449590_2 (kickoff_ VARCHAR, a_ VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT kickoff_[a_] FROM table_11449590_2 WHERE opponent = "at New Orleans Saints"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what's the won with points for being 643 ### Context: CREATE TABLE table_14058433_5 (won VARCHAR, points_for VARCHAR) ### Response: ### Response: SELECT won FROM table_14058433_5 WHERE points_for = "643"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the amount of draws where a club had 51 tries for? ### Context: CREATE TABLE table_name_19 (drawn VARCHAR, tries_for VARCHAR) ### Response: ### Response: SELECT drawn FROM table_name_19 WHERE tries_for = "51"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Find the names of states that have some college students playing in goalie and mid positions. ### Context: CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR) ### Response: ### Response: SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie' INTERSECT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid'</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2009 has a 2006 of A, and a 2011 of sf? ### Context: CREATE TABLE table_name_83 (Id VARCHAR) ### Response: ### Response: SELECT 2009 FROM table_name_83 WHERE 2006 = "a" AND 2011 = "sf"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 crime rates of counties in ascending order of number of police officers. ### Context: CREATE TABLE county_public_safety (Crime_rate VARCHAR, Police_officers VARCHAR) ### Response: ### Response: SELECT Crime_rate FROM county_public_safety ORDER BY Police_officers</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 ranks when the Peak Name is Red Shirt Table? ### Context: CREATE TABLE table_name_51 (rank INTEGER, peak_name VARCHAR) ### Response: ### Response: SELECT SUM(rank) FROM table_name_51 WHERE peak_name = "red shirt table"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What film did abdelatif hwidar direct that was in the short film 2007 prix uip category? ### Context: CREATE TABLE table_name_93 (film VARCHAR, category VARCHAR, director_s_ VARCHAR) ### Response: ### Response: SELECT film FROM table_name_93 WHERE category = "short film 2007 prix uip" AND director_s_ = "abdelatif hwidar"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 programming for mrt sobraniski kanal? ### Context: CREATE TABLE table_name_71 (programming VARCHAR, name VARCHAR) ### Response: ### Response: SELECT programming FROM table_name_71 WHERE name = "mrt sobraniski kanal"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the score for the game against San Antonio? ### Context: CREATE TABLE table_name_97 (score VARCHAR, team VARCHAR) ### Response: ### Response: SELECT score FROM table_name_97 WHERE team = "san antonio"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 night rank is 9, what is the total share number? ### Context: CREATE TABLE table_19805130_3 (share VARCHAR, rank__night_ VARCHAR) ### Response: ### Response: SELECT COUNT(share) FROM table_19805130_3 WHERE rank__night_ = "9"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the location of the tiruchirappalli district? ### Context: CREATE TABLE table_name_73 (location VARCHAR, district VARCHAR) ### Response: ### Response: SELECT location FROM table_name_73 WHERE district = "tiruchirappalli district"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 overall rank with viewers (m) of 7.44 ### Context: CREATE TABLE table_11354111_3 (overall_rank VARCHAR, viewers__m_ VARCHAR) ### Response: ### Response: SELECT overall_rank FROM table_11354111_3 WHERE viewers__m_ = "7.44"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 the airport with ICAO of WADD? ### Context: CREATE TABLE table_name_88 (country VARCHAR, icao VARCHAR) ### Response: ### Response: SELECT country FROM table_name_88 WHERE icao = "wadd"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 france nationality has a lane larger than 3? ### Context: CREATE TABLE table_name_19 (name VARCHAR, lane VARCHAR, nationality VARCHAR) ### Response: ### Response: SELECT name FROM table_name_19 WHERE lane > 3 AND nationality = "france"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Tyre for the German Grand Prix? ### Context: CREATE TABLE table_name_27 (tyre VARCHAR, race VARCHAR) ### Response: ### Response: SELECT tyre FROM table_name_27 WHERE race = "german grand prix"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: When did the archbishop that was ordained a bishop on July 25, 1902 die? ### Context: CREATE TABLE table_name_62 (died VARCHAR, ordained_bishop VARCHAR) ### Response: ### Response: SELECT died FROM table_name_62 WHERE ordained_bishop = "july 25, 1902"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 authority has a Name of tamatea high school? ### Context: CREATE TABLE table_name_41 (authority VARCHAR, name VARCHAR) ### Response: ### Response: SELECT authority FROM table_name_41 WHERE name = "tamatea high school"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 on April 22? ### Context: CREATE TABLE table_name_53 (score VARCHAR, date VARCHAR) ### Response: ### Response: SELECT score FROM table_name_53 WHERE date = "april 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: How large was the crowd at Carlton's home game? ### Context: CREATE TABLE table_name_10 (crowd VARCHAR, home_team VARCHAR) ### Response: ### Response: SELECT COUNT(crowd) FROM table_name_10 WHERE home_team = "carlton"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the smallest crowd at junction oval? ### Context: CREATE TABLE table_name_61 (crowd INTEGER, venue VARCHAR) ### Response: ### Response: SELECT MIN(crowd) FROM table_name_61 WHERE venue = "junction oval"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: For the tournament ending with a margin of victory of 6 strokes, what was the winning score? ### Context: CREATE TABLE table_name_90 (winning_score VARCHAR, margin_of_victory VARCHAR) ### Response: ### Response: SELECT winning_score FROM table_name_90 WHERE margin_of_victory = "6 strokes"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: which team(s) won $2,605,05 ### Context: CREATE TABLE table_2012187_1 (team_s_ VARCHAR, winnings VARCHAR) ### Response: ### Response: SELECT team_s_ FROM table_2012187_1 WHERE winnings = "$2,605,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: At maximum, what are our goals? ### Context: CREATE TABLE table_1474099_6 (goals INTEGER) ### Response: ### Response: SELECT MAX(goals) FROM table_1474099_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 parties are represented in Massachusetts4 district? ### Context: CREATE TABLE table_1341522_24 (party VARCHAR, district VARCHAR) ### Response: ### Response: SELECT party FROM table_1341522_24 WHERE district = "Massachusetts4"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 distinct names of singers that have songs with sales more than 300000. ### Context: CREATE TABLE song (Singer_ID VARCHAR, Sales INTEGER); CREATE TABLE singer (Name VARCHAR, Singer_ID VARCHAR) ### Response: ### Response: SELECT DISTINCT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID WHERE T2.Sales > 300000</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the average number of deaths for earthquakes centered in Damghan? ### Context: CREATE TABLE table_name_84 (fatalities INTEGER, epicenter VARCHAR) ### Response: ### Response: SELECT AVG(fatalities) FROM table_name_84 WHERE epicenter = "damghan"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What school is located in rossville? ### Context: CREATE TABLE table_name_79 (school VARCHAR, location VARCHAR) ### Response: ### Response: SELECT school FROM table_name_79 WHERE location = "rossville"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 high rebounds after game 14 for Denver? ### Context: CREATE TABLE table_name_74 (high_rebounds VARCHAR, game VARCHAR, team VARCHAR) ### Response: ### Response: SELECT high_rebounds FROM table_name_74 WHERE game > 14 AND team = "denver"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 audience for Mi Amigo el Monstruo? ### Context: CREATE TABLE table_name_74 (audience VARCHAR, title VARCHAR) ### Response: ### Response: SELECT audience FROM table_name_74 WHERE title = "mi amigo el monstruo"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 1994, when 1996 is "Grand Slams"? ### Context: CREATE TABLE table_name_65 (Id VARCHAR) ### Response: ### Response: SELECT 1994 FROM table_name_65 WHERE 1996 = "grand slams"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 places named mongmong-toto-maite? ### Context: CREATE TABLE table_2588674_1 (region VARCHAR, village VARCHAR) ### Response: ### Response: SELECT COUNT(region) FROM table_2588674_1 WHERE village = "Mongmong-Toto-Maite"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Season Three premiered in region 2? ### Context: CREATE TABLE table_2113721_7 (region_2 VARCHAR, dvd_name VARCHAR) ### Response: ### Response: SELECT region_2 FROM table_2113721_7 WHERE dvd_name = "Season Three"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 names for the medalist in the sport of canoeing? ### Context: CREATE TABLE table_name_25 (name VARCHAR, sport VARCHAR) ### Response: ### Response: SELECT name FROM table_name_25 WHERE sport = "canoeing"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Can you tell me the Conference Joined that has the Mascot of little sycamores? ### Context: CREATE TABLE table_name_88 (conference_joined VARCHAR, mascot VARCHAR) ### Response: ### Response: SELECT conference_joined FROM table_name_88 WHERE mascot = "little sycamores"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Where was the location with Muirfield in Scotland? ### Context: CREATE TABLE table_name_4 (location VARCHAR, country VARCHAR, name VARCHAR) ### Response: ### Response: SELECT location FROM table_name_4 WHERE country = "scotland" AND name = "muirfield"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 event that happened in Gander, Newfoundland and Labrador with Randy Ferbey runner-up? ### Context: CREATE TABLE table_name_91 (event VARCHAR, runner_up_skip VARCHAR, location VARCHAR) ### Response: ### Response: SELECT event FROM table_name_91 WHERE runner_up_skip = "randy ferbey" AND location = "gander, newfoundland and labrador"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 IUPAC name for chloroform? ### Context: CREATE TABLE table_name_44 (iupac_name VARCHAR, common_name VARCHAR) ### Response: ### Response: SELECT iupac_name FROM table_name_44 WHERE common_name = "chloroform"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 home team that played at Brunswick Street Oval? ### Context: CREATE TABLE table_name_52 (home_team VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT home_team AS score FROM table_name_52 WHERE venue = "brunswick street oval"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the attendance of the match with rosso kumamoto as the away team? ### Context: CREATE TABLE table_name_82 (attendance VARCHAR, away_team VARCHAR) ### Response: ### Response: SELECT attendance FROM table_name_82 WHERE away_team = "rosso kumamoto"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Date has a TV Time of cbs 1:00pm, and a Game Site of rca dome, and an Opponent of cincinnati bengals? ### Context: CREATE TABLE table_name_7 (date VARCHAR, opponent VARCHAR, tv_time VARCHAR, game_site VARCHAR) ### Response: ### Response: SELECT date FROM table_name_7 WHERE tv_time = "cbs 1:00pm" AND game_site = "rca dome" AND opponent = "cincinnati bengals"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was after October 24 and had a record of 6-2-1? ### Context: CREATE TABLE table_name_70 (game VARCHAR, october VARCHAR, record VARCHAR) ### Response: ### Response: SELECT game FROM table_name_70 WHERE october > 24 AND record = "6-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 display size for the calculator released in 1997? ### Context: CREATE TABLE table_11703336_1 (display_size VARCHAR, year_released VARCHAR) ### Response: ### Response: SELECT display_size FROM table_11703336_1 WHERE year_released = "1997"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the score for Footscray when they were the away team? ### Context: CREATE TABLE table_name_66 (away_team VARCHAR) ### Response: ### Response: SELECT away_team AS score FROM table_name_66 WHERE away_team = "footscray"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 director of episode 11 based on season? ### Context: CREATE TABLE table_25277296_2 (directed_by VARCHAR, no_in_season VARCHAR) ### Response: ### Response: SELECT directed_by FROM table_25277296_2 WHERE no_in_season = 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 feb 2010 for january 2010 for 6.2% ### Context: CREATE TABLE table_25256368_1 (february_2010 VARCHAR, january_2010 VARCHAR) ### Response: ### Response: SELECT february_2010 FROM table_25256368_1 WHERE january_2010 = "6.2%"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What score has October 31 as the date? ### Context: CREATE TABLE table_name_18 (score VARCHAR, date VARCHAR) ### Response: ### Response: SELECT score FROM table_name_18 WHERE date = "october 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: The person that was notable for professional wrestling had a Born-Died of what year? ### Context: CREATE TABLE table_name_1 (born___died VARCHAR, notable_for VARCHAR) ### Response: ### Response: SELECT born___died FROM table_name_1 WHERE notable_for = "professional wrestling"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 there are more than 1 winners and the team playing is pachuca, what's the lowest runners-up found? ### Context: CREATE TABLE table_name_44 (runners_up INTEGER, team VARCHAR, winners VARCHAR) ### Response: ### Response: SELECT MIN(runners_up) FROM table_name_44 WHERE team = "pachuca" AND winners > 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 outcome in games where the score was 7-5, 2-6, [6-10]? ### Context: CREATE TABLE table_2259502_2 (outcome VARCHAR, score VARCHAR) ### Response: ### Response: SELECT outcome FROM table_2259502_2 WHERE score = "7-5, 2-6, [6-10]"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the Intergiro classification when the points classification is Paolo Bettini, Trofeo Super Team is Davitamon-Lotto, and the Mountains classification is José Rujano? ### Context: CREATE TABLE table_name_16 (intergiro_classification VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR, trofeo_super_team VARCHAR) ### Response: ### Response: SELECT intergiro_classification FROM table_name_16 WHERE points_classification = "paolo bettini" AND trofeo_super_team = "davitamon-lotto" AND mountains_classification = "josé rujano"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: When did the episode that had 5.09 million total viewers (both Live and SD types) first air? ### Context: CREATE TABLE table_24222929_3 (original_airdate VARCHAR, live VARCHAR, sd_total_viewers VARCHAR) ### Response: ### Response: SELECT original_airdate FROM table_24222929_3 WHERE live + sd_total_viewers = "5.09 million"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 had a time off course? ### Context: CREATE TABLE table_name_39 (driver VARCHAR, time_retired VARCHAR) ### Response: ### Response: SELECT driver FROM table_name_39 WHERE time_retired = "off course"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 time and speed for the rider ranked in 12 on Wed, June 3? ### Context: CREATE TABLE table_21607058_1 (wed_3_june VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT wed_3_june FROM table_21607058_1 WHERE rank = 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 total of crowd at Venue of mcg? ### Context: CREATE TABLE table_name_7 (crowd INTEGER, venue VARCHAR) ### Response: ### Response: SELECT SUM(crowd) FROM table_name_7 WHERE venue = "mcg"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what's the mission with primary payload(s) being spacelab life sciences-2 ### Context: CREATE TABLE table_14118521_1 (mission VARCHAR, primary_payload_s_ VARCHAR) ### Response: ### Response: SELECT mission FROM table_14118521_1 WHERE primary_payload_s_ = "Spacelab Life Sciences-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 location had an attendance of 22537? ### Context: CREATE TABLE table_16388545_1 (ground VARCHAR, crowd VARCHAR) ### Response: ### Response: SELECT ground FROM table_16388545_1 WHERE crowd = 22537</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What edition of congress for member-elect richard p. giles? ### Context: CREATE TABLE table_14158567_1 (congress VARCHAR, member_elect VARCHAR) ### Response: ### Response: SELECT congress FROM table_14158567_1 WHERE member_elect = "Richard P. Giles"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What district has an assembly segment named mahidpur? ### Context: CREATE TABLE table_name_20 (district VARCHAR, name VARCHAR) ### Response: ### Response: SELECT district FROM table_name_20 WHERE name = "mahidpur"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what is the most bronze when the total is 9? ### Context: CREATE TABLE table_name_94 (bronze INTEGER, total VARCHAR) ### Response: ### Response: SELECT MAX(bronze) FROM table_name_94 WHERE total = 9</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the score of the game when Blackpool was away? ### Context: CREATE TABLE table_name_77 (score VARCHAR, away_team VARCHAR) ### Response: ### Response: SELECT score FROM table_name_77 WHERE away_team = "blackpool"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 laps had a time stat of accident for the rider carmelo morales when the grid was more than 25? ### Context: CREATE TABLE table_name_84 (laps INTEGER, grid VARCHAR, time VARCHAR, rider VARCHAR) ### Response: ### Response: SELECT SUM(laps) FROM table_name_84 WHERE time = "accident" AND rider = "carmelo morales" AND grid > 25</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 lowest year for TCU? ### Context: CREATE TABLE table_name_79 (year INTEGER, winner VARCHAR) ### Response: ### Response: SELECT MIN(year) FROM table_name_79 WHERE winner = "tcu"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who won the womens singles event the year that Jonas Lyduch won? ### Context: CREATE TABLE table_12163387_1 (womens_singles VARCHAR, mens_singles VARCHAR) ### Response: ### Response: SELECT womens_singles FROM table_12163387_1 WHERE mens_singles = "Jonas Lyduch"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the genre of the BBC World Service? ### Context: CREATE TABLE table_name_77 (genre VARCHAR, station VARCHAR) ### Response: ### Response: SELECT genre FROM table_name_77 WHERE station = "bbc world service"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: The successor for the Massachusetts 20th district was seated on what date? ### Context: CREATE TABLE table_225098_4 (date_successor_seated VARCHAR, district VARCHAR) ### Response: ### Response: SELECT date_successor_seated FROM table_225098_4 WHERE district = "Massachusetts 20th"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 original air date for prod code 201 ### Context: CREATE TABLE table_2322716_2 (original_air_dates VARCHAR, prod_code VARCHAR) ### Response: ### Response: SELECT original_air_dates FROM table_2322716_2 WHERE prod_code = 201</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Length (ft.) for a 2008 nfi d40lf? ### Context: CREATE TABLE table_name_67 (length__ft_ VARCHAR, order_year VARCHAR, manufacturer VARCHAR, model VARCHAR) ### Response: ### Response: SELECT length__ft_ FROM table_name_67 WHERE manufacturer = "nfi" AND model = "d40lf" AND order_year = "2008"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What country has player Nick Faldo? ### Context: CREATE TABLE table_name_92 (country VARCHAR, player VARCHAR) ### Response: ### Response: SELECT country FROM table_name_92 WHERE player = "nick faldo"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who were the Investing Dragons in the episode that first aired on 18 January 2005 with the entrepreneur Tracey Herrtage? ### Context: CREATE TABLE table_name_65 (investing_dragon_s_ VARCHAR, first_aired VARCHAR, entrepreneur_s_ VARCHAR) ### Response: ### Response: SELECT investing_dragon_s_ FROM table_name_65 WHERE first_aired = "18 january 2005" AND entrepreneur_s_ = "tracey herrtage"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 record for a game past 44 against the Dallas Stars with more than 54 points? ### Context: CREATE TABLE table_name_25 (record VARCHAR, opponent VARCHAR, points VARCHAR, game VARCHAR) ### Response: ### Response: SELECT record FROM table_name_25 WHERE points > 54 AND game > 44 AND opponent = "dallas stars"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 % with total value of 249887 and queens value of 6.8% ### Context: CREATE TABLE table_1108394_43 (_percentage VARCHAR, total VARCHAR, queens VARCHAR) ### Response: ### Response: SELECT _percentage FROM table_1108394_43 WHERE total = 249887 AND queens = "6.8_percentage"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 race of ranvet stakes what is the group? ### Context: CREATE TABLE table_name_12 (group VARCHAR, race VARCHAR) ### Response: ### Response: SELECT group FROM table_name_12 WHERE race = "ranvet stakes"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 led to a record of 10-6? ### Context: CREATE TABLE table_name_94 (opponent VARCHAR, record VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_94 WHERE record = "10-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 was the lowest attendance at a game when there were fewer than 151 away fans and an opponent of Bury? ### Context: CREATE TABLE table_name_80 (attendance INTEGER, away_fans VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT MIN(attendance) FROM table_name_80 WHERE away_fans < 151 AND opponent = "bury"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 released for pat mills ### Context: CREATE TABLE table_1620397_2 (released VARCHAR, author VARCHAR) ### Response: ### Response: SELECT released FROM table_1620397_2 WHERE author = "Pat Mills"</s>