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 kind of Week 2 has a Week 4 of araya robinson? ### Context: CREATE TABLE table_name_15 (week_2 VARCHAR, week_4 VARCHAR) ### Response: ### Response: SELECT week_2 FROM table_name_15 WHERE week_4 = "araya robinson"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pick number for bill atessis ### Context: CREATE TABLE table_name_15 (pick__number VARCHAR, name VARCHAR) ### Response: ### Response: SELECT pick__number FROM table_name_15 WHERE name = "bill atessis"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 competition on 29 November 1997 that resulted in a draw? ### Context: CREATE TABLE table_name_97 (competition VARCHAR, result VARCHAR, date VARCHAR) ### Response: ### Response: SELECT competition FROM table_name_97 WHERE result = "draw" AND date = "29 november 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: how many wins did pitcher jon matlack category:articles with hcards achieve ### Context: CREATE TABLE table_19864214_3 (wins VARCHAR, pitcher VARCHAR) ### Response: ### Response: SELECT COUNT(wins) FROM table_19864214_3 WHERE pitcher = "Jon Matlack Category:Articles with hCards"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tourist arrivals occurred in 2011 in the country of Italy? ### Context: CREATE TABLE table_14752049_1 (international_tourist_arrivals__2011_ VARCHAR, country VARCHAR) ### Response: ### Response: SELECT international_tourist_arrivals__2011_ FROM table_14752049_1 WHERE country = "Italy"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 were lost that had goals against of 5? ### Context: CREATE TABLE table_name_15 (lost VARCHAR, goals_against VARCHAR) ### Response: ### Response: SELECT lost FROM table_name_15 WHERE goals_against = "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: Which Third has a Nation of scotland? ### Context: CREATE TABLE table_name_14 (third VARCHAR, nation VARCHAR) ### Response: ### Response: SELECT third FROM table_name_14 WHERE nation = "scotland"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the lowest grid that has over 67 laps with stefan bellof driving? ### Context: CREATE TABLE table_name_52 (grid INTEGER, laps VARCHAR, driver VARCHAR) ### Response: ### Response: SELECT MIN(grid) FROM table_name_52 WHERE laps > 67 AND driver = "stefan bellof"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How much was the prize money for rwe-sporthalle, mülheim ? ### Context: CREATE TABLE table_18828487_1 (prize_fund VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT prize_fund FROM table_18828487_1 WHERE venue = "RWE-Sporthalle, Mülheim"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 valid poll with seats more than 4 and candidates more than 9 ### Context: CREATE TABLE table_name_67 (valid_poll VARCHAR, seats VARCHAR, candidates VARCHAR) ### Response: ### Response: SELECT COUNT(valid_poll) FROM table_name_67 WHERE seats > 4 AND candidates > 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 call sign for country station fm 93.1? ### Context: CREATE TABLE table_name_34 (call_sign VARCHAR, format VARCHAR, frequency VARCHAR) ### Response: ### Response: SELECT call_sign FROM table_name_34 WHERE format = "country" AND frequency = "fm 93.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: Week that has a Date of december 5, 1959 had what week? ### Context: CREATE TABLE table_name_4 (week VARCHAR, date VARCHAR) ### Response: ### Response: SELECT week FROM table_name_4 WHERE date = "december 5, 1959"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What rank has a rating of 146.8? ### Context: CREATE TABLE table_19517448_3 (rank VARCHAR, rating VARCHAR) ### Response: ### Response: SELECT rank FROM table_19517448_3 WHERE rating = "146.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: Show the people that have been comptroller the most times and the corresponding number of times. ### Context: CREATE TABLE party (Comptroller VARCHAR) ### Response: ### Response: SELECT Comptroller, COUNT(*) FROM party GROUP BY Comptroller 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: What is Tournament, when 1996 is "1R", and when 1990 is "SF"? ### Context: CREATE TABLE table_name_92 (tournament VARCHAR) ### Response: ### Response: SELECT tournament FROM table_name_92 WHERE 1996 = "1r" AND 1990 = "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: What is the CPU speed(s) of the New Plus type hardware? ### Context: CREATE TABLE table_name_74 (cpu_speed VARCHAR, type VARCHAR) ### Response: ### Response: SELECT cpu_speed FROM table_name_74 WHERE type = "new plus"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 percent cunt for the nation that had fuel oil stocks need only for industry as their fuel alternative? ### Context: CREATE TABLE table_21690339_1 (_percentage_cut VARCHAR, alternative_fuel VARCHAR) ### Response: ### Response: SELECT _percentage_cut FROM table_21690339_1 WHERE alternative_fuel = "Fuel oil stocks need only for industry"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Score has aN Outcome of winner on 4 november 1990? ### Context: CREATE TABLE table_name_66 (score VARCHAR, outcome VARCHAR, date VARCHAR) ### Response: ### Response: SELECT score FROM table_name_66 WHERE outcome = "winner" AND date = "4 november 1990"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What day was there a set 1 of 25-18? ### Context: CREATE TABLE table_name_23 (date VARCHAR, set_1 VARCHAR) ### Response: ### Response: SELECT date FROM table_name_23 WHERE set_1 = "25-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 event did Pakistan get the bronze medal at the 1988 Seoul Games? ### Context: CREATE TABLE table_name_82 (event VARCHAR, medal VARCHAR, games VARCHAR) ### Response: ### Response: SELECT event FROM table_name_82 WHERE medal = "bronze" AND games = "1988 seoul"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 unemployment rate in those places where the market income per capita is $16,981? ### Context: CREATE TABLE table_22815568_7 (unemployment_rate VARCHAR, market_income_per_capita VARCHAR) ### Response: ### Response: SELECT COUNT(unemployment_rate) FROM table_22815568_7 WHERE market_income_per_capita = "$16,981"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ran under the Socialist Labor ticket when Robert M. Morgenthau ran for the Democratic ticket? ### Context: CREATE TABLE table_name_28 (socialist_labor_ticket VARCHAR, democratic_ticket VARCHAR) ### Response: ### Response: SELECT socialist_labor_ticket FROM table_name_28 WHERE democratic_ticket = "robert m. morgenthau"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 area in km2 in 2011 for the Narsingdi District? ### Context: CREATE TABLE table_24027047_1 (area__km²__2011 VARCHAR, administrative_division VARCHAR) ### Response: ### Response: SELECT area__km²__2011 * * FROM table_24027047_1 WHERE administrative_division = "Narsingdi 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: Name the max game for attendance being 54774 ### Context: CREATE TABLE table_16710829_2 (game INTEGER, attendance VARCHAR) ### Response: ### Response: SELECT MAX(game) FROM table_16710829_2 WHERE attendance = 54774</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 and date of the most recent race? ### Context: CREATE TABLE races (name VARCHAR, date VARCHAR) ### Response: ### Response: SELECT name, date FROM races ORDER BY date 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: What is the molecular target listed under the compounded name of hemiasterlin (e7974) ### Context: CREATE TABLE table_12715053_1 (molecular_target VARCHAR, compound_name VARCHAR) ### Response: ### Response: SELECT molecular_target FROM table_12715053_1 WHERE compound_name = "Hemiasterlin (E7974)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is Date, when Time is "56.49"? ### Context: CREATE TABLE table_name_90 (date VARCHAR, time VARCHAR) ### Response: ### Response: SELECT date FROM table_name_90 WHERE time = "56.49"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: When the PCT route available is yes and the maximum term is 10 years, what are the available conversions from patent applications? ### Context: CREATE TABLE table_2279413_1 (conversion_from_patent_application VARCHAR, maximum_term VARCHAR, pct_route_available VARCHAR) ### Response: ### Response: SELECT conversion_from_patent_application FROM table_2279413_1 WHERE maximum_term = "10 years" AND pct_route_available = "Yes"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 opponent knockout Barry Prior in more than 2 rounds? ### Context: CREATE TABLE table_name_53 (date VARCHAR, opponent VARCHAR, method VARCHAR, round VARCHAR) ### Response: ### Response: SELECT date FROM table_name_53 WHERE method = "knockout" AND round > 2 AND opponent = "barry prior"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 goals of the player with 234 apps and a rank above 8? ### Context: CREATE TABLE table_name_13 (goals INTEGER, apps VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT AVG(goals) FROM table_name_13 WHERE apps = 234 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: Name the number of lost where tries for is 109 ### Context: CREATE TABLE table_17625749_1 (lost VARCHAR, tries_for VARCHAR) ### Response: ### Response: SELECT COUNT(lost) FROM table_17625749_1 WHERE tries_for = "109"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the date of birth for the player from Ulster and plays at Centre position? ### Context: CREATE TABLE table_name_26 (date_of_birth__age_ VARCHAR, club_province VARCHAR, position VARCHAR) ### Response: ### Response: SELECT date_of_birth__age_ FROM table_name_26 WHERE club_province = "ulster" AND position = "centre"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 host for john rotz and howard cosell ### Context: CREATE TABLE table_22514845_5 (s_host VARCHAR, s_analyst VARCHAR) ### Response: ### Response: SELECT s_host FROM table_22514845_5 WHERE s_analyst = "John Rotz and Howard Cosell"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the score when the tie number is 4? ### Context: CREATE TABLE table_name_47 (score VARCHAR, tie_no VARCHAR) ### Response: ### Response: SELECT score FROM table_name_47 WHERE tie_no = "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: Where did Darius Hamilton go? ### Context: CREATE TABLE table_11677691_6 (school VARCHAR, player VARCHAR) ### Response: ### Response: SELECT school FROM table_11677691_6 WHERE player = "Darius Hamilton"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 highest number of votes for mir-hossein mousavi when the number of invalid votes is 5683 ### Context: CREATE TABLE table_23390604_1 (mir_hossein_mousavi INTEGER, spoiled_ballots VARCHAR) ### Response: ### Response: SELECT MAX(mir_hossein_mousavi) FROM table_23390604_1 WHERE spoiled_ballots = 5683</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did congressman joseph tydings enter take his seat? ### Context: CREATE TABLE table_24415627_2 (entered_senate VARCHAR, senator VARCHAR) ### Response: ### Response: SELECT entered_senate FROM table_24415627_2 WHERE senator = "Joseph Tydings"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 result for south carolina 4 ### Context: CREATE TABLE table_1341930_40 (result VARCHAR, district VARCHAR) ### Response: ### Response: SELECT result FROM table_1341930_40 WHERE district = "South Carolina 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: When was the lock with 10 caps born? ### Context: CREATE TABLE table_name_20 (date_of_birth__age_ VARCHAR, position VARCHAR, caps VARCHAR) ### Response: ### Response: SELECT date_of_birth__age_ FROM table_name_20 WHERE position = "lock" AND caps = 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 total number of losses Jackson, T., who had more than 27 gain, an avg/g smaller than 55.9, and a long less than 34, had? ### Context: CREATE TABLE table_name_41 (loss VARCHAR, long VARCHAR, name VARCHAR, gain VARCHAR, avg_g VARCHAR) ### Response: ### Response: SELECT COUNT(loss) FROM table_name_41 WHERE gain > 27 AND avg_g < 55.9 AND name = "jackson, t." AND long < 34</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: where is Fisk University located? ### Context: CREATE TABLE table_262481_2 (location VARCHAR, institution VARCHAR) ### Response: ### Response: SELECT location FROM table_262481_2 WHERE institution = "Fisk University"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What's the series number of the episode seen by 9.35 million people in the US? ### Context: CREATE TABLE table_19401346_1 (no_in_series INTEGER, us_viewers__millions_ VARCHAR) ### Response: ### Response: SELECT MIN(no_in_series) FROM table_19401346_1 WHERE us_viewers__millions_ = "9.35"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the administrative capital of LGA name Akuku-Toru? ### Context: CREATE TABLE table_1966992_1 (administrative_capital VARCHAR, lga_name VARCHAR) ### Response: ### Response: SELECT administrative_capital FROM table_1966992_1 WHERE lga_name = "Akuku-Toru"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 position was played by the player wearing jersey number 40? ### Context: CREATE TABLE table_name_23 (position VARCHAR, jersey_number_s_ VARCHAR) ### Response: ### Response: SELECT position FROM table_name_23 WHERE jersey_number_s_ = 40</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Trevard Lindley's number? ### Context: CREATE TABLE table_14624447_33 (number INTEGER, name VARCHAR) ### Response: ### Response: SELECT MAX(number) FROM table_14624447_33 WHERE name = "Trevard Lindley"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 spectators on week 4? ### Context: CREATE TABLE table_name_98 (attendance VARCHAR, week VARCHAR) ### Response: ### Response: SELECT COUNT(attendance) FROM table_name_98 WHERE week = 4</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which High assists has a Score of w 71-56? ### Context: CREATE TABLE table_name_85 (high_assists VARCHAR, score VARCHAR) ### Response: ### Response: SELECT high_assists FROM table_name_85 WHERE score = "w 71-56"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the score when 50,514 people were in attendance? ### Context: CREATE TABLE table_name_54 (result VARCHAR, attendance VARCHAR) ### Response: ### Response: SELECT result FROM table_name_54 WHERE attendance = "50,514"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the maximum basketball game? ### Context: CREATE TABLE table_27715173_2 (game INTEGER) ### Response: ### Response: SELECT MAX(game) FROM table_27715173_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 are the earliest year with games played fewer than 2? ### Context: CREATE TABLE table_name_96 (first_game INTEGER, played INTEGER) ### Response: ### Response: SELECT MIN(first_game) FROM table_name_96 WHERE played < 2</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many literate males are there in the taluka name nevasa? ### Context: CREATE TABLE table_28939145_2 (Literate INTEGER, taluka_name VARCHAR) ### Response: ### Response: SELECT MAX(Literate) AS male FROM table_28939145_2 WHERE taluka_name = "Nevasa"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What date has the format of CD and catalog of alca-274? ### Context: CREATE TABLE table_name_72 (date VARCHAR, format VARCHAR, catalog VARCHAR) ### Response: ### Response: SELECT date FROM table_name_72 WHERE format = "cd" AND catalog = "alca-274"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 had a paste publication in 2009? ### Context: CREATE TABLE table_name_9 (country VARCHAR, year VARCHAR, publication VARCHAR) ### Response: ### Response: SELECT country FROM table_name_9 WHERE year = 2009 AND publication = "paste"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 yen galagnara is the name what is the highest total days in the pbb house? ### Context: CREATE TABLE table_19061741_1 (total_days_in_pbb_house INTEGER, name VARCHAR) ### Response: ### Response: SELECT MAX(total_days_in_pbb_house) FROM table_19061741_1 WHERE name = "Yen Galagnara"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the home team's score when south melbourne is away? ### Context: CREATE TABLE table_name_23 (home_team VARCHAR, away_team VARCHAR) ### Response: ### Response: SELECT home_team AS score FROM table_name_23 WHERE away_team = "south melbourne"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Office has a Party of dem, and a First Elected of 1991†? ### Context: CREATE TABLE table_name_2 (office VARCHAR, party VARCHAR, first_elected VARCHAR) ### Response: ### Response: SELECT office FROM table_name_2 WHERE party = "dem" AND first_elected = "1991†"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many golds for Canada (12 total)? ### Context: CREATE TABLE table_name_7 (gold VARCHAR, total VARCHAR, nation VARCHAR) ### Response: ### Response: SELECT gold FROM table_name_7 WHERE total > 12 AND nation = "canada"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the highest placing for marie mcneil / robert mccall, with less than 168.58? ### Context: CREATE TABLE table_name_82 (placings INTEGER, name VARCHAR, points VARCHAR) ### Response: ### Response: SELECT MAX(placings) FROM table_name_82 WHERE name = "marie mcneil / robert mccall" AND points < 168.58</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Surface has an Opponent in the final of daniella dominikovic? ### Context: CREATE TABLE table_name_5 (surface VARCHAR, opponent_in_the_final VARCHAR) ### Response: ### Response: SELECT surface FROM table_name_5 WHERE opponent_in_the_final = "daniella dominikovic"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 rank on airdate march 30, 2011? ### Context: CREATE TABLE table_27987623_4 (rank_timeslot_ VARCHAR, airdate VARCHAR) ### Response: ### Response: SELECT COUNT(rank_timeslot_) FROM table_27987623_4 WHERE airdate = "March 30, 2011"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the margin of victory when Brandt Snedeker was runner-up? ### Context: CREATE TABLE table_name_38 (margin_of_victory VARCHAR, runner_up VARCHAR) ### Response: ### Response: SELECT margin_of_victory FROM table_name_38 WHERE runner_up = "brandt snedeker"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: University of Minnesota of ṭ had what Deloria & Boas? ### Context: CREATE TABLE table_name_66 (deloria_ VARCHAR, _boas VARCHAR, university_of_minnesota VARCHAR) ### Response: ### Response: SELECT deloria_ & _boas FROM table_name_66 WHERE university_of_minnesota = "ṭ"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the Date of the Athlete from Ferris High School? ### Context: CREATE TABLE table_name_17 (date VARCHAR, school VARCHAR) ### Response: ### Response: SELECT date FROM table_name_17 WHERE school = "ferris 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: Who is the writer of episode 13? ### Context: CREATE TABLE table_2226817_8 (written_by VARCHAR, no_in_season VARCHAR) ### Response: ### Response: SELECT COUNT(written_by) FROM table_2226817_8 WHERE no_in_season = 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 shows as the First US Tour Cast when the Original Broadway Cast was Sarah Bolt? ### Context: CREATE TABLE table_name_16 (first_us_tour_cast VARCHAR, original_broadway_cast VARCHAR) ### Response: ### Response: SELECT first_us_tour_cast FROM table_name_16 WHERE original_broadway_cast = "sarah bolt"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Record that has the Score of 100-105? ### Context: CREATE TABLE table_name_99 (record VARCHAR, score VARCHAR) ### Response: ### Response: SELECT record FROM table_name_99 WHERE score = "100-105"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What were the number of voters McCain had when Obama had 895? ### Context: CREATE TABLE table_20693870_1 (mccain_number VARCHAR, obama_number VARCHAR) ### Response: ### Response: SELECT mccain_number FROM table_20693870_1 WHERE obama_number = 895</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 base pairs are there if the molecular weight is 102? ### Context: CREATE TABLE table_140968_1 (size___s_base_pair__ VARCHAR, molecular_weight_kda VARCHAR) ### Response: ### Response: SELECT COUNT(size___s_base_pair__) FROM table_140968_1 WHERE molecular_weight_kda = "102"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What does the basic stem (root) -rama- mean? ### Context: CREATE TABLE table_12784134_1 (meaning VARCHAR, basic_stem__root_ VARCHAR) ### Response: ### Response: SELECT meaning FROM table_12784134_1 WHERE basic_stem__root_ = "-rama-"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mf from England play for Gillingham that made 0 goals and less than 37 appearances? ### Context: CREATE TABLE table_name_79 (gillingham_career VARCHAR, position VARCHAR, nationality VARCHAR, goals VARCHAR, apps VARCHAR) ### Response: ### Response: SELECT gillingham_career FROM table_name_79 WHERE goals = 0 AND apps < 37 AND nationality = "england" AND position = "mf"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who directed the film titled 'Steam of Life'? ### Context: CREATE TABLE table_22020724_1 (director VARCHAR, film_title_used_in_nomination VARCHAR) ### Response: ### Response: SELECT director FROM table_22020724_1 WHERE film_title_used_in_nomination = "Steam of Life"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is the opponent lyoto machida? ### Context: CREATE TABLE table_name_94 (date VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT date FROM table_name_94 WHERE opponent = "lyoto machida"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is the email of the party that has used the services the most number of times? ### Context: CREATE TABLE parties (party_email VARCHAR, party_id VARCHAR); CREATE TABLE party_services (customer_id VARCHAR) ### Response: ### Response: SELECT t1.party_email FROM parties AS t1 JOIN party_services AS t2 ON t1.party_id = t2.customer_id GROUP BY t1.party_email 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: Which match was played on April 2, 2006? ### Context: CREATE TABLE table_name_78 (competition VARCHAR, date VARCHAR) ### Response: ### Response: SELECT competition FROM table_name_78 WHERE date = "april 2, 2006"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many pf catagories are listed for the skip that had 3 for l ### Context: CREATE TABLE table_25714995_2 (pf VARCHAR, l VARCHAR) ### Response: ### Response: SELECT COUNT(pf) FROM table_25714995_2 WHERE l = 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 position is the player Jordan Fransoo in? ### Context: CREATE TABLE table_11803648_20 (position VARCHAR, player VARCHAR) ### Response: ### Response: SELECT position FROM table_11803648_20 WHERE player = "Jordan Fransoo"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was the background university student? ### Context: CREATE TABLE table_26263322_1 (result VARCHAR, background VARCHAR) ### Response: ### Response: SELECT COUNT(result) FROM table_26263322_1 WHERE background = "University Student"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 acting segment of 林佩琪 lin peiqi's events that are eliminated? ### Context: CREATE TABLE table_name_36 (acting_segment VARCHAR, status VARCHAR, name VARCHAR) ### Response: ### Response: SELECT acting_segment FROM table_name_36 WHERE status = "eliminated" AND name = "林佩琪 lin peiqi"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 away team at junction oval? ### Context: CREATE TABLE table_name_74 (away_team VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT away_team FROM table_name_74 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: What is the record of the game with 28,135 people in attendance? ### Context: CREATE TABLE table_name_30 (record VARCHAR, attendance VARCHAR) ### Response: ### Response: SELECT record FROM table_name_30 WHERE attendance = "28,135"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 listed for the Class that's got a Team of Cagiva and Points of 4? ### Context: CREATE TABLE table_name_17 (class VARCHAR, team VARCHAR, points VARCHAR) ### Response: ### Response: SELECT class FROM table_name_17 WHERE team = "cagiva" AND points = 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: List document type codes and the number of documents in each code. ### Context: CREATE TABLE Documents (document_type_code VARCHAR) ### Response: ### Response: SELECT document_type_code, COUNT(*) FROM Documents GROUP BY document_type_code</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 least amount for Goals Olimpia? ### Context: CREATE TABLE table_13688489_1 (goals_olimpia INTEGER) ### Response: ### Response: SELECT MIN(goals_olimpia) FROM table_13688489_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: How many games were played by the Scottish Wanderers where less than 5 Points were scored? ### Context: CREATE TABLE table_name_21 (played INTEGER, team VARCHAR, points VARCHAR) ### Response: ### Response: SELECT SUM(played) FROM table_name_21 WHERE team = "scottish wanderers" AND points < 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: At what time did the opponent Takaichi Hirayama have an event? ### Context: CREATE TABLE table_name_83 (time VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT time FROM table_name_83 WHERE opponent = "takaichi hirayama"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 class when the identifier is cbf-fm-14? ### Context: CREATE TABLE table_name_94 (class VARCHAR, identifier VARCHAR) ### Response: ### Response: SELECT class FROM table_name_94 WHERE identifier = "cbf-fm-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: I want to know the 2001 that has a 2004 of a and 2003 of a with 2012 of 3r ### Context: CREATE TABLE table_name_53 (Id VARCHAR) ### Response: ### Response: SELECT 2001 FROM table_name_53 WHERE 2004 = "a" AND 2003 = "a" AND 2012 = "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 main presenters of La Granja? ### Context: CREATE TABLE table_1053802_1 (main_presenters VARCHAR, local_title VARCHAR) ### Response: ### Response: SELECT main_presenters FROM table_1053802_1 WHERE local_title = "La Granja"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the lowest bronze a team with 9 silvers, a total larger than 13, and more than 13 gold medals has? ### Context: CREATE TABLE table_name_58 (bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR) ### Response: ### Response: SELECT MIN(bronze) FROM table_name_58 WHERE silver = 9 AND total > 13 AND gold > 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: How many models do not have the wifi function? ### Context: CREATE TABLE chip_model (wifi VARCHAR) ### Response: ### Response: SELECT COUNT(*) FROM chip_model WHERE wifi = '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's the English name for the month with พ.ย. abbreviation? ### Context: CREATE TABLE table_180802_2 (english_name VARCHAR, abbr VARCHAR) ### Response: ### Response: SELECT english_name FROM table_180802_2 WHERE abbr = "พ.ย."</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 tie that had 19129 attendance? ### Context: CREATE TABLE table_24887326_6 (tie_no INTEGER, attendance VARCHAR) ### Response: ### Response: SELECT MAX(tie_no) FROM table_24887326_6 WHERE attendance = 19129</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 info for the year 2010, for the Australian Open tournament? ### Context: CREATE TABLE table_name_33 (tournament VARCHAR) ### Response: ### Response: SELECT 2010 FROM table_name_33 WHERE tournament = "australian open"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Series has an Opponent of calgary flames, and a Score of 9–4? ### Context: CREATE TABLE table_name_3 (series VARCHAR, opponent VARCHAR, score VARCHAR) ### Response: ### Response: SELECT series FROM table_name_3 WHERE opponent = "calgary flames" AND score = "9–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: Name the minimum 11-12 enrollment for washington school ### Context: CREATE TABLE table_17641314_3 (school VARCHAR) ### Response: ### Response: SELECT MIN(11 AS _12_enrollment) FROM table_17641314_3 WHERE school = "Washington"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did New Jersey Devils played in? ### Context: CREATE TABLE table_name_54 (game VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT game FROM table_name_54 WHERE opponent = "new jersey devils"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What Position is Team Sahara Force india f1 team with 46 Points? ### Context: CREATE TABLE table_name_38 (position VARCHAR, team VARCHAR, points VARCHAR) ### Response: ### Response: SELECT position FROM table_name_38 WHERE team = "sahara force india f1 team" AND points = "46"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How old were Mitchell & Jessica when they danced the Cha-Cha-Cha? ### Context: CREATE TABLE table_name_48 (ages VARCHAR, dance VARCHAR, pair VARCHAR) ### Response: ### Response: SELECT ages FROM table_name_48 WHERE dance = "cha-cha-cha" AND pair = "mitchell & jessica"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 swimmer in lane 6? ### Context: CREATE TABLE table_name_87 (name VARCHAR, lane VARCHAR) ### Response: ### Response: SELECT name FROM table_name_87 WHERE lane = 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: When did the episode with season number 10b air for the first time? ### Context: CREATE TABLE table_14035132_3 (original_air_date VARCHAR, no_in_season VARCHAR) ### Response: ### Response: SELECT original_air_date FROM table_14035132_3 WHERE no_in_season = "10b"</s>