messages
listlengths
3
3
text
stringlengths
266
592
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_26261072_1 (original_air_date VARCHAR, series__number VARCHAR)", "role": "system" }, { "content": "Name the original air date for series number 15", "role": "user" }, { "content": "SELECT original_air_date FROM table_26261072_1 WHERE series__number = 15", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_26261072_1 (original_air_date VARCHAR, series__number VARCHAR)<|im_end|> <|im_start|>user Name the original air date for series number 15<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_84 (opponents_in_the_final VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What is Opponents In The Final, when Score is 4-1 5-4 (7) 4-2?", "role": "user" }, { "content": "SELECT opponents_in_the_final FROM table_name_84 WHERE score = \"4-1 5-4 (7) 4-2\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_84 (opponents_in_the_final VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user What is Opponents In The Final, when Score is 4-1 5-4 (7) 4-2?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_66 (year INTEGER, venue VARCHAR, position VARCHAR, event VARCHAR)", "role": "system" }, { "content": "What is the average Year, when Position is 9th, when Event is 100 m, and when Venue is Munich, Germany?", "role": "user" }, { "content": "SELECT AVG(year) FROM table_name_66 WHERE position = \"9th\" AND event = \"100 m\" AND venue = \"munich, germany\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_66 (year INTEGER, venue VARCHAR, position VARCHAR, event VARCHAR)<|im_end|> <|im_start|>user What is the average Year, when Position is 9th, when Event is 100 m, and when Venue is Munich, Germany?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_53 (driver VARCHAR, rounds VARCHAR, chassis VARCHAR)", "role": "system" }, { "content": "Who was the driver that had all rounds and a f399 chassis?", "role": "user" }, { "content": "SELECT driver FROM table_name_53 WHERE rounds = \"all\" AND chassis = \"f399\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_53 (driver VARCHAR, rounds VARCHAR, chassis VARCHAR)<|im_end|> <|im_start|>user Who was the driver that had all rounds and a f399 chassis?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_12547903_3 (power__kw_ VARCHAR, callsign VARCHAR)", "role": "system" }, { "content": "How much power was used when the callsign was DZYT?", "role": "user" }, { "content": "SELECT power__kw_ FROM table_12547903_3 WHERE callsign = \"DZYT\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_12547903_3 (power__kw_ VARCHAR, callsign VARCHAR)<|im_end|> <|im_start|>user How much power was used when the callsign was DZYT?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_97 (height_m___feet VARCHAR, name VARCHAR)", "role": "system" }, { "content": "What is the height for shanghai x-1 financial building?", "role": "user" }, { "content": "SELECT height_m___feet FROM table_name_97 WHERE name = \"shanghai x-1 financial building\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_97 (height_m___feet VARCHAR, name VARCHAR)<|im_end|> <|im_start|>user What is the height for shanghai x-1 financial building?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_24 (split__50m_ INTEGER, name VARCHAR, lane VARCHAR)", "role": "system" }, { "content": "What is the total sum of 50m splits for josefin lillhage in lanes above 8?", "role": "user" }, { "content": "SELECT SUM(split__50m_) FROM table_name_24 WHERE name = \"josefin lillhage\" AND lane > 8", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_24 (split__50m_ INTEGER, name VARCHAR, lane VARCHAR)<|im_end|> <|im_start|>user What is the total sum of 50m splits for josefin lillhage in lanes above 8?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_26423157_2 (seed VARCHAR, school VARCHAR)", "role": "system" }, { "content": "What seed was California?", "role": "user" }, { "content": "SELECT seed FROM table_26423157_2 WHERE school = \"California\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_26423157_2 (seed VARCHAR, school VARCHAR)<|im_end|> <|im_start|>user What seed was California?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_74 (points VARCHAR, year VARCHAR, entrant VARCHAR, chassis VARCHAR)", "role": "system" }, { "content": "What is the number of points for the Entrant of wolfgang seidel and a Cooper t45 chassis later than 1960?", "role": "user" }, { "content": "SELECT COUNT(points) FROM table_name_74 WHERE entrant = \"wolfgang seidel\" AND chassis = \"cooper t45\" AND year > 1960", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_74 (points VARCHAR, year VARCHAR, entrant VARCHAR, chassis VARCHAR)<|im_end|> <|im_start|>user What is the number of points for the Entrant of wolfgang seidel and a Cooper t45 chassis later than 1960?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_47 (macedonian_population_in_vojvodina VARCHAR)", "role": "system" }, { "content": "What is the total 1961 number of the plandište Macedonian population with a 1981 value greater than 1027?", "role": "user" }, { "content": "SELECT COUNT(1961) FROM table_name_47 WHERE macedonian_population_in_vojvodina = \"plandište\" AND 1981 > 1027", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_47 (macedonian_population_in_vojvodina VARCHAR)<|im_end|> <|im_start|>user What is the total 1961 number of the plandište Macedonian population with a 1981 value greater than 1027?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_71 (game INTEGER, score VARCHAR)", "role": "system" }, { "content": "What Game had a Score of 101–92?", "role": "user" }, { "content": "SELECT AVG(game) FROM table_name_71 WHERE score = \"101–92\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_71 (game INTEGER, score VARCHAR)<|im_end|> <|im_start|>user What Game had a Score of 101–92?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_12 (club VARCHAR, third VARCHAR, runners_up VARCHAR, winners VARCHAR)", "role": "system" }, { "content": "Which club has 1 runners-up with 0 winners and 2 third place earned?", "role": "user" }, { "content": "SELECT club FROM table_name_12 WHERE runners_up = 1 AND winners = 0 AND third = 2", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_12 (club VARCHAR, third VARCHAR, runners_up VARCHAR, winners VARCHAR)<|im_end|> <|im_start|>user Which club has 1 runners-up with 0 winners and 2 third place earned?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_27734286_1 (high_rebounds VARCHAR, location_attendance VARCHAR)", "role": "system" }, { "content": "Who in the high rebounds is in the honda center 15,625 location attendance?", "role": "user" }, { "content": "SELECT high_rebounds FROM table_27734286_1 WHERE location_attendance = \"Honda Center 15,625\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_27734286_1 (high_rebounds VARCHAR, location_attendance VARCHAR)<|im_end|> <|im_start|>user Who in the high rebounds is in the honda center 15,625 location attendance?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_43 (total__kg_ INTEGER, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR)", "role": "system" }, { "content": "Which weightlifter, who had a bodyweight of less than 136.16 and a clean and jerk larger than 135, had the highest Total?", "role": "user" }, { "content": "SELECT MAX(total__kg_) FROM table_name_43 WHERE bodyweight < 136.16 AND clean_ & _jerk > 135", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_43 (total__kg_ INTEGER, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR)<|im_end|> <|im_start|>user Which weightlifter, who had a bodyweight of less than 136.16 and a clean and jerk larger than 135, had the highest Total?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_27698941_2 (high_points VARCHAR, date VARCHAR)", "role": "system" }, { "content": "How many people led in points during the game on October 5?", "role": "user" }, { "content": "SELECT COUNT(high_points) FROM table_27698941_2 WHERE date = \"October 5\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_27698941_2 (high_points VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user How many people led in points during the game on October 5?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_97 (alternate VARCHAR, second VARCHAR)", "role": "system" }, { "content": "What is the alternate of the nation with hubert gründhammer as the second?", "role": "user" }, { "content": "SELECT alternate FROM table_name_97 WHERE second = \"hubert gründhammer\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_97 (alternate VARCHAR, second VARCHAR)<|im_end|> <|im_start|>user What is the alternate of the nation with hubert gründhammer as the second?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1341577_10 (result VARCHAR, incumbent VARCHAR)", "role": "system" }, { "content": "what's result with incumbent being connie mack", "role": "user" }, { "content": "SELECT result FROM table_1341577_10 WHERE incumbent = \"Connie Mack\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_1341577_10 (result VARCHAR, incumbent VARCHAR)<|im_end|> <|im_start|>user what's result with incumbent being connie mack<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_76 (opponent VARCHAR, game_site VARCHAR, week VARCHAR)", "role": "system" }, { "content": "Which opponent was played at Forbes Field after week 4?", "role": "user" }, { "content": "SELECT opponent FROM table_name_76 WHERE game_site = \"forbes field\" AND week > 4", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_76 (opponent VARCHAR, game_site VARCHAR, week VARCHAR)<|im_end|> <|im_start|>user Which opponent was played at Forbes Field after week 4?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE channel (OWNER VARCHAR)", "role": "system" }, { "content": "what is the number of different channel owners?", "role": "user" }, { "content": "SELECT COUNT(DISTINCT OWNER) FROM channel", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE channel (OWNER VARCHAR)<|im_end|> <|im_start|>user what is the number of different channel owners?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_18 (date VARCHAR, name VARCHAR)", "role": "system" }, { "content": "what is the date for tirrana?", "role": "user" }, { "content": "SELECT date FROM table_name_18 WHERE name = \"tirrana\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_18 (date VARCHAR, name VARCHAR)<|im_end|> <|im_start|>user what is the date for tirrana?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What is the total attendance on April 25?", "role": "user" }, { "content": "SELECT COUNT(attendance) FROM table_name_28 WHERE date = \"april 25\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What is the total attendance on April 25?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_54 (birthdate VARCHAR, birthplace VARCHAR)", "role": "system" }, { "content": "On what date was the player from Melrose, Massachusetts born?", "role": "user" }, { "content": "SELECT birthdate FROM table_name_54 WHERE birthplace = \"melrose, massachusetts\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_54 (birthdate VARCHAR, birthplace VARCHAR)<|im_end|> <|im_start|>user On what date was the player from Melrose, Massachusetts born?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_90 (votes VARCHAR, opponent VARCHAR, year VARCHAR)", "role": "system" }, { "content": "How many votes did Jeannemarie Devolites Davis get in 1995-Special?", "role": "user" }, { "content": "SELECT votes FROM table_name_90 WHERE opponent = \"jeannemarie devolites davis\" AND year = \"1995-special\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_90 (votes VARCHAR, opponent VARCHAR, year VARCHAR)<|im_end|> <|im_start|>user How many votes did Jeannemarie Devolites Davis get in 1995-Special?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_2 (street_address VARCHAR, floors VARCHAR)", "role": "system" }, { "content": "The building with 48 floors has an address in Las Vegas of what?", "role": "user" }, { "content": "SELECT street_address FROM table_name_2 WHERE floors = 48", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_2 (street_address VARCHAR, floors VARCHAR)<|im_end|> <|im_start|>user The building with 48 floors has an address in Las Vegas of what?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_70 (total VARCHAR, nation VARCHAR)", "role": "system" }, { "content": "What is the total number of medals by the Czech republic?", "role": "user" }, { "content": "SELECT total FROM table_name_70 WHERE nation = \"czech republic\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_70 (total VARCHAR, nation VARCHAR)<|im_end|> <|im_start|>user What is the total number of medals by the Czech republic?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18914438_1 (best VARCHAR, career VARCHAR)", "role": "system" }, { "content": "What was the Best score during the game played from 1971-1984?", "role": "user" }, { "content": "SELECT best FROM table_18914438_1 WHERE career = \"1971-1984\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_18914438_1 (best VARCHAR, career VARCHAR)<|im_end|> <|im_start|>user What was the Best score during the game played from 1971-1984?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_88 (points INTEGER, games VARCHAR, goalsagainst VARCHAR, season VARCHAR)", "role": "system" }, { "content": "Goalsagainst of 285, and a Season of 2006–07, and a Games smaller than 70 has what average points?", "role": "user" }, { "content": "SELECT AVG(points) FROM table_name_88 WHERE goalsagainst = 285 AND season = \"2006–07\" AND games < 70", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_88 (points INTEGER, games VARCHAR, goalsagainst VARCHAR, season VARCHAR)<|im_end|> <|im_start|>user Goalsagainst of 285, and a Season of 2006–07, and a Games smaller than 70 has what average points?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_28 (date VARCHAR, result VARCHAR, venue VARCHAR)", "role": "system" }, { "content": "What Date had a Result of draw, and a Venue of lord's?", "role": "user" }, { "content": "SELECT date FROM table_name_28 WHERE result = \"draw\" AND venue = \"lord's\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_28 (date VARCHAR, result VARCHAR, venue VARCHAR)<|im_end|> <|im_start|>user What Date had a Result of draw, and a Venue of lord's?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_28688313_1 (written_by VARCHAR, us_viewers__in_millions_ VARCHAR)", "role": "system" }, { "content": "Who wrote the episode with 9.81 million US viewers?", "role": "user" }, { "content": "SELECT written_by FROM table_28688313_1 WHERE us_viewers__in_millions_ = \"9.81\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_28688313_1 (written_by VARCHAR, us_viewers__in_millions_ VARCHAR)<|im_end|> <|im_start|>user Who wrote the episode with 9.81 million US viewers?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_36 (guns VARCHAR, superintendent VARCHAR)", "role": "system" }, { "content": "What is the number of guns when the superintendent was Silas Talbot?", "role": "user" }, { "content": "SELECT guns FROM table_name_36 WHERE superintendent = \"silas talbot\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_36 (guns VARCHAR, superintendent VARCHAR)<|im_end|> <|im_start|>user What is the number of guns when the superintendent was Silas Talbot?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_71 (lost INTEGER, played INTEGER)", "role": "system" }, { "content": "what is the lost when played is less than 42?", "role": "user" }, { "content": "SELECT SUM(lost) FROM table_name_71 WHERE played < 42", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_71 (lost INTEGER, played INTEGER)<|im_end|> <|im_start|>user what is the lost when played is less than 42?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_7 (position VARCHAR, number VARCHAR)", "role": "system" }, { "content": "Which position is number 16?", "role": "user" }, { "content": "SELECT position FROM table_name_7 WHERE number = 16", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_7 (position VARCHAR, number VARCHAR)<|im_end|> <|im_start|>user Which position is number 16?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_51 (host VARCHAR, state VARCHAR)", "role": "system" }, { "content": "What is the host in Georgia?", "role": "user" }, { "content": "SELECT host FROM table_name_51 WHERE state = \"georgia\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_51 (host VARCHAR, state VARCHAR)<|im_end|> <|im_start|>user What is the host in Georgia?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_25 (crowd INTEGER, home_team VARCHAR)", "role": "system" }, { "content": "What was the highest attendance for a game where Geelong was the home team?", "role": "user" }, { "content": "SELECT MAX(crowd) FROM table_name_25 WHERE home_team = \"geelong\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_25 (crowd INTEGER, home_team VARCHAR)<|im_end|> <|im_start|>user What was the highest attendance for a game where Geelong was the home team?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_28194879_1 (directed_by VARCHAR, production_code VARCHAR)", "role": "system" }, { "content": "Who directed the episode whose production code is pabf05?", "role": "user" }, { "content": "SELECT directed_by FROM table_28194879_1 WHERE production_code = \"PABF05\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_28194879_1 (directed_by VARCHAR, production_code VARCHAR)<|im_end|> <|im_start|>user Who directed the episode whose production code is pabf05?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_40 (silver VARCHAR, total INTEGER)", "role": "system" }, { "content": "What is the total number of silver medals of the nation with more than 16 total medals?", "role": "user" }, { "content": "SELECT COUNT(silver) FROM table_name_40 WHERE total > 16", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_40 (silver VARCHAR, total INTEGER)<|im_end|> <|im_start|>user What is the total number of silver medals of the nation with more than 16 total medals?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Students (first_name VARCHAR, current_address_id VARCHAR, permanent_address_id VARCHAR)", "role": "system" }, { "content": "Whose permanent address is different from his or her current address? List his or her first name.", "role": "user" }, { "content": "SELECT first_name FROM Students WHERE current_address_id <> permanent_address_id", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE Students (first_name VARCHAR, current_address_id VARCHAR, permanent_address_id VARCHAR)<|im_end|> <|im_start|>user Whose permanent address is different from his or her current address? List his or her first name.<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE ship (lost_in_battle VARCHAR, name VARCHAR); CREATE TABLE battle (name VARCHAR, date VARCHAR, id VARCHAR)", "role": "system" }, { "content": "List the name and date the battle that has lost the ship named 'Lettice' and the ship named 'HMS Atalanta'", "role": "user" }, { "content": "SELECT T1.name, T1.date FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.name = 'Lettice' INTERSECT SELECT T1.name, T1.date FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.name = 'HMS Atalanta'", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE ship (lost_in_battle VARCHAR, name VARCHAR); CREATE TABLE battle (name VARCHAR, date VARCHAR, id VARCHAR)<|im_end|> <|im_start|>user List the name and date the battle that has lost the ship named 'Lettice' and the ship named 'HMS Atalanta'<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_39 (version VARCHAR, genre VARCHAR, title VARCHAR)", "role": "system" }, { "content": "What is Version, when Genre is \"Action\", and when Title is \"Hairball\"?", "role": "user" }, { "content": "SELECT version FROM table_name_39 WHERE genre = \"action\" AND title = \"hairball\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_39 (version VARCHAR, genre VARCHAR, title VARCHAR)<|im_end|> <|im_start|>user What is Version, when Genre is "Action", and when Title is "Hairball"?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22577693_1 (winner VARCHAR, final_venue VARCHAR)", "role": "system" }, { "content": "Who was the winner if the final venue is Kowloon Cricket Club?", "role": "user" }, { "content": "SELECT winner FROM table_22577693_1 WHERE final_venue = \"Kowloon Cricket Club\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_22577693_1 (winner VARCHAR, final_venue VARCHAR)<|im_end|> <|im_start|>user Who was the winner if the final venue is Kowloon Cricket Club?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_38 (record VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What was the record at the game on November 13, 1932?", "role": "user" }, { "content": "SELECT record FROM table_name_38 WHERE date = \"november 13, 1932\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_38 (record VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What was the record at the game on November 13, 1932?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1414743_1 (fte_teachers VARCHAR, school_level VARCHAR, city VARCHAR)", "role": "system" }, { "content": "List all FTE middle school teachers in Sunnyvale.", "role": "user" }, { "content": "SELECT fte_teachers FROM table_1414743_1 WHERE school_level = \"Middle\" AND city = \"Sunnyvale\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_1414743_1 (fte_teachers VARCHAR, school_level VARCHAR, city VARCHAR)<|im_end|> <|im_start|>user List all FTE middle school teachers in Sunnyvale.<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_24427210_1 (date VARCHAR, stadium VARCHAR)", "role": "system" }, { "content": "Name the date for raymond james stadium", "role": "user" }, { "content": "SELECT date FROM table_24427210_1 WHERE stadium = \"Raymond James stadium\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_24427210_1 (date VARCHAR, stadium VARCHAR)<|im_end|> <|im_start|>user Name the date for raymond james stadium<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_35 (manufacturer VARCHAR, time_retired VARCHAR)", "role": "system" }, { "content": "Which manufacturer has a Time/Retired of +15.665?", "role": "user" }, { "content": "SELECT manufacturer FROM table_name_35 WHERE time_retired = \"+15.665\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_35 (manufacturer VARCHAR, time_retired VARCHAR)<|im_end|> <|im_start|>user Which manufacturer has a Time/Retired of +15.665?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_74 (nationality VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What Nationality is Dave Hynes?", "role": "user" }, { "content": "SELECT nationality FROM table_name_74 WHERE player = \"dave hynes\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_74 (nationality VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user What Nationality is Dave Hynes?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_41 (data VARCHAR, percent_gain VARCHAR)", "role": "system" }, { "content": "Name the data with a percent gain of 28.4%", "role": "user" }, { "content": "SELECT data FROM table_name_41 WHERE percent_gain = \"28.4%\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_41 (data VARCHAR, percent_gain VARCHAR)<|im_end|> <|im_start|>user Name the data with a percent gain of 28.4%<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_40 (lead VARCHAR, season VARCHAR)", "role": "system" }, { "content": "Which lead had a season of 2009-10?", "role": "user" }, { "content": "SELECT lead FROM table_name_40 WHERE season = \"2009-10\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_40 (lead VARCHAR, season VARCHAR)<|im_end|> <|im_start|>user Which lead had a season of 2009-10?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_80 (third_runner_up VARCHAR, year VARCHAR)", "role": "system" }, { "content": "Can you tell me the Third runner-up that has the Year of 1969?", "role": "user" }, { "content": "SELECT third_runner_up FROM table_name_80 WHERE year = 1969", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_80 (third_runner_up VARCHAR, year VARCHAR)<|im_end|> <|im_start|>user Can you tell me the Third runner-up that has the Year of 1969?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_26996293_7 (pick__number VARCHAR, player VARCHAR)", "role": "system" }, { "content": "How many times was player brian currie picked?", "role": "user" }, { "content": "SELECT COUNT(pick__number) FROM table_26996293_7 WHERE player = \"Brian Currie\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_26996293_7 (pick__number VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user How many times was player brian currie picked?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_41 (nomination VARCHAR, film_name VARCHAR)", "role": "system" }, { "content": "Tell me the nomination for peresohla zemlia", "role": "user" }, { "content": "SELECT nomination FROM table_name_41 WHERE film_name = \"peresohla zemlia\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_41 (nomination VARCHAR, film_name VARCHAR)<|im_end|> <|im_start|>user Tell me the nomination for peresohla zemlia<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_21 (year VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "How many years was the opponent petr korda?", "role": "user" }, { "content": "SELECT COUNT(year) FROM table_name_21 WHERE opponent = \"petr korda\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_21 (year VARCHAR, opponent VARCHAR)<|im_end|> <|im_start|>user How many years was the opponent petr korda?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_56 (name VARCHAR, winning_constructor VARCHAR)", "role": "system" }, { "content": "What Name has a Winning constructor of ansaldo?", "role": "user" }, { "content": "SELECT name FROM table_name_56 WHERE winning_constructor = \"ansaldo\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_56 (name VARCHAR, winning_constructor VARCHAR)<|im_end|> <|im_start|>user What Name has a Winning constructor of ansaldo?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_180802_3 (sanskrit_word VARCHAR, color VARCHAR)", "role": "system" }, { "content": "What is the sanskrit word for the color red?", "role": "user" }, { "content": "SELECT sanskrit_word FROM table_180802_3 WHERE color = \"red\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_180802_3 (sanskrit_word VARCHAR, color VARCHAR)<|im_end|> <|im_start|>user What is the sanskrit word for the color red?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_30121075_1 (barony VARCHAR, townland VARCHAR)", "role": "system" }, { "content": "How many entries are in barony when the townland is derrigra?", "role": "user" }, { "content": "SELECT COUNT(barony) FROM table_30121075_1 WHERE townland = \"Derrigra\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_30121075_1 (barony VARCHAR, townland VARCHAR)<|im_end|> <|im_start|>user How many entries are in barony when the townland is derrigra?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_66 (wins INTEGER, rank VARCHAR, country VARCHAR, player VARCHAR)", "role": "system" }, { "content": "Which Wins is the highest one that has a Country of united states, and a Player of andy bean, and a Rank smaller than 4?", "role": "user" }, { "content": "SELECT MAX(wins) FROM table_name_66 WHERE country = \"united states\" AND player = \"andy bean\" AND rank < 4", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_66 (wins INTEGER, rank VARCHAR, country VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user Which Wins is the highest one that has a Country of united states, and a Player of andy bean, and a Rank smaller than 4?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_26202847_6 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)", "role": "system" }, { "content": "When the score in the final is 3–6, 6–4, 3–6, 4–6, who are all the opponents in the final?", "role": "user" }, { "content": "SELECT opponent_in_the_final FROM table_26202847_6 WHERE score_in_the_final = \"3–6, 6–4, 3–6, 4–6\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_26202847_6 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)<|im_end|> <|im_start|>user When the score in the final is 3–6, 6–4, 3–6, 4–6, who are all the opponents in the final?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_79 (wins VARCHAR, club VARCHAR)", "role": "system" }, { "content": "How many wins did Ayr United have?", "role": "user" }, { "content": "SELECT wins FROM table_name_79 WHERE club = \"ayr united\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_79 (wins VARCHAR, club VARCHAR)<|im_end|> <|im_start|>user How many wins did Ayr United have?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_28540539_2 (version VARCHAR, release VARCHAR)", "role": "system" }, { "content": "What's the version in the 1.0.4 release?", "role": "user" }, { "content": "SELECT version FROM table_28540539_2 WHERE release = \"1.0.4\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_28540539_2 (version VARCHAR, release VARCHAR)<|im_end|> <|im_start|>user What's the version in the 1.0.4 release?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_64 (venue VARCHAR, away_team VARCHAR)", "role": "system" }, { "content": "What venue features hawthorn as the away team?", "role": "user" }, { "content": "SELECT venue FROM table_name_64 WHERE away_team = \"hawthorn\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_64 (venue VARCHAR, away_team VARCHAR)<|im_end|> <|im_start|>user What venue features hawthorn as the away team?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_13 (location VARCHAR, result VARCHAR)", "role": "system" }, { "content": "What was the location of the match that had a result of 3-3?", "role": "user" }, { "content": "SELECT location FROM table_name_13 WHERE result = \"3-3\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_13 (location VARCHAR, result VARCHAR)<|im_end|> <|im_start|>user What was the location of the match that had a result of 3-3?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_19 (season VARCHAR, place VARCHAR)", "role": "system" }, { "content": "How many seasons took place in santiago de chile, chile?", "role": "user" }, { "content": "SELECT COUNT(season) FROM table_name_19 WHERE place = \"santiago de chile, chile\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_19 (season VARCHAR, place VARCHAR)<|im_end|> <|im_start|>user How many seasons took place in santiago de chile, chile?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_53 (score VARCHAR, visitor VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What was the score when the visitor was toronto maple leafs on march 22?", "role": "user" }, { "content": "SELECT score FROM table_name_53 WHERE visitor = \"toronto maple leafs\" AND date = \"march 22\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_53 (score VARCHAR, visitor VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What was the score when the visitor was toronto maple leafs on march 22?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_33 (round VARCHAR, position VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What is the total number of rounds that Center position Denis Arkhipov have?", "role": "user" }, { "content": "SELECT COUNT(round) FROM table_name_33 WHERE position = \"center\" AND player = \"denis arkhipov\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_33 (round VARCHAR, position VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user What is the total number of rounds that Center position Denis Arkhipov have?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_256862_1 (winning_yacht VARCHAR, entries VARCHAR)", "role": "system" }, { "content": "Name the wininng yacht for 14 entries", "role": "user" }, { "content": "SELECT winning_yacht FROM table_256862_1 WHERE entries = \"14\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_256862_1 (winning_yacht VARCHAR, entries VARCHAR)<|im_end|> <|im_start|>user Name the wininng yacht for 14 entries<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_7 (companion_s_ VARCHAR, author VARCHAR)", "role": "system" }, { "content": "What is the companion for the author Dave Stone?", "role": "user" }, { "content": "SELECT companion_s_ FROM table_name_7 WHERE author = \"dave stone\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_7 (companion_s_ VARCHAR, author VARCHAR)<|im_end|> <|im_start|>user What is the companion for the author Dave Stone?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_34 (release_date VARCHAR, voltage_range VARCHAR)", "role": "system" }, { "content": "Which Release Date has a Voltage Range of 1.148 v - 1.196 v?", "role": "user" }, { "content": "SELECT release_date FROM table_name_34 WHERE voltage_range = \"1.148 v - 1.196 v\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_34 (release_date VARCHAR, voltage_range VARCHAR)<|im_end|> <|im_start|>user Which Release Date has a Voltage Range of 1.148 v - 1.196 v?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1965650_11 (college_junior_club_team VARCHAR, position VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What team did Russ Wiechnik, on the centre position, come from?", "role": "user" }, { "content": "SELECT college_junior_club_team FROM table_1965650_11 WHERE position = \"Centre\" AND player = \"Russ Wiechnik\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_1965650_11 (college_junior_club_team VARCHAR, position VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user What team did Russ Wiechnik, on the centre position, come from?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1984697_85 (school VARCHAR, size VARCHAR)", "role": "system" }, { "content": "Name the school/s with is size of 604.", "role": "user" }, { "content": "SELECT school FROM table_1984697_85 WHERE size = 604", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_1984697_85 (school VARCHAR, size VARCHAR)<|im_end|> <|im_start|>user Name the school/s with is size of 604.<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_81 (home_team VARCHAR, venue VARCHAR)", "role": "system" }, { "content": "In the game at Glenferrie Oval, what is the home team score?", "role": "user" }, { "content": "SELECT home_team AS score FROM table_name_81 WHERE venue = \"glenferrie oval\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_81 (home_team VARCHAR, venue VARCHAR)<|im_end|> <|im_start|>user In the game at Glenferrie Oval, what is the home team score?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_91 (opponent VARCHAR, score VARCHAR, location VARCHAR, game VARCHAR)", "role": "system" }, { "content": "What is Opponent, when Location is \"Boston Garden\", when Game is greater than 1, and when Score is \"115-105\"?", "role": "user" }, { "content": "SELECT opponent FROM table_name_91 WHERE location = \"boston garden\" AND game > 1 AND score = \"115-105\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_91 (opponent VARCHAR, score VARCHAR, location VARCHAR, game VARCHAR)<|im_end|> <|im_start|>user What is Opponent, when Location is "Boston Garden", when Game is greater than 1, and when Score is "115-105"?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1341897_42 (first_elected INTEGER)", "role": "system" }, { "content": "What is the earliest year that a candidate was first elected?", "role": "user" }, { "content": "SELECT MIN(first_elected) FROM table_1341897_42", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_1341897_42 (first_elected INTEGER)<|im_end|> <|im_start|>user What is the earliest year that a candidate was first elected?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_12887260_1 (console VARCHAR, franchise_or_game VARCHAR)", "role": "system" }, { "content": "What consoles was Shenmue released on?", "role": "user" }, { "content": "SELECT console FROM table_12887260_1 WHERE franchise_or_game = \"Shenmue\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_12887260_1 (console VARCHAR, franchise_or_game VARCHAR)<|im_end|> <|im_start|>user What consoles was Shenmue released on?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_26060884_2 (vehicle_theft VARCHAR, forcible_rape VARCHAR)", "role": "system" }, { "content": "How many vehicle thefts data were recorded if forcible rape is 1232?", "role": "user" }, { "content": "SELECT COUNT(vehicle_theft) FROM table_26060884_2 WHERE forcible_rape = 1232", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_26060884_2 (vehicle_theft VARCHAR, forcible_rape VARCHAR)<|im_end|> <|im_start|>user How many vehicle thefts data were recorded if forcible rape is 1232?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_95 (club VARCHAR, points VARCHAR)", "role": "system" }, { "content": "Which club has 77 points?", "role": "user" }, { "content": "SELECT club FROM table_name_95 WHERE points = \"77\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_95 (club VARCHAR, points VARCHAR)<|im_end|> <|im_start|>user Which club has 77 points?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_53 (election VARCHAR)", "role": "system" }, { "content": "What 2nd Party has an Election of 1885?", "role": "user" }, { "content": "SELECT 2 AS nd_party FROM table_name_53 WHERE election = \"1885\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_53 (election VARCHAR)<|im_end|> <|im_start|>user What 2nd Party has an Election of 1885?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_24 (label VARCHAR, year INTEGER)", "role": "system" }, { "content": "What label is after 2004?", "role": "user" }, { "content": "SELECT label FROM table_name_24 WHERE year > 2004", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_24 (label VARCHAR, year INTEGER)<|im_end|> <|im_start|>user What label is after 2004?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_7 (pick__number INTEGER, position VARCHAR, overall VARCHAR)", "role": "system" }, { "content": "Position of defensive back, and an Overall smaller than 69 is what lowest pick #?", "role": "user" }, { "content": "SELECT MIN(pick__number) FROM table_name_7 WHERE position = \"defensive back\" AND overall < 69", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_7 (pick__number INTEGER, position VARCHAR, overall VARCHAR)<|im_end|> <|im_start|>user Position of defensive back, and an Overall smaller than 69 is what lowest pick #?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_12 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)", "role": "system" }, { "content": "What is the total grid number where the time/retired is +58.182 and the lap number is less than 67?", "role": "user" }, { "content": "SELECT SUM(grid) FROM table_name_12 WHERE time_retired = \"+58.182\" AND laps < 67", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_12 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)<|im_end|> <|im_start|>user What is the total grid number where the time/retired is +58.182 and the lap number is less than 67?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_70 (country VARCHAR, notes VARCHAR, athlete VARCHAR)", "role": "system" }, { "content": "What country did ekaterina karsten row for with fa listed under notes?", "role": "user" }, { "content": "SELECT country FROM table_name_70 WHERE notes = \"fa\" AND athlete = \"ekaterina karsten\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_70 (country VARCHAR, notes VARCHAR, athlete VARCHAR)<|im_end|> <|im_start|>user What country did ekaterina karsten row for with fa listed under notes?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_12141496_1 (alt_name VARCHAR, id VARCHAR)", "role": "system" }, { "content": "How many alt names does 1964-011a have?", "role": "user" }, { "content": "SELECT COUNT(alt_name) FROM table_12141496_1 WHERE id = \"1964-011A\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_12141496_1 (alt_name VARCHAR, id VARCHAR)<|im_end|> <|im_start|>user How many alt names does 1964-011a have?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_30 (first VARCHAR, dob VARCHAR)", "role": "system" }, { "content": "Which first was born on 5 february 1979?", "role": "user" }, { "content": "SELECT first FROM table_name_30 WHERE dob = \"5 february 1979\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_30 (first VARCHAR, dob VARCHAR)<|im_end|> <|im_start|>user Which first was born on 5 february 1979?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_95 (attendance INTEGER, record VARCHAR)", "role": "system" }, { "content": "On the game that put the team at 34-44, what was the attendance?", "role": "user" }, { "content": "SELECT SUM(attendance) FROM table_name_95 WHERE record = \"34-44\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_95 (attendance INTEGER, record VARCHAR)<|im_end|> <|im_start|>user On the game that put the team at 34-44, what was the attendance?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_17 (electricity_grid VARCHAR, commercial_operation VARCHAR)", "role": "system" }, { "content": "Which Electricity Grid started its Commercial Operation of 24.03.1973?", "role": "user" }, { "content": "SELECT electricity_grid FROM table_name_17 WHERE commercial_operation = \"24.03.1973\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_17 (electricity_grid VARCHAR, commercial_operation VARCHAR)<|im_end|> <|im_start|>user Which Electricity Grid started its Commercial Operation of 24.03.1973?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_28059992_2 (college VARCHAR, player VARCHAR)", "role": "system" }, { "content": "Name the number of colleges for jerome pathon", "role": "user" }, { "content": "SELECT COUNT(college) FROM table_28059992_2 WHERE player = \"Jerome Pathon\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_28059992_2 (college VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user Name the number of colleges for jerome pathon<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_18 (score VARCHAR, result VARCHAR, style VARCHAR)", "role": "system" }, { "content": "Which Score has a Result of third place, and a Style of cha-cha-cha?", "role": "user" }, { "content": "SELECT score FROM table_name_18 WHERE result = \"third place\" AND style = \"cha-cha-cha\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_18 (score VARCHAR, result VARCHAR, style VARCHAR)<|im_end|> <|im_start|>user Which Score has a Result of third place, and a Style of cha-cha-cha?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_22 (points_for VARCHAR, drawn VARCHAR, try_bonus VARCHAR)", "role": "system" }, { "content": "What points have 1 for drawn, and 16 as a try bonus?", "role": "user" }, { "content": "SELECT points_for FROM table_name_22 WHERE drawn = \"1\" AND try_bonus = \"16\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_22 (points_for VARCHAR, drawn VARCHAR, try_bonus VARCHAR)<|im_end|> <|im_start|>user What points have 1 for drawn, and 16 as a try bonus?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_19179465_1 (bp VARCHAR, club VARCHAR)", "role": "system" }, { "content": "What was the B.P. of club Halifax?", "role": "user" }, { "content": "SELECT bp FROM table_19179465_1 WHERE club = \"Halifax\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_19179465_1 (bp VARCHAR, club VARCHAR)<|im_end|> <|im_start|>user What was the B.P. of club Halifax?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_91 (winning_driver VARCHAR, winning_constructor VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Name the Winning driver of mercedes on 22 august?", "role": "user" }, { "content": "SELECT winning_driver FROM table_name_91 WHERE winning_constructor = \"mercedes\" AND date = \"22 august\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_91 (winning_driver VARCHAR, winning_constructor VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Name the Winning driver of mercedes on 22 august?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_19 (type VARCHAR, lt_nos VARCHAR, bldr VARCHAR, year VARCHAR)", "role": "system" }, { "content": "Bldr of mcw&f, and a Year smaller than 1927, and a LT Nos of 9820-9821 has what type?", "role": "user" }, { "content": "SELECT type FROM table_name_19 WHERE bldr = \"mcw&f\" AND year < 1927 AND lt_nos = \"9820-9821\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_19 (type VARCHAR, lt_nos VARCHAR, bldr VARCHAR, year VARCHAR)<|im_end|> <|im_start|>user Bldr of mcw&f, and a Year smaller than 1927, and a LT Nos of 9820-9821 has what type?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_60 (record VARCHAR, week VARCHAR)", "role": "system" }, { "content": "What was the team record by Week 8?", "role": "user" }, { "content": "SELECT record FROM table_name_60 WHERE week = \"8\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_60 (record VARCHAR, week VARCHAR)<|im_end|> <|im_start|>user What was the team record by Week 8?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_76 (winner VARCHAR, win__number VARCHAR, points VARCHAR)", "role": "system" }, { "content": "What is Winner, when Win # is greater than 1, and when Points is less than 94?", "role": "user" }, { "content": "SELECT winner FROM table_name_76 WHERE win__number > 1 AND points < 94", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_76 (winner VARCHAR, win__number VARCHAR, points VARCHAR)<|im_end|> <|im_start|>user What is Winner, when Win # is greater than 1, and when Points is less than 94?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_68 (marriage VARCHAR, became_duchess VARCHAR)", "role": "system" }, { "content": "Which Marriage has a Became Duchess of 12 december 1666?", "role": "user" }, { "content": "SELECT marriage FROM table_name_68 WHERE became_duchess = \"12 december 1666\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_68 (marriage VARCHAR, became_duchess VARCHAR)<|im_end|> <|im_start|>user Which Marriage has a Became Duchess of 12 december 1666?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_8 (iata VARCHAR, airport VARCHAR)", "role": "system" }, { "content": "What is the IATA of Madrid-Barajas Airport?", "role": "user" }, { "content": "SELECT iata FROM table_name_8 WHERE airport = \"madrid-barajas airport\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_8 (iata VARCHAR, airport VARCHAR)<|im_end|> <|im_start|>user What is the IATA of Madrid-Barajas Airport?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_64 (opponent VARCHAR, round VARCHAR)", "role": "system" }, { "content": "who was the opponent with round 17?", "role": "user" }, { "content": "SELECT opponent FROM table_name_64 WHERE round = \"17\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_64 (opponent VARCHAR, round VARCHAR)<|im_end|> <|im_start|>user who was the opponent with round 17?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1300080_1 (model_number VARCHAR, printer_ports VARCHAR)", "role": "system" }, { "content": "What is the number of the model with three parallel printer ports?", "role": "user" }, { "content": "SELECT model_number FROM table_1300080_1 WHERE printer_ports = \"Three Parallel\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_1300080_1 (model_number VARCHAR, printer_ports VARCHAR)<|im_end|> <|im_start|>user What is the number of the model with three parallel printer ports?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23287683_1 (title VARCHAR, series__number VARCHAR)", "role": "system" }, { "content": "How many episodes had a series number of 95?", "role": "user" }, { "content": "SELECT COUNT(title) FROM table_23287683_1 WHERE series__number = 95", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_23287683_1 (title VARCHAR, series__number VARCHAR)<|im_end|> <|im_start|>user How many episodes had a series number of 95?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Addresses (zip_postcode VARCHAR, city VARCHAR)", "role": "system" }, { "content": "What is the zip code of the address in the city Port Chelsea?", "role": "user" }, { "content": "SELECT zip_postcode FROM Addresses WHERE city = 'Port Chelsea'", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE Addresses (zip_postcode VARCHAR, city VARCHAR)<|im_end|> <|im_start|>user What is the zip code of the address in the city Port Chelsea?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_27 (res VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "What was the result of the fight with Tony Halme?", "role": "user" }, { "content": "SELECT res FROM table_name_27 WHERE opponent = \"tony halme\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_27 (res VARCHAR, opponent VARCHAR)<|im_end|> <|im_start|>user What was the result of the fight with Tony Halme?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_13 (year VARCHAR, actress VARCHAR)", "role": "system" }, { "content": "What year did Shelley Winters win?", "role": "user" }, { "content": "SELECT year FROM table_name_13 WHERE actress = \"shelley winters\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_13 (year VARCHAR, actress VARCHAR)<|im_end|> <|im_start|>user What year did Shelley Winters win?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_29 (top_5 INTEGER, position VARCHAR, year VARCHAR)", "role": "system" }, { "content": "Name the average Top 5 which has a Position of 52nd with a Year smaller than 2000?", "role": "user" }, { "content": "SELECT AVG(top_5) FROM table_name_29 WHERE position = \"52nd\" AND year < 2000", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_29 (top_5 INTEGER, position VARCHAR, year VARCHAR)<|im_end|> <|im_start|>user Name the average Top 5 which has a Position of 52nd with a Year smaller than 2000?<|im_end|>