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_name_32 (artist VARCHAR, week VARCHAR)", "role": "system" }, { "content": "Which Artist is listed as having Top 6 in Week", "role": "user" }, { "content": "SELECT artist FROM table_name_32 WHERE week = \"top 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_name_32 (artist VARCHAR, week VARCHAR)<|im_end|> <|im_start|>user Which Artist is listed as having Top 6 in Week<|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 (drivers VARCHAR, engine VARCHAR, races VARCHAR)", "role": "system" }, { "content": "Who drove a race car with a Mercedes IC 108e engine and has an 8-10 record?", "role": "user" }, { "content": "SELECT drivers FROM table_name_28 WHERE engine = \"mercedes ic 108e\" AND races = \"8-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_28 (drivers VARCHAR, engine VARCHAR, races VARCHAR)<|im_end|> <|im_start|>user Who drove a race car with a Mercedes IC 108e engine and has an 8-10 record?<|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_26842217_18 (broadcast VARCHAR, time VARCHAR, home_team VARCHAR)", "role": "system" }, { "content": "Name the broadcast for 7:00pm and mississippi state", "role": "user" }, { "content": "SELECT broadcast FROM table_26842217_18 WHERE time = \"7:00pm\" AND home_team = \"Mississippi State\"", "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_26842217_18 (broadcast VARCHAR, time VARCHAR, home_team VARCHAR)<|im_end|> <|im_start|>user Name the broadcast for 7:00pm and mississippi state<|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_2761641_1 (rebounds_per_game VARCHAR, tournament VARCHAR)", "role": "system" }, { "content": "How many rebounds per game did he have at the 2006 fiba world championship?", "role": "user" }, { "content": "SELECT rebounds_per_game FROM table_2761641_1 WHERE tournament = \"2006 FIBA World Championship\"", "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_2761641_1 (rebounds_per_game VARCHAR, tournament VARCHAR)<|im_end|> <|im_start|>user How many rebounds per game did he have at the 2006 fiba world championship?<|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 (week INTEGER, result VARCHAR)", "role": "system" }, { "content": "What week number saw a w 31-16 result?", "role": "user" }, { "content": "SELECT MIN(week) FROM table_name_21 WHERE result = \"w 31-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_21 (week INTEGER, result VARCHAR)<|im_end|> <|im_start|>user What week number saw a w 31-16 result?<|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_2933761_1 (gender VARCHAR, name VARCHAR)", "role": "system" }, { "content": "What gender is Quentin?", "role": "user" }, { "content": "SELECT gender FROM table_2933761_1 WHERE name = \"Quentin\"", "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_2933761_1 (gender VARCHAR, name VARCHAR)<|im_end|> <|im_start|>user What gender is Quentin?<|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 airport (id VARCHAR); CREATE TABLE flight (Id VARCHAR); CREATE TABLE operate_company (id VARCHAR)", "role": "system" }, { "content": "How many companies operates airlines in each airport?", "role": "user" }, { "content": "SELECT T3.id, COUNT(*) FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id JOIN airport AS T3 ON T2.airport_id = T3.id GROUP BY T3.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 airport (id VARCHAR); CREATE TABLE flight (Id VARCHAR); CREATE TABLE operate_company (id VARCHAR)<|im_end|> <|im_start|>user How many companies operates airlines in each 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_10 (year INTEGER, issue_price VARCHAR, theme VARCHAR)", "role": "system" }, { "content": "What year had an issue price of $2,995.95, and a theme of grizzly bear?", "role": "user" }, { "content": "SELECT MAX(year) FROM table_name_10 WHERE issue_price = \"$2,995.95\" AND theme = \"grizzly bear\"", "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_10 (year INTEGER, issue_price VARCHAR, theme VARCHAR)<|im_end|> <|im_start|>user What year had an issue price of $2,995.95, and a theme of grizzly bear?<|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 (team_1 VARCHAR)", "role": "system" }, { "content": "The 2nd leg is what for the Atlético Madrid as Team 1?", "role": "user" }, { "content": "SELECT 2 AS nd_leg FROM table_name_68 WHERE team_1 = \"atlético madrid\"", "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 (team_1 VARCHAR)<|im_end|> <|im_start|>user The 2nd leg is what for the Atlético Madrid as Team 1?<|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_16 (transfers VARCHAR, distance__km_ VARCHAR, station_name VARCHAR)", "role": "system" }, { "content": "What's the transfer distance (km) larger than 36.5, at the station of guangximen?", "role": "user" }, { "content": "SELECT transfers FROM table_name_16 WHERE distance__km_ > 36.5 AND station_name = \"guangximen\"", "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_16 (transfers VARCHAR, distance__km_ VARCHAR, station_name VARCHAR)<|im_end|> <|im_start|>user What's the transfer distance (km) larger than 36.5, at the station of guangximen?<|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_83 (away_team VARCHAR, crowd INTEGER)", "role": "system" }, { "content": "What is the score of the away team when the crowd was larger than 8,000?", "role": "user" }, { "content": "SELECT away_team AS score FROM table_name_83 WHERE crowd > 8 OFFSET 000", "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_83 (away_team VARCHAR, crowd INTEGER)<|im_end|> <|im_start|>user What is the score of the away team when the crowd was larger than 8,000?<|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_55 (res VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "What is the result for the match against Wataru Sakata?", "role": "user" }, { "content": "SELECT res FROM table_name_55 WHERE opponent = \"wataru sakata\"", "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_55 (res VARCHAR, opponent VARCHAR)<|im_end|> <|im_start|>user What is the result for the match against Wataru Sakata?<|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 (vote__percentage INTEGER, election VARCHAR)", "role": "system" }, { "content": "Name the most vote % with election of 1946", "role": "user" }, { "content": "SELECT MAX(vote__percentage) FROM table_name_53 WHERE election = \"1946\"", "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 (vote__percentage INTEGER, election VARCHAR)<|im_end|> <|im_start|>user Name the most vote % with election of 1946<|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 (home_team VARCHAR, venue VARCHAR)", "role": "system" }, { "content": "Which home team plays at Punt Road Oval?", "role": "user" }, { "content": "SELECT home_team FROM table_name_40 WHERE venue = \"punt road 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_40 (home_team VARCHAR, venue VARCHAR)<|im_end|> <|im_start|>user Which home team plays at Punt Road Oval?<|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_5 (played VARCHAR, drawn VARCHAR, lost VARCHAR)", "role": "system" }, { "content": "how many times is there more than 0 draws and more than 0 losses?", "role": "user" }, { "content": "SELECT COUNT(played) FROM table_name_5 WHERE drawn > 0 AND lost > 0", "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_5 (played VARCHAR, drawn VARCHAR, lost VARCHAR)<|im_end|> <|im_start|>user how many times is there more than 0 draws and more than 0 losses?<|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 (party VARCHAR, district VARCHAR)", "role": "system" }, { "content": "In Colorado 6 district what is the party?", "role": "user" }, { "content": "SELECT party FROM table_name_66 WHERE district = \"colorado 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_name_66 (party VARCHAR, district VARCHAR)<|im_end|> <|im_start|>user In Colorado 6 district what is the party?<|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_67 (loss VARCHAR, record VARCHAR)", "role": "system" }, { "content": "with a record of 68-80 what was the loss?", "role": "user" }, { "content": "SELECT loss FROM table_name_67 WHERE record = \"68-80\"", "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_67 (loss VARCHAR, record VARCHAR)<|im_end|> <|im_start|>user with a record of 68-80 what was the loss?<|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 (country VARCHAR, supermarkets VARCHAR)", "role": "system" }, { "content": "What country has 370 supermarkets?", "role": "user" }, { "content": "SELECT country FROM table_name_47 WHERE supermarkets = \"370\"", "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 (country VARCHAR, supermarkets VARCHAR)<|im_end|> <|im_start|>user What country has 370 supermarkets?<|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_14489821_1 (played INTEGER)", "role": "system" }, { "content": "what is the maximum number of matches played by a team?", "role": "user" }, { "content": "SELECT MAX(played) FROM table_14489821_1", "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_14489821_1 (played INTEGER)<|im_end|> <|im_start|>user what is the maximum number of matches played by a 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 TRACK (GenreId VARCHAR); CREATE TABLE GENRE (GenreId VARCHAR, Name VARCHAR)", "role": "system" }, { "content": "What is the average unit price of tracks that belong to Jazz genre?", "role": "user" }, { "content": "SELECT AVG(UnitPrice) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = \"Jazz\"", "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 TRACK (GenreId VARCHAR); CREATE TABLE GENRE (GenreId VARCHAR, Name VARCHAR)<|im_end|> <|im_start|>user What is the average unit price of tracks that belong to Jazz genre?<|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_55 (directed_by VARCHAR, written_by VARCHAR)", "role": "system" }, { "content": "What is the name of the director of the episode written by robin schwartz & robert tarlow?", "role": "user" }, { "content": "SELECT directed_by FROM table_name_55 WHERE written_by = \"robin schwartz & robert tarlow\"", "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_55 (directed_by VARCHAR, written_by VARCHAR)<|im_end|> <|im_start|>user What is the name of the director of the episode written by robin schwartz & robert tarlow?<|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_11621747_1 (tournament VARCHAR)", "role": "system" }, { "content": "How many prizes were there at the transamerica?", "role": "user" }, { "content": "SELECT COUNT(1 AS st_prize__) AS $__ FROM table_11621747_1 WHERE tournament = \"The Transamerica\"", "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_11621747_1 (tournament VARCHAR)<|im_end|> <|im_start|>user How many prizes were there at the transamerica?<|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_99 (country VARCHAR)", "role": "system" }, { "content": "What is the sum of participants in 2013 for Russia when there were 5 in 2010 and less than 4 in 2012?", "role": "user" }, { "content": "SELECT SUM(2013) FROM table_name_99 WHERE 2010 = 5 AND country = \"russia\" AND 2012 < 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_99 (country VARCHAR)<|im_end|> <|im_start|>user What is the sum of participants in 2013 for Russia when there were 5 in 2010 and less than 4 in 2012?<|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_85 (driver VARCHAR, time VARCHAR)", "role": "system" }, { "content": "What is name of the drive with a Time of +13.315?", "role": "user" }, { "content": "SELECT driver FROM table_name_85 WHERE time = \"+13.315\"", "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_85 (driver VARCHAR, time VARCHAR)<|im_end|> <|im_start|>user What is name of the drive with a Time of +13.315?<|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_55 (recording_date VARCHAR, title VARCHAR)", "role": "system" }, { "content": "On what date was My Lord What a Mornin' recorded?", "role": "user" }, { "content": "SELECT recording_date FROM table_name_55 WHERE title = \"my lord what a mornin'\"", "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_55 (recording_date VARCHAR, title VARCHAR)<|im_end|> <|im_start|>user On what date was My Lord What a Mornin' recorded?<|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 (theme VARCHAR, mintage VARCHAR)", "role": "system" }, { "content": "What theme has a mintage of 3527?", "role": "user" }, { "content": "SELECT theme FROM table_name_91 WHERE mintage = \"3527\"", "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 (theme VARCHAR, mintage VARCHAR)<|im_end|> <|im_start|>user What theme has a mintage of 3527?<|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_17115950_2 (replaced_by VARCHAR, team VARCHAR)", "role": "system" }, { "content": "Who replaced the manager on Team Cfr Cluj?", "role": "user" }, { "content": "SELECT replaced_by FROM table_17115950_2 WHERE team = \"CFR Cluj\"", "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_17115950_2 (replaced_by VARCHAR, team VARCHAR)<|im_end|> <|im_start|>user Who replaced the manager on Team Cfr Cluj?<|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_83 (national_final_main_host VARCHAR, semi_final_heat_host VARCHAR, year_s_ VARCHAR)", "role": "system" }, { "content": "What is the name of the national final main host when the semi final/heat host shows internal selection in 2011?", "role": "user" }, { "content": "SELECT national_final_main_host FROM table_name_83 WHERE semi_final_heat_host = \"internal selection\" AND year_s_ = \"2011\"", "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_83 (national_final_main_host VARCHAR, semi_final_heat_host VARCHAR, year_s_ VARCHAR)<|im_end|> <|im_start|>user What is the name of the national final main host when the semi final/heat host shows internal selection in 2011?<|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_78 (college_junior_club_team__league_ VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What college did Jamie Butt go to?", "role": "user" }, { "content": "SELECT college_junior_club_team__league_ FROM table_name_78 WHERE player = \"jamie butt\"", "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_78 (college_junior_club_team__league_ VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user What college did Jamie Butt go to?<|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_10 (ihsaa_class VARCHAR, mascot VARCHAR)", "role": "system" }, { "content": "Which IHSAA Class has a Mascot of bulldogs?", "role": "user" }, { "content": "SELECT ihsaa_class FROM table_name_10 WHERE mascot = \"bulldogs\"", "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_10 (ihsaa_class VARCHAR, mascot VARCHAR)<|im_end|> <|im_start|>user Which IHSAA Class has a Mascot of bulldogs?<|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_37 (total VARCHAR, player VARCHAR, fa_cup VARCHAR)", "role": "system" }, { "content": "How many totals have a Player of ahmad fouzee masuri, and an FA Cup larger than 0?", "role": "user" }, { "content": "SELECT COUNT(total) FROM table_name_37 WHERE player = \"ahmad fouzee masuri\" AND fa_cup > 0", "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_37 (total VARCHAR, player VARCHAR, fa_cup VARCHAR)<|im_end|> <|im_start|>user How many totals have a Player of ahmad fouzee masuri, and an FA Cup larger than 0?<|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_32 (ihsaa_class VARCHAR, mascot VARCHAR)", "role": "system" }, { "content": "Which IHSAA Class has a Mascot of tigers?", "role": "user" }, { "content": "SELECT ihsaa_class FROM table_name_32 WHERE mascot = \"tigers\"", "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_32 (ihsaa_class VARCHAR, mascot VARCHAR)<|im_end|> <|im_start|>user Which IHSAA Class has a Mascot of tigers?<|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_21584646_10 (runner_up VARCHAR, champion VARCHAR)", "role": "system" }, { "content": "Who is the runner up for the champion of john mcenroe 6–2, 6–3?", "role": "user" }, { "content": "SELECT runner_up FROM table_21584646_10 WHERE champion = \"John McEnroe 6–2, 6–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_21584646_10 (runner_up VARCHAR, champion VARCHAR)<|im_end|> <|im_start|>user Who is the runner up for the champion of john mcenroe 6–2, 6–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_9 (name VARCHAR, regional_county_municipality VARCHAR, code VARCHAR)", "role": "system" }, { "content": "What is the name for the regional county municipality of d'autray and a code less than 52017?", "role": "user" }, { "content": "SELECT name FROM table_name_9 WHERE regional_county_municipality = \"d'autray\" AND code < 52017", "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_9 (name VARCHAR, regional_county_municipality VARCHAR, code VARCHAR)<|im_end|> <|im_start|>user What is the name for the regional county municipality of d'autray and a code less than 52017?<|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_49 (visitor VARCHAR, record VARCHAR)", "role": "system" }, { "content": "Which visitor had a record of 7–5–3?", "role": "user" }, { "content": "SELECT visitor FROM table_name_49 WHERE record = \"7–5–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_49 (visitor VARCHAR, record VARCHAR)<|im_end|> <|im_start|>user Which visitor had a record of 7–5–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 song (artist_name VARCHAR, releasedate VARCHAR); CREATE TABLE artist (artist_name VARCHAR, gender VARCHAR)", "role": "system" }, { "content": "List the name and gender for all artists who released songs in March.", "role": "user" }, { "content": "SELECT T1.artist_name, T1.gender FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.releasedate LIKE \"%Mar%\"", "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 song (artist_name VARCHAR, releasedate VARCHAR); CREATE TABLE artist (artist_name VARCHAR, gender VARCHAR)<|im_end|> <|im_start|>user List the name and gender for all artists who released songs in March.<|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_96 (iucn VARCHAR, est VARCHAR, reserve VARCHAR)", "role": "system" }, { "content": "What is the IUCN for the gales point reserve when the Est. is 1998?", "role": "user" }, { "content": "SELECT iucn FROM table_name_96 WHERE est = 1998 AND reserve = \"gales point\"", "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_96 (iucn VARCHAR, est VARCHAR, reserve VARCHAR)<|im_end|> <|im_start|>user What is the IUCN for the gales point reserve when the Est. is 1998?<|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_28037619_2 (production_code VARCHAR, us_viewers__million_ VARCHAR)", "role": "system" }, { "content": "How many production codes are there for the episode that had 4.36 million u.s. viewers?", "role": "user" }, { "content": "SELECT COUNT(production_code) FROM table_28037619_2 WHERE us_viewers__million_ = \"4.36\"", "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_28037619_2 (production_code VARCHAR, us_viewers__million_ VARCHAR)<|im_end|> <|im_start|>user How many production codes are there for the episode that had 4.36 million u.s. 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_9 (draft VARCHAR, pick VARCHAR)", "role": "system" }, { "content": "In which year was the Pick #46?", "role": "user" }, { "content": "SELECT draft FROM table_name_9 WHERE pick = \"46\"", "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_9 (draft VARCHAR, pick VARCHAR)<|im_end|> <|im_start|>user In which year was the Pick #46?<|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 (week INTEGER, opponent VARCHAR)", "role": "system" }, { "content": "When was the earliest that New England Patriots played?", "role": "user" }, { "content": "SELECT MIN(week) FROM table_name_80 WHERE opponent = \"new england patriots\"", "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 (week INTEGER, opponent VARCHAR)<|im_end|> <|im_start|>user When was the earliest that New England Patriots played?<|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 poker_player (Earnings INTEGER)", "role": "system" }, { "content": "What is the average earnings of poker players?", "role": "user" }, { "content": "SELECT AVG(Earnings) FROM poker_player", "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 poker_player (Earnings INTEGER)<|im_end|> <|im_start|>user What is the average earnings of poker players?<|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_28220778_21 (score VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What is every score when the date is January 2?", "role": "user" }, { "content": "SELECT score FROM table_28220778_21 WHERE date = \"January 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_28220778_21 (score VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What is every score when the date is January 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_9 (score INTEGER, to_par VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What is the score when the to par was –5, for Peter Jacobsen?", "role": "user" }, { "content": "SELECT SUM(score) FROM table_name_9 WHERE to_par = \"–5\" AND player = \"peter jacobsen\"", "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_9 (score INTEGER, to_par VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user What is the score when the to par was –5, for Peter Jacobsen?<|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_37 (track INTEGER, writer_s_ VARCHAR, time VARCHAR)", "role": "system" }, { "content": "What's the smallest track written by dennis linde that's 2:50 minutes long", "role": "user" }, { "content": "SELECT MIN(track) FROM table_name_37 WHERE writer_s_ = \"dennis linde\" AND time = \"2:50\"", "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_37 (track INTEGER, writer_s_ VARCHAR, time VARCHAR)<|im_end|> <|im_start|>user What's the smallest track written by dennis linde that's 2:50 minutes long<|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_67 (score VARCHAR, tie_no VARCHAR)", "role": "system" }, { "content": "What is Score, when Tie No is \"109\"?", "role": "user" }, { "content": "SELECT score FROM table_name_67 WHERE tie_no = \"109\"", "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_67 (score VARCHAR, tie_no VARCHAR)<|im_end|> <|im_start|>user What is Score, when Tie No is "109"?<|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_26 (record VARCHAR, home VARCHAR)", "role": "system" }, { "content": "Can you tell me the Record that has the Home of ny islanders?", "role": "user" }, { "content": "SELECT record FROM table_name_26 WHERE home = \"ny islanders\"", "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_26 (record VARCHAR, home VARCHAR)<|im_end|> <|im_start|>user Can you tell me the Record that has the Home of ny islanders?<|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 (argon VARCHAR, helium VARCHAR)", "role": "system" }, { "content": "Wha argon has helium of 1.0000684?", "role": "user" }, { "content": "SELECT argon FROM table_name_54 WHERE helium = \"1.0000684\"", "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 (argon VARCHAR, helium VARCHAR)<|im_end|> <|im_start|>user Wha argon has helium of 1.0000684?<|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_1805191_36 (candidates VARCHAR, incumbent VARCHAR)", "role": "system" }, { "content": "Who are all of the candidates in elections where Dennis Kucinich was a candidate?", "role": "user" }, { "content": "SELECT candidates FROM table_1805191_36 WHERE incumbent = \"Dennis Kucinich\"", "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_1805191_36 (candidates VARCHAR, incumbent VARCHAR)<|im_end|> <|im_start|>user Who are all of the candidates in elections where Dennis Kucinich was a candidate?<|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 (power VARCHAR, city_of_license VARCHAR)", "role": "system" }, { "content": "what is the power when the city of license is belleville?", "role": "user" }, { "content": "SELECT power FROM table_name_71 WHERE city_of_license = \"belleville\"", "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 (power VARCHAR, city_of_license VARCHAR)<|im_end|> <|im_start|>user what is the power when the city of license is belleville?<|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_25042332_27 (region VARCHAR, automatic_washing_machine VARCHAR)", "role": "system" }, { "content": "Name the region for automatic washing machine being 60.9%", "role": "user" }, { "content": "SELECT region FROM table_25042332_27 WHERE automatic_washing_machine = \"60.9%\"", "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_25042332_27 (region VARCHAR, automatic_washing_machine VARCHAR)<|im_end|> <|im_start|>user Name the region for automatic washing machine being 60.9%<|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 (fcc_info VARCHAR, state VARCHAR, city_of_license VARCHAR)", "role": "system" }, { "content": "What is the FCC info for the radio station in West Lafayette, Indiana?", "role": "user" }, { "content": "SELECT fcc_info FROM table_name_35 WHERE state = \"indiana\" AND city_of_license = \"west lafayette\"", "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 (fcc_info VARCHAR, state VARCHAR, city_of_license VARCHAR)<|im_end|> <|im_start|>user What is the FCC info for the radio station in West Lafayette, Indiana?<|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_49 (loses INTEGER, draws VARCHAR, points VARCHAR)", "role": "system" }, { "content": "What is the highest number of losses for teams with under 3 draws and 51 points?", "role": "user" }, { "content": "SELECT MAX(loses) FROM table_name_49 WHERE draws < 3 AND points = 51", "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_49 (loses INTEGER, draws VARCHAR, points VARCHAR)<|im_end|> <|im_start|>user What is the highest number of losses for teams with under 3 draws and 51 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_24099628_1 (brand_name VARCHAR, model__list_ VARCHAR)", "role": "system" }, { "content": "What is the brand name associated with a model name e4xxx?", "role": "user" }, { "content": "SELECT brand_name FROM table_24099628_1 WHERE model__list_ = \"E4xxx\"", "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_24099628_1 (brand_name VARCHAR, model__list_ VARCHAR)<|im_end|> <|im_start|>user What is the brand name associated with a model name e4xxx?<|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_27332038_1 (original_air_date VARCHAR, production_code VARCHAR)", "role": "system" }, { "content": "when was the episode with production code \"2arg01\" originally aired?", "role": "user" }, { "content": "SELECT original_air_date FROM table_27332038_1 WHERE production_code = \"2ARG01\"", "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_27332038_1 (original_air_date VARCHAR, production_code VARCHAR)<|im_end|> <|im_start|>user when was the episode with production code "2arg01" originally aired?<|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 (result VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What was the result of the game that was played on february 27, 2000?", "role": "user" }, { "content": "SELECT result FROM table_name_38 WHERE date = \"february 27, 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_38 (result VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What was the result of the game that was played on february 27, 2000?<|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_92 (player VARCHAR, team VARCHAR)", "role": "system" }, { "content": "Who plays for the chicago bulls?", "role": "user" }, { "content": "SELECT player FROM table_name_92 WHERE team = \"chicago bulls\"", "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_92 (player VARCHAR, team VARCHAR)<|im_end|> <|im_start|>user Who plays for the chicago bulls?<|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_11303072_9 (player VARCHAR, rank VARCHAR)", "role": "system" }, { "content": "What are the players whose rank is 2?", "role": "user" }, { "content": "SELECT player FROM table_11303072_9 WHERE rank = 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_11303072_9 (player VARCHAR, rank VARCHAR)<|im_end|> <|im_start|>user What are the players whose rank is 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_95 (manager_1 VARCHAR, team VARCHAR)", "role": "system" }, { "content": "Who is the manager 1 for Leeds United?", "role": "user" }, { "content": "SELECT manager_1 FROM table_name_95 WHERE team = \"leeds 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_95 (manager_1 VARCHAR, team VARCHAR)<|im_end|> <|im_start|>user Who is the manager 1 for Leeds United?<|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_6 (college VARCHAR, cfl_team VARCHAR)", "role": "system" }, { "content": "What college did the player who was drafted by Calgary go to?", "role": "user" }, { "content": "SELECT college FROM table_28059992_6 WHERE cfl_team = \"Calgary\"", "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_6 (college VARCHAR, cfl_team VARCHAR)<|im_end|> <|im_start|>user What college did the player who was drafted by Calgary go to?<|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 (record VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What is the record of the game with a score of 1 – 5?", "role": "user" }, { "content": "SELECT record FROM table_name_39 WHERE score = \"1 – 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_name_39 (record VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user What is the record of the game with a score of 1 – 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_10 (erp_w INTEGER, call_sign VARCHAR)", "role": "system" }, { "content": "What is the highest ERP W with a w216bo call sign?", "role": "user" }, { "content": "SELECT MAX(erp_w) FROM table_name_10 WHERE call_sign = \"w216bo\"", "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_10 (erp_w INTEGER, call_sign VARCHAR)<|im_end|> <|im_start|>user What is the highest ERP W with a w216bo call sign?<|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 (title VARCHAR, released VARCHAR)", "role": "system" }, { "content": "What CD was released in 2009?", "role": "user" }, { "content": "SELECT title FROM table_name_64 WHERE released = 2009", "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 (title VARCHAR, released VARCHAR)<|im_end|> <|im_start|>user What CD was released in 2009?<|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 (length_feet VARCHAR, name VARCHAR, mi_from_kingston VARCHAR, length_meters VARCHAR)", "role": "system" }, { "content": "What is Lenth Feet, when Mi From Kingston is greater than 84.5, when Length Meters is greater than 55.5, and when Name is Unnamed?", "role": "user" }, { "content": "SELECT length_feet FROM table_name_28 WHERE mi_from_kingston > 84.5 AND length_meters > 55.5 AND name = \"unnamed\"", "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 (length_feet VARCHAR, name VARCHAR, mi_from_kingston VARCHAR, length_meters VARCHAR)<|im_end|> <|im_start|>user What is Lenth Feet, when Mi From Kingston is greater than 84.5, when Length Meters is greater than 55.5, and when Name is Unnamed?<|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 (trainer VARCHAR, year VARCHAR)", "role": "system" }, { "content": "Who was the trainer in 2013?", "role": "user" }, { "content": "SELECT trainer FROM table_name_71 WHERE year = 2013", "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 (trainer VARCHAR, year VARCHAR)<|im_end|> <|im_start|>user Who was the trainer in 2013?<|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_92 (date VARCHAR, week VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "Which date has a Week smaller than 14, and an Opponent of san francisco 49ers?", "role": "user" }, { "content": "SELECT date FROM table_name_92 WHERE week < 14 AND opponent = \"san francisco 49ers\"", "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_92 (date VARCHAR, week VARCHAR, opponent VARCHAR)<|im_end|> <|im_start|>user Which date has a Week smaller than 14, and an Opponent of san francisco 49ers?<|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_63 (rank__2012_ VARCHAR)", "role": "system" }, { "content": "What is the 2012 Employees (Total) when the rank (2012) is 7?", "role": "user" }, { "content": "SELECT 2012 AS _employees__total_ FROM table_name_63 WHERE rank__2012_ = 7", "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_63 (rank__2012_ VARCHAR)<|im_end|> <|im_start|>user What is the 2012 Employees (Total) when the rank (2012) is 7?<|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 (week_4_sept_21 VARCHAR, week_10_nov_2 VARCHAR)", "role": "system" }, { "content": "What is the week 4 opponent for the year with a week 10 opponent of Michigan State (8-2)?", "role": "user" }, { "content": "SELECT week_4_sept_21 FROM table_name_30 WHERE week_10_nov_2 = \"michigan state (8-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_30 (week_4_sept_21 VARCHAR, week_10_nov_2 VARCHAR)<|im_end|> <|im_start|>user What is the week 4 opponent for the year with a week 10 opponent of Michigan State (8-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_35 (points INTEGER, races INTEGER)", "role": "system" }, { "content": "What is the lowest number of points for Drivers that have raced in more than 16 Races?", "role": "user" }, { "content": "SELECT MIN(points) FROM table_name_35 WHERE races > 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_35 (points INTEGER, races INTEGER)<|im_end|> <|im_start|>user What is the lowest number of points for Drivers that have raced in more than 16 Races?<|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_72 (ends_lost VARCHAR, shot_pct VARCHAR, ends_won VARCHAR)", "role": "system" }, { "content": "How many ends lost when shot % is 88 and ends won are 31?", "role": "user" }, { "content": "SELECT COUNT(ends_lost) FROM table_name_72 WHERE shot_pct = 88 AND ends_won = 31", "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_72 (ends_lost VARCHAR, shot_pct VARCHAR, ends_won VARCHAR)<|im_end|> <|im_start|>user How many ends lost when shot % is 88 and ends won are 31?<|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_24673710_1 (winning_boat VARCHAR, year VARCHAR)", "role": "system" }, { "content": "When 2012 is the year what is the winning boat?", "role": "user" }, { "content": "SELECT winning_boat FROM table_24673710_1 WHERE year = 2012", "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_24673710_1 (winning_boat VARCHAR, year VARCHAR)<|im_end|> <|im_start|>user When 2012 is the year what is the winning boat?<|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 customers (customer_name VARCHAR)", "role": "system" }, { "content": "Find the name of all customers whose name contains \"Alex\".", "role": "user" }, { "content": "SELECT customer_name FROM customers WHERE customer_name LIKE \"%Alex%\"", "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 customers (customer_name VARCHAR)<|im_end|> <|im_start|>user Find the name of all customers whose name contains "Alex".<|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 flight (velocity INTEGER)", "role": "system" }, { "content": "How many flights have a velocity larger than 200?", "role": "user" }, { "content": "SELECT COUNT(*) FROM flight WHERE velocity > 200", "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 flight (velocity INTEGER)<|im_end|> <|im_start|>user How many flights have a velocity larger than 200?<|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_2850912_12 (player VARCHAR, college_junior_club_team VARCHAR)", "role": "system" }, { "content": "List the players for team brynäs if (sweden).", "role": "user" }, { "content": "SELECT player FROM table_2850912_12 WHERE college_junior_club_team = \"Brynäs IF (Sweden)\"", "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_2850912_12 (player VARCHAR, college_junior_club_team VARCHAR)<|im_end|> <|im_start|>user List the players for team brynäs if (sweden).<|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_25597136_1 (focal_plane_in_ft__m_ VARCHAR, tower_height_in_ft__m_ VARCHAR)", "role": "system" }, { "content": "Where tower height in ft (m) is 46ft (14.0m) the focal plane is ft (m).", "role": "user" }, { "content": "SELECT focal_plane_in_ft__m_ FROM table_25597136_1 WHERE tower_height_in_ft__m_ = \"46ft (14.0m)\"", "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_25597136_1 (focal_plane_in_ft__m_ VARCHAR, tower_height_in_ft__m_ VARCHAR)<|im_end|> <|im_start|>user Where tower height in ft (m) is 46ft (14.0m) the focal plane is ft (m).<|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 (location_attendance VARCHAR, record VARCHAR)", "role": "system" }, { "content": "Which Location Attendance has a Record of 11–34?", "role": "user" }, { "content": "SELECT location_attendance FROM table_name_27 WHERE record = \"11–34\"", "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 (location_attendance VARCHAR, record VARCHAR)<|im_end|> <|im_start|>user Which Location Attendance has a Record of 11–34?<|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_2500440_1 (population_density__per_km_2__ VARCHAR, name VARCHAR)", "role": "system" }, { "content": "What is the population density in Buffalo Lake?", "role": "user" }, { "content": "SELECT population_density__per_km_2__ FROM table_2500440_1 WHERE name = \"Buffalo Lake\"", "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_2500440_1 (population_density__per_km_2__ VARCHAR, name VARCHAR)<|im_end|> <|im_start|>user What is the population density in Buffalo Lake?<|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 (location VARCHAR)", "role": "system" }, { "content": "What is the 1st prize of the tournament in Scotland?", "role": "user" }, { "content": "SELECT 1 AS st_prize___$__ FROM table_name_95 WHERE location = \"scotland\"", "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 (location VARCHAR)<|im_end|> <|im_start|>user What is the 1st prize of the tournament in Scotland?<|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_49 (place VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What place was Bill Glasson in?", "role": "user" }, { "content": "SELECT place FROM table_name_49 WHERE player = \"bill glasson\"", "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_49 (place VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user What place was Bill Glasson in?<|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 (result VARCHAR, location VARCHAR, year VARCHAR)", "role": "system" }, { "content": "Tell me the result for warsaw 1929", "role": "user" }, { "content": "SELECT result FROM table_name_8 WHERE location = \"warsaw\" AND year = 1929", "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 (result VARCHAR, location VARCHAR, year VARCHAR)<|im_end|> <|im_start|>user Tell me the result for warsaw 1929<|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_1341423_20 (results VARCHAR, incumbent VARCHAR)", "role": "system" }, { "content": "What were the results in the election where Albert Wynn was the incumbent? ", "role": "user" }, { "content": "SELECT results FROM table_1341423_20 WHERE incumbent = \"Albert Wynn\"", "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_1341423_20 (results VARCHAR, incumbent VARCHAR)<|im_end|> <|im_start|>user What were the results in the election where Albert Wynn was the incumbent? <|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 (name VARCHAR, locomotive VARCHAR)", "role": "system" }, { "content": "What is the name for the locomotive n464?", "role": "user" }, { "content": "SELECT name FROM table_name_95 WHERE locomotive = \"n464\"", "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 (name VARCHAR, locomotive VARCHAR)<|im_end|> <|im_start|>user What is the name for the locomotive n464?<|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 (wins INTEGER, cuts_made VARCHAR, events VARCHAR)", "role": "system" }, { "content": "What is the highest wins a tournament with 3 cuts and more than 4 events has?", "role": "user" }, { "content": "SELECT MAX(wins) FROM table_name_27 WHERE cuts_made = 3 AND events > 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_27 (wins INTEGER, cuts_made VARCHAR, events VARCHAR)<|im_end|> <|im_start|>user What is the highest wins a tournament with 3 cuts and more than 4 events has?<|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_11869952_3 (mission VARCHAR, launch_date VARCHAR)", "role": "system" }, { "content": "Which missions were scheduled to launch on November 16, 2006?", "role": "user" }, { "content": "SELECT mission FROM table_11869952_3 WHERE launch_date = \"November 16, 2006\"", "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_11869952_3 (mission VARCHAR, launch_date VARCHAR)<|im_end|> <|im_start|>user Which missions were scheduled to launch on November 16, 2006?<|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 (losing_bonus VARCHAR, drawn VARCHAR, try_bonus VARCHAR)", "role": "system" }, { "content": "What was the losing bonus that had 1 draw and a 10 try bonus?", "role": "user" }, { "content": "SELECT losing_bonus FROM table_name_51 WHERE drawn = \"1\" AND try_bonus = \"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_51 (losing_bonus VARCHAR, drawn VARCHAR, try_bonus VARCHAR)<|im_end|> <|im_start|>user What was the losing bonus that had 1 draw and a 10 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_175980_2 (premiere VARCHAR, finale VARCHAR)", "role": "system" }, { "content": "What premieres had a finale on May 25, 2004?", "role": "user" }, { "content": "SELECT premiere FROM table_175980_2 WHERE finale = \"May 25, 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_175980_2 (premiere VARCHAR, finale VARCHAR)<|im_end|> <|im_start|>user What premieres had a finale on May 25, 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_4 (b_score INTEGER, a_score INTEGER)", "role": "system" }, { "content": "What is the greatest B score when the A score was less than 6.5?", "role": "user" }, { "content": "SELECT MAX(b_score) FROM table_name_4 WHERE a_score < 6.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_name_4 (b_score INTEGER, a_score INTEGER)<|im_end|> <|im_start|>user What is the greatest B score when the A score was less than 6.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_20 (circuit VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR)", "role": "system" }, { "content": "What Circuit has a Winning constructor of bugatti, and a Winning driver of edward bret?", "role": "user" }, { "content": "SELECT circuit FROM table_name_20 WHERE winning_constructor = \"bugatti\" AND winning_driver = \"edward bret\"", "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_20 (circuit VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR)<|im_end|> <|im_start|>user What Circuit has a Winning constructor of bugatti, and a Winning driver of edward bret?<|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_11621915_1 (winner VARCHAR, purse__$__ VARCHAR, date VARCHAR)", "role": "system" }, { "content": "what's the winner with purse( $ ) value of bigger than 964017.2297960471 and date value of may 28", "role": "user" }, { "content": "SELECT winner FROM table_11621915_1 WHERE purse__$__ > 964017.2297960471 AND date = \"May 28\"", "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_11621915_1 (winner VARCHAR, purse__$__ VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user what's the winner with purse( $ ) value of bigger than 964017.2297960471 and date value of may 28<|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_28001186_8 (ncaat_record VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What was the NCAA Tournament record after the June 26 game?", "role": "user" }, { "content": "SELECT ncaat_record FROM table_28001186_8 WHERE date = \"June 26\"", "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_28001186_8 (ncaat_record VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What was the NCAA Tournament record after the June 26 game?<|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_28802165_1 (poor_law_union VARCHAR, townland VARCHAR)", "role": "system" }, { "content": "What is the poor law union on Marshalstown?", "role": "user" }, { "content": "SELECT poor_law_union FROM table_28802165_1 WHERE townland = \"Marshalstown\"", "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_28802165_1 (poor_law_union VARCHAR, townland VARCHAR)<|im_end|> <|im_start|>user What is the poor law union on Marshalstown?<|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 (wins INTEGER, losses VARCHAR, draws VARCHAR)", "role": "system" }, { "content": "What was the greatest number of wins for a team that had 7 losses and more than 0 draws?", "role": "user" }, { "content": "SELECT MAX(wins) FROM table_name_17 WHERE losses = 7 AND draws > 0", "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 (wins INTEGER, losses VARCHAR, draws VARCHAR)<|im_end|> <|im_start|>user What was the greatest number of wins for a team that had 7 losses and more than 0 draws?<|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 (game INTEGER, score VARCHAR)", "role": "system" }, { "content": "Which Game has a Score of 4–1?", "role": "user" }, { "content": "SELECT SUM(game) FROM table_name_47 WHERE score = \"4–1\"", "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 (game INTEGER, score VARCHAR)<|im_end|> <|im_start|>user Which Game has a Score of 4–1?<|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_23576576_2 (height__in_ VARCHAR, represented VARCHAR)", "role": "system" }, { "content": "What is the height in inches if the represented is Erongo?", "role": "user" }, { "content": "SELECT height__in_ FROM table_23576576_2 WHERE represented = \"Erongo\"", "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_23576576_2 (height__in_ VARCHAR, represented VARCHAR)<|im_end|> <|im_start|>user What is the height in inches if the represented is Erongo?<|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 (week INTEGER, date VARCHAR, attendance VARCHAR)", "role": "system" }, { "content": "Who was the opponent on the date of November 29, 1970 and the attendance was less than 31,427?", "role": "user" }, { "content": "SELECT AVG(week) FROM table_name_41 WHERE date = \"november 29, 1970\" AND attendance < 31 OFFSET 427", "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 (week INTEGER, date VARCHAR, attendance VARCHAR)<|im_end|> <|im_start|>user Who was the opponent on the date of November 29, 1970 and the attendance was less than 31,427?<|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_10 (goals_for VARCHAR, lost VARCHAR, position VARCHAR)", "role": "system" }, { "content": "how many times is lost less than 7 and the position 2?", "role": "user" }, { "content": "SELECT COUNT(goals_for) FROM table_name_10 WHERE lost < 7 AND position = 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_10 (goals_for VARCHAR, lost VARCHAR, position VARCHAR)<|im_end|> <|im_start|>user how many times is lost less than 7 and the position 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_15926991_1 (weight__kg_ VARCHAR, jockey VARCHAR)", "role": "system" }, { "content": "What is the entry for weight in kilograms of jockey D. Nikolic?", "role": "user" }, { "content": "SELECT weight__kg_ FROM table_15926991_1 WHERE jockey = \"D. Nikolic\"", "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_15926991_1 (weight__kg_ VARCHAR, jockey VARCHAR)<|im_end|> <|im_start|>user What is the entry for weight in kilograms of jockey D. Nikolic?<|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_37 (score VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "What is the score of the tournament with younes el aynaoui as the opponent?", "role": "user" }, { "content": "SELECT score FROM table_name_37 WHERE opponent = \"younes el aynaoui\"", "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_37 (score VARCHAR, opponent VARCHAR)<|im_end|> <|im_start|>user What is the score of the tournament with younes el aynaoui as the opponent?<|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_42 (city VARCHAR, airport VARCHAR)", "role": "system" }, { "content": "what city is the toamasina airport in?", "role": "user" }, { "content": "SELECT city FROM table_name_42 WHERE airport = \"toamasina 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_42 (city VARCHAR, airport VARCHAR)<|im_end|> <|im_start|>user what city is the toamasina airport in?<|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_9 (project_management VARCHAR, social_software VARCHAR, enterprise_search VARCHAR, blogs VARCHAR, xml_forms_management_and_workflow VARCHAR)", "role": "system" }, { "content": "WHAT IS THE PM THAT HAS NO BLOGS, NO XML Forms Management and workflow, NO SEARCH, AND NO SOCIAL SOFTWARE?", "role": "user" }, { "content": "SELECT project_management FROM table_name_9 WHERE blogs = \"no\" AND xml_forms_management_and_workflow = \"no\" AND enterprise_search = \"no\" AND social_software = \"no\"", "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_9 (project_management VARCHAR, social_software VARCHAR, enterprise_search VARCHAR, blogs VARCHAR, xml_forms_management_and_workflow VARCHAR)<|im_end|> <|im_start|>user WHAT IS THE PM THAT HAS NO BLOGS, NO XML Forms Management and workflow, NO SEARCH, AND NO SOCIAL SOFTWARE?<|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_14903491_1 (mens_singles VARCHAR, mixed_doubles VARCHAR)", "role": "system" }, { "content": "Name the mens singles for jeliazko valkov dobrinka peneva", "role": "user" }, { "content": "SELECT mens_singles FROM table_14903491_1 WHERE mixed_doubles = \"Jeliazko Valkov Dobrinka Peneva\"", "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_14903491_1 (mens_singles VARCHAR, mixed_doubles VARCHAR)<|im_end|> <|im_start|>user Name the mens singles for jeliazko valkov dobrinka peneva<|im_end|>