inputs
stringlengths
400
1.34k
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the title of the episode having exactly 9.64 million US viewers? ### Context: CREATE TABLE table_24910742_1 (title VARCHAR, us_viewers__millions_ VARCHAR) ### Response: ### Response: SELECT title FROM table_24910742_1 WHERE us_viewers__millions_ = "9.64"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pick when the school is jasper hs (jasper, texas)? ### Context: CREATE TABLE table_name_63 (pick VARCHAR, school VARCHAR) ### Response: ### Response: SELECT pick FROM table_name_63 WHERE school = "jasper hs (jasper, texas)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of 1993? ### Context: CREATE TABLE table_name_91 (score VARCHAR, year VARCHAR) ### Response: ### Response: SELECT score FROM table_name_91 WHERE year = "1993"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the least amount of bronze Andorra, who has more than 6 total medals, has? ### Context: CREATE TABLE table_name_86 (bronze INTEGER, nation VARCHAR, total VARCHAR) ### Response: ### Response: SELECT MIN(bronze) FROM table_name_86 WHERE nation = "andorra" AND total > 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 is the goal difference where the goals against is less than 54, goals for is greater than 51 and points 1 is 63? ### Context: CREATE TABLE table_name_29 (goal_difference VARCHAR, points_1 VARCHAR, goals_against VARCHAR, goals_for VARCHAR) ### Response: ### Response: SELECT goal_difference FROM table_name_29 WHERE goals_against < 54 AND goals_for > 51 AND points_1 = "63"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Play is from Cyprus, from the Company Magdalena Zira Theatre? ### Context: CREATE TABLE table_name_98 (play VARCHAR, country VARCHAR, company VARCHAR) ### Response: ### Response: SELECT play FROM table_name_98 WHERE country = "cyprus" AND company = "magdalena zira theatre"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 samples were taken of 嬰幼兒配方乳粉2段基粉 ? ### Context: CREATE TABLE table_18943444_1 (samples_taken VARCHAR, product VARCHAR) ### Response: ### Response: SELECT COUNT(samples_taken) FROM table_18943444_1 WHERE product = "嬰幼兒配方乳粉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: On what Surface was the game with Partner David Martin played Scoring 4–6, 6–7 (4-7)? ### Context: CREATE TABLE table_name_24 (surface VARCHAR, partner VARCHAR, score VARCHAR) ### Response: ### Response: SELECT surface FROM table_name_24 WHERE partner = "david martin" AND score = "4–6, 6–7 (4-7)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the lowest Rank for the Name, "area of permanent crops", Out of a number smaller than 181? ### Context: CREATE TABLE table_name_66 (rank INTEGER, name VARCHAR, out_of VARCHAR) ### Response: ### Response: SELECT MIN(rank) FROM table_name_66 WHERE name = "area of permanent crops" AND out_of < 181</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the To par has the presence of Vijay Singh? ### Context: CREATE TABLE table_name_67 (to_par VARCHAR, player VARCHAR) ### Response: ### Response: SELECT to_par FROM table_name_67 WHERE player = "vijay singh"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 stumped when inning is 143? ### Context: CREATE TABLE table_24039597_26 (stumped VARCHAR, innings VARCHAR) ### Response: ### Response: SELECT stumped FROM table_24039597_26 WHERE innings = 143</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Featherstone Rovers club played a total of how many games? ### Context: CREATE TABLE table_19179465_1 (played VARCHAR, club VARCHAR) ### Response: ### Response: SELECT COUNT(played) FROM table_19179465_1 WHERE club = "Featherstone Rovers"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Category of the Rodez, France Tournament? ### Context: CREATE TABLE table_name_69 (category VARCHAR, tournament VARCHAR) ### Response: ### Response: SELECT category FROM table_name_69 WHERE tournament = "rodez, 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: How many specimens does the SANT institution have? ### Context: CREATE TABLE table_name_1 (no_specimens INTEGER, abbr VARCHAR) ### Response: ### Response: SELECT SUM(no_specimens) FROM table_name_1 WHERE abbr = "sant"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 does leandro love have? ### Context: CREATE TABLE table_name_96 (games VARCHAR, name VARCHAR) ### Response: ### Response: SELECT games FROM table_name_96 WHERE name = "leandro love"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Label of the release on June 12, 2008 in Cyprus? ### Context: CREATE TABLE table_name_62 (label VARCHAR, date VARCHAR, region VARCHAR) ### Response: ### Response: SELECT label FROM table_name_62 WHERE date = "june 12, 2008" AND region = "cyprus"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is tom j. murray from? ### Context: CREATE TABLE table_1342013_41 (district VARCHAR, incumbent VARCHAR) ### Response: ### Response: SELECT district FROM table_1342013_41 WHERE incumbent = "Tom J. Murray"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who had the high assist in a game number above 77 for Milwaukee? ### Context: CREATE TABLE table_name_24 (high_assists VARCHAR, game VARCHAR, team VARCHAR) ### Response: ### Response: SELECT high_assists FROM table_name_24 WHERE game > 77 AND team = "milwaukee"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mean number of games for pablo prigioni when there are more than 14 assists? ### Context: CREATE TABLE table_name_88 (games INTEGER, name VARCHAR, assists VARCHAR) ### Response: ### Response: SELECT AVG(games) FROM table_name_88 WHERE name = "pablo prigioni" AND assists > 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: What was the name of the episode Alan Yang wrote? ### Context: CREATE TABLE table_25341765_1 (title VARCHAR, written_by VARCHAR) ### Response: ### Response: SELECT title FROM table_25341765_1 WHERE written_by = "Alan Yang"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Year with Wins of 1, and Losses smaller than 1? ### Context: CREATE TABLE table_name_93 (year INTEGER, wins VARCHAR, losses VARCHAR) ### Response: ### Response: SELECT SUM(year) FROM table_name_93 WHERE wins = 1 AND losses < 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 when the oppenent was serena williams venus williams and had a hard surface? ### Context: CREATE TABLE table_name_60 (outcome VARCHAR, opponents_in_the_final VARCHAR, surface VARCHAR) ### Response: ### Response: SELECT outcome FROM table_name_60 WHERE opponents_in_the_final = "serena williams venus williams" AND surface = "hard"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 simplified Chinese name for the 9th album? ### Context: CREATE TABLE table_name_21 (chinese__simplified_ VARCHAR, album_number VARCHAR) ### Response: ### Response: SELECT chinese__simplified_ FROM table_name_21 WHERE album_number = "9th"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Auckland has an Adelaide of no, a Melbourne of yes, and a Sydney of yes? ### Context: CREATE TABLE table_name_1 (auckland VARCHAR, sydney VARCHAR, adelaide VARCHAR, melbourne VARCHAR) ### Response: ### Response: SELECT auckland FROM table_name_1 WHERE adelaide = "no" AND melbourne = "yes" AND sydney = "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: What's the original season in 11th place? ### Context: CREATE TABLE table_name_15 (original_season VARCHAR, placing VARCHAR) ### Response: ### Response: SELECT original_season FROM table_name_15 WHERE placing = "11th place"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of appearances a player had ### Context: CREATE TABLE table_24565004_7 (appearances¹ INTEGER) ### Response: ### Response: SELECT MIN(appearances¹) FROM table_24565004_7</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the incelandic of the glossary for 218 ### Context: CREATE TABLE table_13003460_1 (the_icelandic_of_the_glossary VARCHAR, word_number VARCHAR) ### Response: ### Response: SELECT the_icelandic_of_the_glossary FROM table_13003460_1 WHERE word_number = "218"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 note section for the role with a language of hindi and a title of miley naa miley hum? ### Context: CREATE TABLE table_name_30 (notes VARCHAR, language VARCHAR, title VARCHAR) ### Response: ### Response: SELECT notes FROM table_name_30 WHERE language = "hindi" AND title = "miley naa miley hum"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Grand Prix had 9 rounds? ### Context: CREATE TABLE table_name_82 (grand_prix VARCHAR, round VARCHAR) ### Response: ### Response: SELECT grand_prix FROM table_name_82 WHERE round = 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's the save when the loss was santiago (2–2)? ### Context: CREATE TABLE table_name_76 (save VARCHAR, loss VARCHAR) ### Response: ### Response: SELECT save FROM table_name_76 WHERE loss = "santiago (2–2)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is Jimmy Smith's opponent's record? ### Context: CREATE TABLE table_name_70 (record VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT record FROM table_name_70 WHERE opponent = "jimmy smith"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sum of January values with a record of 27-12-3 for a game less than 42? ### Context: CREATE TABLE table_name_36 (january INTEGER, record VARCHAR, game VARCHAR) ### Response: ### Response: SELECT SUM(january) FROM table_name_36 WHERE record = "27-12-3" AND game < 42</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a processor with part number cy80632007221ab and TDP of 3.6 W, What are the available GPU frequencies? ### Context: CREATE TABLE table_16729930_18 (gpu_frequency VARCHAR, tdp VARCHAR, part_number_s_ VARCHAR) ### Response: ### Response: SELECT gpu_frequency FROM table_16729930_18 WHERE tdp = "3.6 W" AND part_number_s_ = "CY80632007221AB"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: WHAT WAS COLLINGWOOD'S LOWEST CROWD NUMBER WHEN PLAYING AS THE AWAY TEAM? ### Context: CREATE TABLE table_name_21 (crowd INTEGER, away_team VARCHAR) ### Response: ### Response: SELECT MIN(crowd) FROM table_name_21 WHERE away_team = "collingwood"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What home team is at 7:30pm in ESPN? ### Context: CREATE TABLE table_26842217_4 (home_team VARCHAR, time VARCHAR, broadcast VARCHAR) ### Response: ### Response: SELECT home_team FROM table_26842217_4 WHERE time = "7:30pm" AND broadcast = "ESPN"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the minimum pick of a centre from the Czech Republic? ### Context: CREATE TABLE table_2840500_2 (pick INTEGER, position VARCHAR, nationality VARCHAR) ### Response: ### Response: SELECT MIN(pick) FROM table_2840500_2 WHERE position = "Centre" AND nationality = "Czech Republic"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 delegate is mcdonough, patrick l. pat mcdonough, specify all the district. ### Context: CREATE TABLE table_27050336_7 (district VARCHAR, delegate VARCHAR) ### Response: ### Response: SELECT district FROM table_27050336_7 WHERE delegate = "McDonough, Patrick L. Pat McDonough"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 population that has Big Hole Tract 8 (south) as the official name, with an area km 2 greater than 27.82? ### Context: CREATE TABLE table_name_50 (population INTEGER, official_name VARCHAR, area_km_2 VARCHAR) ### Response: ### Response: SELECT MIN(population) FROM table_name_50 WHERE official_name = "big hole tract 8 (south)" AND area_km_2 > 27.82</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Final Score of 31-7 happen? ### Context: CREATE TABLE table_name_64 (date VARCHAR, final_score VARCHAR) ### Response: ### Response: SELECT date FROM table_name_64 WHERE final_score = "31-7"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the score for game number 30? ### Context: CREATE TABLE table_name_71 (score VARCHAR, game VARCHAR) ### Response: ### Response: SELECT score FROM table_name_71 WHERE game = 30</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of total candidates when registered voters is 47742? ### Context: CREATE TABLE table_2676980_4 (total_candidates VARCHAR, registered_voters VARCHAR) ### Response: ### Response: SELECT total_candidates FROM table_2676980_4 WHERE registered_voters = 47742</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 match with a result of ud 12/12 between Pernell Whitaker and James Mcgirt? ### Context: CREATE TABLE table_name_87 (date VARCHAR, opponent VARCHAR, result VARCHAR, name VARCHAR) ### Response: ### Response: SELECT date FROM table_name_87 WHERE result = "ud 12/12" AND name = "pernell whitaker" AND opponent = "james mcgirt"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many top 10 finishes did Ken Bouchard get in the year he won $17,695? ### Context: CREATE TABLE table_2333416_2 (top_10 VARCHAR, winnings VARCHAR) ### Response: ### Response: SELECT top_10 FROM table_2333416_2 WHERE winnings = "$17,695"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Find the name of the user who gave the highest rating. ### Context: CREATE TABLE review (u_id VARCHAR, rating VARCHAR); CREATE TABLE useracct (name VARCHAR, u_id VARCHAR) ### Response: ### Response: SELECT T1.name FROM useracct AS T1 JOIN review AS T2 ON T1.u_id = T2.u_id ORDER BY T2.rating 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: For an aggregate of 1-3, what was the 2nd leg? ### Context: CREATE TABLE table_name_74 (agg VARCHAR) ### Response: ### Response: SELECT 2 AS nd_leg FROM table_name_74 WHERE agg = "1-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: When koki mizuno is the player how man positions are there? ### Context: CREATE TABLE table_18254488_2 (position VARCHAR, player VARCHAR) ### Response: ### Response: SELECT COUNT(position) FROM table_18254488_2 WHERE player = "Koki Mizuno"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 incumbent for missouri 1? ### Context: CREATE TABLE table_1341640_26 (incumbent VARCHAR, district VARCHAR) ### Response: ### Response: SELECT incumbent FROM table_1341640_26 WHERE district = "Missouri 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 matches did Carlos Kameni play in, who had an average larger than 1.27? ### Context: CREATE TABLE table_name_58 (matches INTEGER, goalkeeper VARCHAR, average VARCHAR) ### Response: ### Response: SELECT SUM(matches) FROM table_name_58 WHERE goalkeeper = "carlos kameni" AND average > 1.27</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the game for record being 3-0 ### Context: CREATE TABLE table_20928661_1 (game VARCHAR, record VARCHAR) ### Response: ### Response: SELECT game FROM table_20928661_1 WHERE record = "3-0"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which To par is scored at 70? ### Context: CREATE TABLE table_name_10 (to_par VARCHAR, score VARCHAR) ### Response: ### Response: SELECT to_par FROM table_name_10 WHERE score = 70</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Case Suffix (Case), when Postposition is "-mde (drops d)"? ### Context: CREATE TABLE table_name_94 (case_suffix__case_ VARCHAR, postposition VARCHAR) ### Response: ### Response: SELECT case_suffix__case_ FROM table_name_94 WHERE postposition = "-mde (drops d)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 place is hemkunt sahib what is the category? ### Context: CREATE TABLE table_1430913_1 (category VARCHAR, name_of_place VARCHAR) ### Response: ### Response: SELECT category FROM table_1430913_1 WHERE name_of_place = "Hemkunt Sahib"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 games started smaller than 16 plus receptions of 51, what is the smallest amount of touchdowns listed? ### Context: CREATE TABLE table_name_79 (touchdowns INTEGER, receptions VARCHAR, games_started VARCHAR) ### Response: ### Response: SELECT MIN(touchdowns) FROM table_name_79 WHERE receptions = 51 AND games_started < 16</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the date of the race for the new zealand grand prix? ### Context: CREATE TABLE table_name_21 (date VARCHAR, race VARCHAR) ### Response: ### Response: SELECT date FROM table_name_21 WHERE race = "new zealand 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: What is the lowest decile with 1-6 years and area of Maitland? ### Context: CREATE TABLE table_name_2 (decile INTEGER, years VARCHAR, area VARCHAR) ### Response: ### Response: SELECT MIN(decile) FROM table_name_2 WHERE years = "1-6" AND area = "maitland"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What home team played the away team South Melbourne? ### Context: CREATE TABLE table_name_56 (home_team VARCHAR, away_team VARCHAR) ### Response: ### Response: SELECT home_team FROM table_name_56 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: who were the writers of the episode that had 5.56 millions of north american viewers? ### Context: CREATE TABLE table_27914606_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) ### Response: ### Response: SELECT written_by FROM table_27914606_1 WHERE us_viewers__millions_ = "5.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: Which To par has a Country of united states, and a Score of 71-70=141? ### Context: CREATE TABLE table_name_14 (to_par VARCHAR, country VARCHAR, score VARCHAR) ### Response: ### Response: SELECT to_par FROM table_name_14 WHERE country = "united states" AND score = 71 - 70 = 141</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 names of all departments ordered by their names. ### Context: CREATE TABLE department (dept_name VARCHAR) ### Response: ### Response: SELECT dept_name FROM department ORDER BY dept_name</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the 2009 value of the shanghai masters, which was A in 2012 and 1r in 2011? ### Context: CREATE TABLE table_name_32 (tournament VARCHAR) ### Response: ### Response: SELECT 2009 FROM table_name_32 WHERE 2012 = "a" AND 2011 = "1r" AND tournament = "shanghai masters"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has a Pick of 74? ### Context: CREATE TABLE table_name_42 (position VARCHAR, pick VARCHAR) ### Response: ### Response: SELECT position FROM table_name_42 WHERE pick = 74</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 founded/founder when the emblem was Hercules? ### Context: CREATE TABLE table_242785_3 (date_founded__founder VARCHAR, emblem VARCHAR) ### Response: ### Response: SELECT date_founded__founder FROM table_242785_3 WHERE emblem = "Hercules"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 film that vadim ilyenko directed? ### Context: CREATE TABLE table_10236830_1 (film_name VARCHAR, director VARCHAR) ### Response: ### Response: SELECT film_name FROM table_10236830_1 WHERE director = "Vadim Ilyenko"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Team, when Game is "59"? ### Context: CREATE TABLE table_name_25 (team VARCHAR, game VARCHAR) ### Response: ### Response: SELECT team FROM table_name_25 WHERE game = 59</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 student ids who are older than 20. ### Context: CREATE TABLE Student (StuID VARCHAR, age INTEGER) ### Response: ### Response: SELECT StuID FROM Student WHERE age > 20</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: When nac breda came in third place and psv eindhoven was the winner who is the top scorer? ### Context: CREATE TABLE table_20867295_2 (top_scorer VARCHAR, winner VARCHAR, third_place VARCHAR) ### Response: ### Response: SELECT top_scorer FROM table_20867295_2 WHERE winner = "PSV Eindhoven" AND third_place = "NAC Breda"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 records when the opponents had 50 points? ### Context: CREATE TABLE table_22862203_2 (record VARCHAR, opp_points VARCHAR) ### Response: ### Response: SELECT record FROM table_22862203_2 WHERE opp_points = 50</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: At 1:48.16 what was the number of track time? ### Context: CREATE TABLE table_16689920_1 (track VARCHAR, time VARCHAR) ### Response: ### Response: SELECT COUNT(track) FROM table_16689920_1 WHERE time = "1:48.16"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the Version before 2001 with a Length of 7:42? ### Context: CREATE TABLE table_name_64 (version VARCHAR, year VARCHAR, length VARCHAR) ### Response: ### Response: SELECT version FROM table_name_64 WHERE year < 2001 AND length = "7:42"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What venue is Hawthorn the home team at? ### Context: CREATE TABLE table_name_16 (venue VARCHAR, home_team VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_16 WHERE home_team = "hawthorn"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the record was 5-1? ### Context: CREATE TABLE table_name_21 (result VARCHAR, record VARCHAR) ### Response: ### Response: SELECT result FROM table_name_21 WHERE record = "5-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 Type has a Release date of november 30, 1997? ### Context: CREATE TABLE table_name_88 (type VARCHAR, release_date VARCHAR) ### Response: ### Response: SELECT type FROM table_name_88 WHERE release_date = "november 30, 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 away team's score at the venue football park? ### Context: CREATE TABLE table_16387953_1 (away_team VARCHAR, ground VARCHAR) ### Response: ### Response: SELECT away_team AS score FROM table_16387953_1 WHERE ground = "Football Park"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the total number for a total when the nation is netherlands and silver is larger than 0? ### Context: CREATE TABLE table_name_12 (total VARCHAR, nation VARCHAR, silver VARCHAR) ### Response: ### Response: SELECT COUNT(total) FROM table_name_12 WHERE nation = "netherlands" AND silver > 0</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Start has 8 Tries and 0 Convs? ### Context: CREATE TABLE table_name_58 (start VARCHAR, tries VARCHAR, conv VARCHAR) ### Response: ### Response: SELECT start FROM table_name_58 WHERE tries = "8" AND conv = "0"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who had the high rebounds for the game on april 23? ### Context: CREATE TABLE table_11961582_10 (high_rebounds VARCHAR, date VARCHAR) ### Response: ### Response: SELECT high_rebounds FROM table_11961582_10 WHERE date = "April 23"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: In what race was the weight in kg 55 and the winner/2nd 1st - Jim and Tonic? ### Context: CREATE TABLE table_2581397_4 (race VARCHAR, weight__kg_ VARCHAR, winner_2nd VARCHAR) ### Response: ### Response: SELECT race FROM table_2581397_4 WHERE weight__kg_ = "55" AND winner_2nd = "1st - Jim And Tonic"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Show the name and the nationality of the oldest host. ### Context: CREATE TABLE HOST (Name VARCHAR, Nationality VARCHAR, Age VARCHAR) ### Response: ### Response: SELECT Name, Nationality FROM HOST ORDER BY Age 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 highest crowd number of the game where the away team was south melbourne? ### Context: CREATE TABLE table_name_71 (crowd INTEGER, away_team VARCHAR) ### Response: ### Response: SELECT MAX(crowd) FROM table_name_71 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: How many players were from high point, nc? ### Context: CREATE TABLE table_11677100_15 (mlb_draft VARCHAR, hometown VARCHAR) ### Response: ### Response: SELECT COUNT(mlb_draft) FROM table_11677100_15 WHERE hometown = "High Point, NC"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 circuit is in italy ### Context: CREATE TABLE table_name_25 (circuit VARCHAR, round VARCHAR) ### Response: ### Response: SELECT circuit FROM table_name_25 WHERE round = "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: Which championship had a margin of 10 strokes? ### Context: CREATE TABLE table_name_43 (championship VARCHAR, margin VARCHAR) ### Response: ### Response: SELECT championship FROM table_name_43 WHERE margin = "10 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: What was the model that had years 2004-? ### Context: CREATE TABLE table_name_26 (model VARCHAR, years VARCHAR) ### Response: ### Response: SELECT model FROM table_name_26 WHERE years = "2004-"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which year were both the Premier Division Ewyas Harold and Division Three Stoke Prior champions? ### Context: CREATE TABLE table_name_24 (season VARCHAR, premier_division VARCHAR, division_three VARCHAR) ### Response: ### Response: SELECT season FROM table_name_24 WHERE premier_division = "ewyas harold" AND division_three = "stoke 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 date was the game played at the venue of Hrazdan Stadium, Yerevan, Armenia? ### Context: CREATE TABLE table_name_70 (date VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT date FROM table_name_70 WHERE venue = "hrazdan stadium, yerevan, armenia"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Opponents have a Result of win, and Nuggets points smaller than 115, and an Opponent of washington? ### Context: CREATE TABLE table_name_62 (opponents INTEGER, opponent VARCHAR, result VARCHAR, nuggets_points VARCHAR) ### Response: ### Response: SELECT SUM(opponents) FROM table_name_62 WHERE result = "win" AND nuggets_points < 115 AND opponent = "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: What is the Year of Christie Paquet with Issue Price of $34.95? ### Context: CREATE TABLE table_name_78 (year INTEGER, artist VARCHAR, issue_price VARCHAR) ### Response: ### Response: SELECT AVG(year) FROM table_name_78 WHERE artist = "christie paquet" AND issue_price = "$34.95"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Engine had a chassis of March 85c? ### Context: CREATE TABLE table_name_72 (engine VARCHAR, chassis VARCHAR) ### Response: ### Response: SELECT engine FROM table_name_72 WHERE chassis = "march 85c"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 week was the final score 6–26? ### Context: CREATE TABLE table_name_99 (week VARCHAR, final_score VARCHAR) ### Response: ### Response: SELECT week FROM table_name_99 WHERE final_score = "6–26"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of asts when rebs are larger than 1,189? ### Context: CREATE TABLE table_name_76 (asts VARCHAR, rebs INTEGER) ### Response: ### Response: SELECT asts FROM table_name_76 WHERE rebs > 1 OFFSET 189</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 decision of the Kings game when Chicago was the visiting team? ### Context: CREATE TABLE table_name_71 (decision VARCHAR, visitor VARCHAR) ### Response: ### Response: SELECT decision FROM table_name_71 WHERE visitor = "chicago"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What type of school is Cordoba University? ### Context: CREATE TABLE table_2076608_3 (type VARCHAR, school VARCHAR) ### Response: ### Response: SELECT type FROM table_2076608_3 WHERE school = "Cordoba University"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is City, when State is California, when AAM Accredited is No, when ASTC Member is Yes, and when AAM Member is No? ### Context: CREATE TABLE table_name_30 (city VARCHAR, aam_member VARCHAR, astc_member VARCHAR, state VARCHAR, aam_accredited VARCHAR) ### Response: ### Response: SELECT city FROM table_name_30 WHERE state = "california" AND aam_accredited = "no" AND astc_member = "yes" AND aam_member = "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 was the score in the final played with Fred McNair as partner? ### Context: CREATE TABLE table_2820584_3 (score_in_the_final VARCHAR, partner VARCHAR) ### Response: ### Response: SELECT score_in_the_final FROM table_2820584_3 WHERE partner = "Fred McNair"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the rank of airport with a (IATA/ICAO) of bcm/lrbc code and an amount of 240,735 in 2010? ### Context: CREATE TABLE table_name_90 (rank INTEGER, code__iata_icao_ VARCHAR) ### Response: ### Response: SELECT MIN(rank) FROM table_name_90 WHERE code__iata_icao_ = "bcm/lrbc" AND 2010 > 240 OFFSET 735</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Tell me the name with sør-trøndelag ### Context: CREATE TABLE table_name_64 (name VARCHAR, county VARCHAR) ### Response: ### Response: SELECT name FROM table_name_64 WHERE county = "sør-trøndelag"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 college did Dean Kirkland go to ### Context: CREATE TABLE table_15353123_1 (college VARCHAR, player VARCHAR) ### Response: ### Response: SELECT college FROM table_15353123_1 WHERE player = "Dean Kirkland"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average for Rank entries where the Lane listed is smaller than 4 and the Nationality listed is San Marino? ### Context: CREATE TABLE table_name_7 (rank INTEGER, lane VARCHAR, nationality VARCHAR) ### Response: ### Response: SELECT AVG(rank) FROM table_name_7 WHERE lane < 4 AND nationality = "san marino"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total number of matches smaller than 2 with a tally of 1-19? ### Context: CREATE TABLE table_name_84 (total VARCHAR, tally VARCHAR, matches VARCHAR) ### Response: ### Response: SELECT COUNT(total) FROM table_name_84 WHERE tally = "1-19" AND matches < 2</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is Score, when Country is "United States", and when Player is "Raymond Floyd"? ### Context: CREATE TABLE table_name_98 (score VARCHAR, country VARCHAR, player VARCHAR) ### Response: ### Response: SELECT score FROM table_name_98 WHERE country = "united states" AND player = "raymond floyd"</s>