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_61 (surface VARCHAR, opponent VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What is the Surface of the court against Ivo Klec with a Score of 6–3, 6–3?", "role": "user" }, { "content": "SELECT surface FROM table_name_61 WHERE opponent = \"ivo klec\" AND score = \"6–3, 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_name_61 (surface VARCHAR, opponent VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user What is the Surface of the court against Ivo Klec with a Score of 6–3, 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_45 (competition VARCHAR, year INTEGER)", "role": "system" }, { "content": "Which Competition has a Year larger than 2000?", "role": "user" }, { "content": "SELECT competition FROM table_name_45 WHERE 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_45 (competition VARCHAR, year INTEGER)<|im_end|> <|im_start|>user Which Competition has a Year larger than 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_65 (rank VARCHAR, events VARCHAR)", "role": "system" }, { "content": "What is the rank where the events is 31?", "role": "user" }, { "content": "SELECT rank FROM table_name_65 WHERE events = 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_65 (rank VARCHAR, events VARCHAR)<|im_end|> <|im_start|>user What is the rank where the events is 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_name_32 (Id VARCHAR)", "role": "system" }, { "content": "What is the 2008 entry for the row that as a 2011 entry of 1R?", "role": "user" }, { "content": "SELECT 2008 FROM table_name_32 WHERE 2011 = \"1r\"", "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 (Id VARCHAR)<|im_end|> <|im_start|>user What is the 2008 entry for the row that as a 2011 entry of 1R?<|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_93 (silver INTEGER, bronze VARCHAR, gold VARCHAR)", "role": "system" }, { "content": "How many silver medals did the team that had 5 bronze and less than 16 gold have?", "role": "user" }, { "content": "SELECT SUM(silver) FROM table_name_93 WHERE bronze > 5 AND gold < 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_93 (silver INTEGER, bronze VARCHAR, gold VARCHAR)<|im_end|> <|im_start|>user How many silver medals did the team that had 5 bronze and less than 16 gold 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_52 (week INTEGER, opponent VARCHAR)", "role": "system" }, { "content": "Which week with Green Bay Packers as an opponent is the highest?", "role": "user" }, { "content": "SELECT MAX(week) FROM table_name_52 WHERE opponent = \"green bay packers\"", "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_52 (week INTEGER, opponent VARCHAR)<|im_end|> <|im_start|>user Which week with Green Bay Packers as an opponent is the highest?<|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 (home_team VARCHAR, tie_no VARCHAR)", "role": "system" }, { "content": "What is the home team when the Tie no is 1?", "role": "user" }, { "content": "SELECT home_team FROM table_name_32 WHERE tie_no = \"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_32 (home_team VARCHAR, tie_no VARCHAR)<|im_end|> <|im_start|>user What is the home team when the Tie no is 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_82 (venue VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What was the venue on 14 november 1998?", "role": "user" }, { "content": "SELECT venue FROM table_name_82 WHERE date = \"14 november 1998\"", "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_82 (venue VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What was the venue on 14 november 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 Documents (document_id VARCHAR, receipt_date VARCHAR)", "role": "system" }, { "content": "List all document ids and receipt dates of documents.", "role": "user" }, { "content": "SELECT document_id, receipt_date FROM Documents", "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 Documents (document_id VARCHAR, receipt_date VARCHAR)<|im_end|> <|im_start|>user List all document ids and receipt dates of documents.<|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 (date VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What is the Date of the game with a Score of 6–4, 6–2?", "role": "user" }, { "content": "SELECT date FROM table_name_26 WHERE score = \"6–4, 6–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_26 (date VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user What is the Date of the game with a Score of 6–4, 6–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_45 (round VARCHAR, time VARCHAR)", "role": "system" }, { "content": "Which round was 2:30?", "role": "user" }, { "content": "SELECT round FROM table_name_45 WHERE time = \"2:30\"", "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_45 (round VARCHAR, time VARCHAR)<|im_end|> <|im_start|>user Which round was 2:30?<|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_45 (Leading VARCHAR, score VARCHAR)", "role": "system" }, { "content": "Leading scorer during the game of 68-79?", "role": "user" }, { "content": "SELECT Leading AS scorer FROM table_name_45 WHERE score = \"68-79\"", "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_45 (Leading VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user Leading scorer during the game of 68-79?<|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_21632864_1 (champions VARCHAR, third_place VARCHAR)", "role": "system" }, { "content": "who got the first position when Ehime Shimanami got the third position?", "role": "user" }, { "content": "SELECT champions FROM table_21632864_1 WHERE third_place = \"Ehime Shimanami\"", "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_21632864_1 (champions VARCHAR, third_place VARCHAR)<|im_end|> <|im_start|>user who got the first position when Ehime Shimanami got the third position?<|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_2259502_2 (partner VARCHAR, score VARCHAR)", "role": "system" }, { "content": "Who were the partners in games where the score was 1-6, 2-6?", "role": "user" }, { "content": "SELECT partner FROM table_2259502_2 WHERE score = \"1-6, 2-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_2259502_2 (partner VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user Who were the partners in games where the score was 1-6, 2-6?<|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 (constructor VARCHAR, q1_pos VARCHAR, q1_time VARCHAR)", "role": "system" }, { "content": "Who was the constructor of the car that had a Q1 pos of less than 8 and a Q1 time of 1:15.038?", "role": "user" }, { "content": "SELECT constructor FROM table_name_84 WHERE q1_pos < 8 AND q1_time = \"1:15.038\"", "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 (constructor VARCHAR, q1_pos VARCHAR, q1_time VARCHAR)<|im_end|> <|im_start|>user Who was the constructor of the car that had a Q1 pos of less than 8 and a Q1 time of 1:15.038?<|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 (michelle INTEGER, discipline VARCHAR)", "role": "system" }, { "content": "How did michelle do in archery?", "role": "user" }, { "content": "SELECT AVG(michelle) FROM table_name_39 WHERE discipline = \"archery\"", "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 (michelle INTEGER, discipline VARCHAR)<|im_end|> <|im_start|>user How did michelle do in archery?<|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_13608101_1 (bush_number INTEGER, others_percentage VARCHAR)", "role": "system" }, { "content": "what is the maximum bush# with others% being 1.57%", "role": "user" }, { "content": "SELECT MAX(bush_number) FROM table_13608101_1 WHERE others_percentage = \"1.57%\"", "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_13608101_1 (bush_number INTEGER, others_percentage VARCHAR)<|im_end|> <|im_start|>user what is the maximum bush# with others% being 1.57%<|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 (place VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What place is player Brad Faxon from?", "role": "user" }, { "content": "SELECT place FROM table_name_33 WHERE player = \"brad faxon\"", "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 (place VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user What place is player Brad Faxon 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_name_84 (pct VARCHAR, total_games INTEGER)", "role": "system" }, { "content": "What is the PCT when the total number of games is less than 944?", "role": "user" }, { "content": "SELECT pct FROM table_name_84 WHERE total_games < 944", "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 (pct VARCHAR, total_games INTEGER)<|im_end|> <|im_start|>user What is the PCT when the total number of games is less than 944?<|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_65 (date VARCHAR, week VARCHAR)", "role": "system" }, { "content": "When was the date that week 9 started?", "role": "user" }, { "content": "SELECT date FROM table_name_65 WHERE week = \"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_name_65 (date VARCHAR, week VARCHAR)<|im_end|> <|im_start|>user When was the date that week 9 started?<|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 (year VARCHAR, position VARCHAR)", "role": "system" }, { "content": "How many years have a Position of 17th (q)?", "role": "user" }, { "content": "SELECT COUNT(year) FROM table_name_41 WHERE position = \"17th (q)\"", "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 (year VARCHAR, position VARCHAR)<|im_end|> <|im_start|>user How many years have a Position of 17th (q)?<|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 chip_model (RAM_MiB INTEGER, model_name VARCHAR, chip_model VARCHAR); CREATE TABLE phone (RAM_MiB INTEGER, model_name VARCHAR, chip_model VARCHAR)", "role": "system" }, { "content": "Find the average ram mib size of the chip models that are never used by any phone.", "role": "user" }, { "content": "SELECT AVG(RAM_MiB) FROM chip_model WHERE NOT model_name IN (SELECT chip_model FROM phone)", "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 chip_model (RAM_MiB INTEGER, model_name VARCHAR, chip_model VARCHAR); CREATE TABLE phone (RAM_MiB INTEGER, model_name VARCHAR, chip_model VARCHAR)<|im_end|> <|im_start|>user Find the average ram mib size of the chip models that are never used by any phone.<|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_1342198_36 (result VARCHAR, incumbent VARCHAR)", "role": "system" }, { "content": "What was the result when incumbent Tom Steed was elected?", "role": "user" }, { "content": "SELECT result FROM table_1342198_36 WHERE incumbent = \"Tom Steed\"", "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_1342198_36 (result VARCHAR, incumbent VARCHAR)<|im_end|> <|im_start|>user What was the result when incumbent Tom Steed was 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_name_67 (rank INTEGER, date VARCHAR, attendance VARCHAR)", "role": "system" }, { "content": "What's the rank for February 11, 2012 with less than 18,735 in attendance?", "role": "user" }, { "content": "SELECT AVG(rank) FROM table_name_67 WHERE date = \"february 11, 2012\" AND attendance < 18 OFFSET 735", "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 (rank INTEGER, date VARCHAR, attendance VARCHAR)<|im_end|> <|im_start|>user What's the rank for February 11, 2012 with less than 18,735 in 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_86 (opponent VARCHAR, series VARCHAR)", "role": "system" }, { "content": "Who was the opponent when the series was at 1-3?", "role": "user" }, { "content": "SELECT opponent FROM table_name_86 WHERE series = \"1-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_86 (opponent VARCHAR, series VARCHAR)<|im_end|> <|im_start|>user Who was the opponent when the series was at 1-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_45 (death VARCHAR, birth VARCHAR)", "role": "system" }, { "content": "when was the death when the birth was 8 december 1542?", "role": "user" }, { "content": "SELECT death FROM table_name_45 WHERE birth = \"8 december 1542\"", "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_45 (death VARCHAR, birth VARCHAR)<|im_end|> <|im_start|>user when was the death when the birth was 8 december 1542?<|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 (build_date VARCHAR, total_produced VARCHAR)", "role": "system" }, { "content": "What is the build date when total produced is 2?", "role": "user" }, { "content": "SELECT build_date FROM table_name_80 WHERE total_produced = 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_80 (build_date VARCHAR, total_produced VARCHAR)<|im_end|> <|im_start|>user What is the build date when total produced 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_26 (result VARCHAR, week VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "What is the Result of the game after Week 10 against Philadelphia Eagles?", "role": "user" }, { "content": "SELECT result FROM table_name_26 WHERE week > 10 AND opponent = \"philadelphia eagles\"", "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 (result VARCHAR, week VARCHAR, opponent VARCHAR)<|im_end|> <|im_start|>user What is the Result of the game after Week 10 against Philadelphia Eagles?<|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 (spoofed_title VARCHAR, artist VARCHAR, issue VARCHAR)", "role": "system" }, { "content": "Which Spoofed title had Mort Drucker as the artist in issue 88?", "role": "user" }, { "content": "SELECT spoofed_title FROM table_name_97 WHERE artist = \"mort drucker\" AND issue = 88", "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 (spoofed_title VARCHAR, artist VARCHAR, issue VARCHAR)<|im_end|> <|im_start|>user Which Spoofed title had Mort Drucker as the artist in issue 88?<|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 (platform VARCHAR, system VARCHAR, name VARCHAR)", "role": "system" }, { "content": "What platform is nds4droid on for the nintendo ds?", "role": "user" }, { "content": "SELECT platform FROM table_name_97 WHERE system = \"nintendo ds\" AND name = \"nds4droid\"", "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 (platform VARCHAR, system VARCHAR, name VARCHAR)<|im_end|> <|im_start|>user What platform is nds4droid on for the nintendo ds?<|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_2508633_4 (pick__number VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What number pick was Danny Walters in the 1983 NFL draft?", "role": "user" }, { "content": "SELECT COUNT(pick__number) FROM table_2508633_4 WHERE player = \"Danny Walters\"", "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_2508633_4 (pick__number VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user What number pick was Danny Walters in the 1983 NFL draft?<|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 (game INTEGER, opponent VARCHAR)", "role": "system" }, { "content": "What is the first game played against the Chicago Black Hawks?", "role": "user" }, { "content": "SELECT MIN(game) FROM table_name_92 WHERE opponent = \"chicago black hawks\"", "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 (game INTEGER, opponent VARCHAR)<|im_end|> <|im_start|>user What is the first game played against the Chicago Black Hawks?<|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 (birthplace VARCHAR, birthdate VARCHAR, jersey__number VARCHAR, height__cm_ VARCHAR)", "role": "system" }, { "content": "What is the Birthplace, when the Jersey # is less than 18, when the Height (cm) is higher than 185, and when the Birthdate is March 3, 1980?", "role": "user" }, { "content": "SELECT birthplace FROM table_name_24 WHERE jersey__number < 18 AND height__cm_ > 185 AND birthdate = \"march 3, 1980\"", "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 (birthplace VARCHAR, birthdate VARCHAR, jersey__number VARCHAR, height__cm_ VARCHAR)<|im_end|> <|im_start|>user What is the Birthplace, when the Jersey # is less than 18, when the Height (cm) is higher than 185, and when the Birthdate is March 3, 1980?<|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_2296507_1 (stellar_age__myr_ VARCHAR, stellar_classification VARCHAR)", "role": "system" }, { "content": "Name the stellar age for f3v", "role": "user" }, { "content": "SELECT stellar_age__myr_ FROM table_2296507_1 WHERE stellar_classification = \"F3V\"", "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_2296507_1 (stellar_age__myr_ VARCHAR, stellar_classification VARCHAR)<|im_end|> <|im_start|>user Name the stellar age for f3v<|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_61 (wins VARCHAR, ballarat_fl VARCHAR, against VARCHAR)", "role": "system" }, { "content": "How many total wins does Ballarat FL of East point have when the against is greater than 1000?", "role": "user" }, { "content": "SELECT COUNT(wins) FROM table_name_61 WHERE ballarat_fl = \"east point\" AND against > 1000", "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_61 (wins VARCHAR, ballarat_fl VARCHAR, against VARCHAR)<|im_end|> <|im_start|>user How many total wins does Ballarat FL of East point have when the against is greater than 1000?<|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_1322904_1 (release VARCHAR, title VARCHAR)", "role": "system" }, { "content": "What was the release date of Sonic Adventure 2?", "role": "user" }, { "content": "SELECT release FROM table_1322904_1 WHERE title = \"Sonic Adventure 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_1322904_1 (release VARCHAR, title VARCHAR)<|im_end|> <|im_start|>user What was the release date of Sonic Adventure 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_5 (chassis VARCHAR, entrant VARCHAR)", "role": "system" }, { "content": "What chassis had an entrant of G.A. Vandervell?", "role": "user" }, { "content": "SELECT chassis FROM table_name_5 WHERE entrant = \"g.a. vandervell\"", "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 (chassis VARCHAR, entrant VARCHAR)<|im_end|> <|im_start|>user What chassis had an entrant of G.A. Vandervell?<|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_50 (voting_order INTEGER, commentator VARCHAR)", "role": "system" }, { "content": "What was the voting order when bunny carr was the commentator?", "role": "user" }, { "content": "SELECT SUM(voting_order) FROM table_name_50 WHERE commentator = \"bunny carr\"", "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_50 (voting_order INTEGER, commentator VARCHAR)<|im_end|> <|im_start|>user What was the voting order when bunny carr was the commentator?<|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_17120964_5 (result VARCHAR, man_of_the_match VARCHAR, venue VARCHAR)", "role": "system" }, { "content": "Name the result for lukas smital and home", "role": "user" }, { "content": "SELECT result FROM table_17120964_5 WHERE man_of_the_match = \"Lukas Smital\" AND venue = \"Home\"", "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_17120964_5 (result VARCHAR, man_of_the_match VARCHAR, venue VARCHAR)<|im_end|> <|im_start|>user Name the result for lukas smital and home<|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_89 (rank INTEGER, goals VARCHAR, matches VARCHAR, name VARCHAR)", "role": "system" }, { "content": "What was Des Dickson's lowest rank for matches smaller than 285 and less than 219 goals?", "role": "user" }, { "content": "SELECT MIN(rank) FROM table_name_89 WHERE matches < 285 AND name = \"des dickson\" AND goals < 219", "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_89 (rank INTEGER, goals VARCHAR, matches VARCHAR, name VARCHAR)<|im_end|> <|im_start|>user What was Des Dickson's lowest rank for matches smaller than 285 and less than 219 goals?<|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_69 (date VARCHAR, record VARCHAR)", "role": "system" }, { "content": "What was the date of the record of 43-28?", "role": "user" }, { "content": "SELECT date FROM table_name_69 WHERE record = \"43-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_name_69 (date VARCHAR, record VARCHAR)<|im_end|> <|im_start|>user What was the date of the record of 43-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_name_46 (venue VARCHAR, away_team VARCHAR)", "role": "system" }, { "content": "Where was the game held where Hawthorn was the away team?", "role": "user" }, { "content": "SELECT venue FROM table_name_46 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_46 (venue VARCHAR, away_team VARCHAR)<|im_end|> <|im_start|>user Where was the game held where Hawthorn was 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 Products (product_size VARCHAR)", "role": "system" }, { "content": "Show all product sizes.", "role": "user" }, { "content": "SELECT DISTINCT product_size FROM Products", "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 Products (product_size VARCHAR)<|im_end|> <|im_start|>user Show all product sizes.<|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_11 (number_of_electorates__2009_ INTEGER, district VARCHAR, name VARCHAR)", "role": "system" }, { "content": "Count the Number of electorates (2009) that has a District of fatehpur and jahanabad?", "role": "user" }, { "content": "SELECT SUM(number_of_electorates__2009_) FROM table_name_11 WHERE district = \"fatehpur\" AND name = \"jahanabad\"", "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_11 (number_of_electorates__2009_ INTEGER, district VARCHAR, name VARCHAR)<|im_end|> <|im_start|>user Count the Number of electorates (2009) that has a District of fatehpur and jahanabad?<|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_23285761_7 (high_assists VARCHAR, high_rebounds VARCHAR)", "role": "system" }, { "content": "Who did the high assists in the game where Amar'e Stoudemire (10) did the high rebounds?", "role": "user" }, { "content": "SELECT high_assists FROM table_23285761_7 WHERE high_rebounds = \"Amar'e Stoudemire (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_23285761_7 (high_assists VARCHAR, high_rebounds VARCHAR)<|im_end|> <|im_start|>user Who did the high assists in the game where Amar'e Stoudemire (10) did the high rebounds?<|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_16799784_8 (longitude VARCHAR, name VARCHAR)", "role": "system" }, { "content": "What is the longitude of the feature named Razia Patera? ", "role": "user" }, { "content": "SELECT longitude FROM table_16799784_8 WHERE name = \"Razia Patera\"", "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_16799784_8 (longitude VARCHAR, name VARCHAR)<|im_end|> <|im_start|>user What is the longitude of the feature named Razia Patera? <|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 (field_goals VARCHAR, player VARCHAR)", "role": "system" }, { "content": "How many field goals did duncan thompson have?", "role": "user" }, { "content": "SELECT field_goals FROM table_name_8 WHERE player = \"duncan thompson\"", "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 (field_goals VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user How many field goals did duncan thompson 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_27 (home_team VARCHAR, venue VARCHAR)", "role": "system" }, { "content": "Who was the home team when the VFL played Kardinia Park?", "role": "user" }, { "content": "SELECT home_team AS score FROM table_name_27 WHERE venue = \"kardinia park\"", "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 (home_team VARCHAR, venue VARCHAR)<|im_end|> <|im_start|>user Who was the home team when the VFL played Kardinia Park?<|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 (main_developer VARCHAR, first_release VARCHAR, console VARCHAR)", "role": "system" }, { "content": "Which main developer made their first release in 1991 and created the Mega Drive/Genesis console?", "role": "user" }, { "content": "SELECT main_developer FROM table_12887260_1 WHERE first_release = 1991 AND console = \"Mega Drive/Genesis\"", "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 (main_developer VARCHAR, first_release VARCHAR, console VARCHAR)<|im_end|> <|im_start|>user Which main developer made their first release in 1991 and created the Mega Drive/Genesis console?<|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 (Id VARCHAR)", "role": "system" }, { "content": "What is the highest value for 1970, when the value for 1960 is less than 61.9, when the value for 1980 is less than 3.8, when the value for 1990 is 3.3, and when the value for 2000 is greater than 3.2?", "role": "user" }, { "content": "SELECT MAX(1970) FROM table_name_81 WHERE 1960 < 61.9 AND 1980 < 3.8 AND 1990 = 3.3 AND 2000 > 3.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_81 (Id VARCHAR)<|im_end|> <|im_start|>user What is the highest value for 1970, when the value for 1960 is less than 61.9, when the value for 1980 is less than 3.8, when the value for 1990 is 3.3, and when the value for 2000 is greater than 3.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_42 (away_team VARCHAR, home_team VARCHAR)", "role": "system" }, { "content": "What is the Away team with Newcastle United as the Home team?", "role": "user" }, { "content": "SELECT away_team FROM table_name_42 WHERE home_team = \"newcastle 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_42 (away_team VARCHAR, home_team VARCHAR)<|im_end|> <|im_start|>user What is the Away team with Newcastle United as 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_1529793_1 (listed_owner_s_ VARCHAR, driver_s_ VARCHAR)", "role": "system" }, { "content": "Who owned the team Jeremy Mayfield raced for?", "role": "user" }, { "content": "SELECT listed_owner_s_ FROM table_1529793_1 WHERE driver_s_ = \"Jeremy Mayfield\"", "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_1529793_1 (listed_owner_s_ VARCHAR, driver_s_ VARCHAR)<|im_end|> <|im_start|>user Who owned the team Jeremy Mayfield raced for?<|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 (catalogue VARCHAR, song_title VARCHAR)", "role": "system" }, { "content": "Name the catalogue with song title of love me tonight", "role": "user" }, { "content": "SELECT catalogue FROM table_name_33 WHERE song_title = \"love me tonight\"", "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 (catalogue VARCHAR, song_title VARCHAR)<|im_end|> <|im_start|>user Name the catalogue with song title of love me tonight<|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 (grid INTEGER, time_retired VARCHAR, points VARCHAR)", "role": "system" }, { "content": "What is the grid associated with a Time/Retired of + 1 lap, and under 7 points?", "role": "user" }, { "content": "SELECT MIN(grid) FROM table_name_99 WHERE time_retired = \"+ 1 lap\" AND points < 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_99 (grid INTEGER, time_retired VARCHAR, points VARCHAR)<|im_end|> <|im_start|>user What is the grid associated with a Time/Retired of + 1 lap, and under 7 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_93 (record VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "What record has @ ottawa senators as the opponent?", "role": "user" }, { "content": "SELECT record FROM table_name_93 WHERE opponent = \"@ ottawa senators\"", "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_93 (record VARCHAR, opponent VARCHAR)<|im_end|> <|im_start|>user What record has @ ottawa senators 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 channel (OWNER VARCHAR, rating_in_percent VARCHAR)", "role": "system" }, { "content": "What is the owner of the channel that has the highest rating ratio?", "role": "user" }, { "content": "SELECT OWNER FROM channel ORDER BY rating_in_percent DESC LIMIT 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 channel (OWNER VARCHAR, rating_in_percent VARCHAR)<|im_end|> <|im_start|>user What is the owner of the channel that has the highest rating ratio?<|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 (date VARCHAR, week VARCHAR)", "role": "system" }, { "content": "What Date is Week 1?", "role": "user" }, { "content": "SELECT date FROM table_name_54 WHERE week = 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_54 (date VARCHAR, week VARCHAR)<|im_end|> <|im_start|>user What Date is Week 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_94 (crowd INTEGER, venue VARCHAR)", "role": "system" }, { "content": "What is the smallest crowd at the Victoria Park Venue?", "role": "user" }, { "content": "SELECT MIN(crowd) FROM table_name_94 WHERE venue = \"victoria park\"", "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_94 (crowd INTEGER, venue VARCHAR)<|im_end|> <|im_start|>user What is the smallest crowd at the Victoria Park Venue?<|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_82 (gold VARCHAR, rank VARCHAR, bronze VARCHAR)", "role": "system" }, { "content": "How many times is the rank higher than 3 and bronze more than 1?", "role": "user" }, { "content": "SELECT COUNT(gold) FROM table_name_82 WHERE rank > 3 AND bronze > 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_82 (gold VARCHAR, rank VARCHAR, bronze VARCHAR)<|im_end|> <|im_start|>user How many times is the rank higher than 3 and bronze more than 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_1137695_3 (pole_position VARCHAR, grand_prix VARCHAR)", "role": "system" }, { "content": "Who was on the pole position at the monaco grand prix?", "role": "user" }, { "content": "SELECT pole_position FROM table_1137695_3 WHERE grand_prix = \"Monaco grand_prix\"", "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_1137695_3 (pole_position VARCHAR, grand_prix VARCHAR)<|im_end|> <|im_start|>user Who was on the pole position at the monaco grand prix?<|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_14889988_1 (title VARCHAR, written_by VARCHAR)", "role": "system" }, { "content": "What is the title for the episode written by Robert Carlock & Dana Klein Borkow?", "role": "user" }, { "content": "SELECT title FROM table_14889988_1 WHERE written_by = \"Robert Carlock & Dana Klein Borkow\"", "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_14889988_1 (title VARCHAR, written_by VARCHAR)<|im_end|> <|im_start|>user What is the title for the episode written by Robert Carlock & Dana Klein Borkow?<|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 (opponent VARCHAR, record VARCHAR)", "role": "system" }, { "content": "What was the Opponent when the Cavaliers had a Record of 3-9?", "role": "user" }, { "content": "SELECT opponent FROM table_name_10 WHERE record = \"3-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_name_10 (opponent VARCHAR, record VARCHAR)<|im_end|> <|im_start|>user What was the Opponent when the Cavaliers had a Record of 3-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_54 (viewers__m_ INTEGER, rating VARCHAR, episode VARCHAR)", "role": "system" }, { "content": "What Viewers (m) has a Rating of 1.7, and an Episode of the game of life?", "role": "user" }, { "content": "SELECT MAX(viewers__m_) FROM table_name_54 WHERE rating = \"1.7\" AND episode = \"the game of life\"", "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 (viewers__m_ INTEGER, rating VARCHAR, episode VARCHAR)<|im_end|> <|im_start|>user What Viewers (m) has a Rating of 1.7, and an Episode of the game of life?<|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 (year INTEGER, tournament VARCHAR)", "role": "system" }, { "content": "What average year has international meeting & national championships as the tournament?", "role": "user" }, { "content": "SELECT AVG(year) FROM table_name_64 WHERE tournament = \"international meeting & national championships\"", "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 (year INTEGER, tournament VARCHAR)<|im_end|> <|im_start|>user What average year has international meeting & national championships as the tournament?<|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_1 (cfl_team VARCHAR, pick__number VARCHAR)", "role": "system" }, { "content": "What is every CFL team with pick#1?", "role": "user" }, { "content": "SELECT cfl_team FROM table_28059992_1 WHERE pick__number = 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_28059992_1 (cfl_team VARCHAR, pick__number VARCHAR)<|im_end|> <|im_start|>user What is every CFL team with pick#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_36 (frequency_mhz INTEGER, erp_w VARCHAR)", "role": "system" }, { "content": "Which Frequency MHz has a ERP W of 250?", "role": "user" }, { "content": "SELECT MAX(frequency_mhz) FROM table_name_36 WHERE erp_w = 250", "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 (frequency_mhz INTEGER, erp_w VARCHAR)<|im_end|> <|im_start|>user Which Frequency MHz has a ERP W of 250?<|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 (country VARCHAR, to_par VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What is the country that the player is from with +3 to par and score of 74-73=147?", "role": "user" }, { "content": "SELECT country FROM table_name_30 WHERE to_par = \"+3\" AND score = 74 - 73 = 147", "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 (country VARCHAR, to_par VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user What is the country that the player is from with +3 to par and score of 74-73=147?<|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 (date VARCHAR, field VARCHAR)", "role": "system" }, { "content": "What days were games played at Hofstra Stadium?", "role": "user" }, { "content": "SELECT date FROM table_name_20 WHERE field = \"hofstra 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_name_20 (date VARCHAR, field VARCHAR)<|im_end|> <|im_start|>user What days were games played at Hofstra 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_64 (runner_s__up VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Who was the runner-up on Jul 14, 1968?", "role": "user" }, { "content": "SELECT runner_s__up FROM table_name_64 WHERE date = \"jul 14, 1968\"", "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 (runner_s__up VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Who was the runner-up on Jul 14, 1968?<|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_25173505_13 (english_version VARCHAR, buena_vista_edition VARCHAR)", "role": "system" }, { "content": "what is the english version that is buena vista edition is daisuke gouri?", "role": "user" }, { "content": "SELECT english_version FROM table_25173505_13 WHERE buena_vista_edition = \"Daisuke Gouri\"", "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_25173505_13 (english_version VARCHAR, buena_vista_edition VARCHAR)<|im_end|> <|im_start|>user what is the english version that is buena vista edition is daisuke gouri?<|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 (method VARCHAR, record VARCHAR)", "role": "system" }, { "content": "Which method has a record of 4-0?", "role": "user" }, { "content": "SELECT method FROM table_name_83 WHERE record = \"4-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_83 (method VARCHAR, record VARCHAR)<|im_end|> <|im_start|>user Which method has a record of 4-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_54 (trainer VARCHAR, time VARCHAR, jockey VARCHAR)", "role": "system" }, { "content": "What Trainer had Jockey William Jenkins in a race with Time of 1:44.80?", "role": "user" }, { "content": "SELECT trainer FROM table_name_54 WHERE time = \"1:44.80\" AND jockey = \"william jenkins\"", "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 (trainer VARCHAR, time VARCHAR, jockey VARCHAR)<|im_end|> <|im_start|>user What Trainer had Jockey William Jenkins in a race with Time of 1:44.80?<|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 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)", "role": "system" }, { "content": "What is the real name of the movie about love?", "role": "user" }, { "content": "SELECT original_name FROM table_name_26 WHERE film_title_used_in_nomination = \"love\"", "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 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)<|im_end|> <|im_start|>user What is the real name of the movie about love?<|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 (nationality VARCHAR, ranking VARCHAR, name VARCHAR)", "role": "system" }, { "content": "What nationality has a ranking less than 7 with tony stenson as the name?", "role": "user" }, { "content": "SELECT nationality FROM table_name_13 WHERE ranking < 7 AND name = \"tony stenson\"", "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 (nationality VARCHAR, ranking VARCHAR, name VARCHAR)<|im_end|> <|im_start|>user What nationality has a ranking less than 7 with tony stenson as the 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 table_25401_15 (latin VARCHAR, catalan VARCHAR)", "role": "system" }, { "content": "What is every entry for Latin when Catalan is Mar?", "role": "user" }, { "content": "SELECT latin FROM table_25401_15 WHERE catalan = \"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 table_25401_15 (latin VARCHAR, catalan VARCHAR)<|im_end|> <|im_start|>user What is every entry for Latin when Catalan is Mar?<|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 (date VARCHAR, handler VARCHAR, event VARCHAR)", "role": "system" }, { "content": "On what date was Mike Jackson a handler at the Indianapolis Boat, Sport & Travel Show?", "role": "user" }, { "content": "SELECT date FROM table_name_56 WHERE handler = \"mike jackson\" AND event = \"indianapolis boat, sport & travel show\"", "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 (date VARCHAR, handler VARCHAR, event VARCHAR)<|im_end|> <|im_start|>user On what date was Mike Jackson a handler at the Indianapolis Boat, Sport & Travel Show?<|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_2076522_2 (founded INTEGER, enrollment__fall_2010_ VARCHAR)", "role": "system" }, { "content": "What year was the school founded with an 898 enrollment?", "role": "user" }, { "content": "SELECT MAX(founded) FROM table_2076522_2 WHERE enrollment__fall_2010_ = 898", "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_2076522_2 (founded INTEGER, enrollment__fall_2010_ VARCHAR)<|im_end|> <|im_start|>user What year was the school founded with an 898 enrollment?<|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_62 (hometown VARCHAR, height VARCHAR, name VARCHAR)", "role": "system" }, { "content": "What is the hometown of Devon Bookert who is 6-3 tall?", "role": "user" }, { "content": "SELECT hometown FROM table_name_62 WHERE height = \"6-3\" AND name = \"devon bookert\"", "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_62 (hometown VARCHAR, height VARCHAR, name VARCHAR)<|im_end|> <|im_start|>user What is the hometown of Devon Bookert who is 6-3 tall?<|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 employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, department_id VARCHAR)", "role": "system" }, { "content": "display the employee name ( first name and last name ) and hire date for all employees in the same department as Clara.", "role": "user" }, { "content": "SELECT first_name, last_name, hire_date FROM employees WHERE department_id = (SELECT department_id FROM employees WHERE first_name = \"Clara\")", "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 employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, department_id VARCHAR)<|im_end|> <|im_start|>user display the employee name ( first name and last name ) and hire date for all employees in the same department as Clara.<|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 (purse__ INTEGER, year INTEGER)", "role": "system" }, { "content": "How much is the purse worth (¥) after 2012?", "role": "user" }, { "content": "SELECT SUM(purse__) AS ¥_ FROM table_name_42 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_name_42 (purse__ INTEGER, year INTEGER)<|im_end|> <|im_start|>user How much is the purse worth (¥) after 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_49 (home_team VARCHAR, away_team VARCHAR)", "role": "system" }, { "content": "Which home team played against Hawthorn?", "role": "user" }, { "content": "SELECT home_team AS score FROM table_name_49 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_49 (home_team VARCHAR, away_team VARCHAR)<|im_end|> <|im_start|>user Which home team played against Hawthorn?<|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_50 (year INTEGER, type VARCHAR, title VARCHAR)", "role": "system" }, { "content": "What year had a title of Die Shaolin Affen EP and EP as the type?", "role": "user" }, { "content": "SELECT AVG(year) FROM table_name_50 WHERE type = \"ep\" AND title = \"die shaolin affen ep\"", "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_50 (year INTEGER, type VARCHAR, title VARCHAR)<|im_end|> <|im_start|>user What year had a title of Die Shaolin Affen EP and EP as the 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_2241259_1 (race_time VARCHAR, driver VARCHAR)", "role": "system" }, { "content": "Name the total number of race time for kevin harvick", "role": "user" }, { "content": "SELECT COUNT(race_time) FROM table_2241259_1 WHERE driver = \"Kevin Harvick\"", "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_2241259_1 (race_time VARCHAR, driver VARCHAR)<|im_end|> <|im_start|>user Name the total number of race time for kevin harvick<|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 (set_2 VARCHAR, set_4 VARCHAR)", "role": "system" }, { "content": "What set 2 has a set 4 of 21-25?", "role": "user" }, { "content": "SELECT set_2 FROM table_name_74 WHERE set_4 = \"21-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_74 (set_2 VARCHAR, set_4 VARCHAR)<|im_end|> <|im_start|>user What set 2 has a set 4 of 21-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 (competition VARCHAR, main_article VARCHAR, captain VARCHAR, lost VARCHAR)", "role": "system" }, { "content": "What Competition in Main Article of Bradford Bulls 1997 have Robbie Paul as Captain with less than 5 Lost?", "role": "user" }, { "content": "SELECT competition FROM table_name_54 WHERE captain = \"robbie paul\" AND lost < 5 AND main_article = \"bradford bulls 1997\"", "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 (competition VARCHAR, main_article VARCHAR, captain VARCHAR, lost VARCHAR)<|im_end|> <|im_start|>user What Competition in Main Article of Bradford Bulls 1997 have Robbie Paul as Captain with less than 5 Lost?<|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 (home VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Who played the home team during the game on January 6?", "role": "user" }, { "content": "SELECT home FROM table_name_56 WHERE date = \"january 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_56 (home VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Who played the home team during the game on January 6?<|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 (country VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What country has a score of 74-70=144", "role": "user" }, { "content": "SELECT country FROM table_name_2 WHERE score = 74 - 70 = 144", "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 (country VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user What country has a score of 74-70=144<|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_1341690_43 (candidates VARCHAR, district VARCHAR)", "role": "system" }, { "content": "Name the candidates for texas 1", "role": "user" }, { "content": "SELECT candidates FROM table_1341690_43 WHERE district = \"Texas 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_1341690_43 (candidates VARCHAR, district VARCHAR)<|im_end|> <|im_start|>user Name the candidates for texas 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_17968229_1 (home__2nd_leg_ VARCHAR)", "role": "system" }, { "content": "If second leg is Newell's Old Boys, what name is first leg?", "role": "user" }, { "content": "SELECT 1 AS st_leg FROM table_17968229_1 WHERE home__2nd_leg_ = \"Newell's Old Boys\"", "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_17968229_1 (home__2nd_leg_ VARCHAR)<|im_end|> <|im_start|>user If second leg is Newell's Old Boys, what name is first leg?<|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_20887670_1 (enrollment VARCHAR, institution VARCHAR)", "role": "system" }, { "content": "what is the number of enrollment of the central institution?", "role": "user" }, { "content": "SELECT enrollment FROM table_20887670_1 WHERE institution = \"Central\"", "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_20887670_1 (enrollment VARCHAR, institution VARCHAR)<|im_end|> <|im_start|>user what is the number of enrollment of the central institution?<|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 (date VARCHAR, game VARCHAR)", "role": "system" }, { "content": "On what day was game 2 played?", "role": "user" }, { "content": "SELECT date FROM table_name_56 WHERE game = 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_56 (date VARCHAR, game VARCHAR)<|im_end|> <|im_start|>user On what day was game 2 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 table_name_19 (termini VARCHAR, direction VARCHAR, remarks VARCHAR)", "role": "system" }, { "content": "What is the terminini of the highway with an east west direction and remarks that it was replaced by us 59?", "role": "user" }, { "content": "SELECT termini FROM table_name_19 WHERE direction = \"east west\" AND remarks = \"replaced by us 59\"", "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 (termini VARCHAR, direction VARCHAR, remarks VARCHAR)<|im_end|> <|im_start|>user What is the terminini of the highway with an east west direction and remarks that it was replaced by us 59?<|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 (ties INTEGER, goals_for VARCHAR, wins VARCHAR)", "role": "system" }, { "content": "How many ties do teams with 25 Goals For and more than 5 wins have?", "role": "user" }, { "content": "SELECT SUM(ties) FROM table_name_40 WHERE goals_for = 25 AND wins > 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_40 (ties INTEGER, goals_for VARCHAR, wins VARCHAR)<|im_end|> <|im_start|>user How many ties do teams with 25 Goals For and more than 5 wins 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 race (Id VARCHAR)", "role": "system" }, { "content": "How many races are there?", "role": "user" }, { "content": "SELECT COUNT(*) FROM race", "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 race (Id VARCHAR)<|im_end|> <|im_start|>user How many races are there?<|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 (opponent VARCHAR, time__et_ VARCHAR, week VARCHAR, game_site VARCHAR)", "role": "system" }, { "content": "Who did they play at lincoln financial field at 8:30 (ET) after week 14?", "role": "user" }, { "content": "SELECT opponent FROM table_name_88 WHERE week > 14 AND game_site = \"lincoln financial field\" AND time__et_ = \"8:30\"", "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 (opponent VARCHAR, time__et_ VARCHAR, week VARCHAR, game_site VARCHAR)<|im_end|> <|im_start|>user Who did they play at lincoln financial field at 8:30 (ET) after week 14?<|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 (date VARCHAR, winner VARCHAR)", "role": "system" }, { "content": "Ram Vaswani was a winner on what date?", "role": "user" }, { "content": "SELECT date FROM table_name_91 WHERE winner = \"ram vaswani\"", "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 (date VARCHAR, winner VARCHAR)<|im_end|> <|im_start|>user Ram Vaswani was a winner on what date?<|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 (home_team VARCHAR, ground VARCHAR)", "role": "system" }, { "content": "When the Ground was Optus Oval, what is the Home team score?", "role": "user" }, { "content": "SELECT home_team AS score FROM table_name_28 WHERE ground = \"optus 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_28 (home_team VARCHAR, ground VARCHAR)<|im_end|> <|im_start|>user When the Ground was Optus 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_40 (total INTEGER, gymnast VARCHAR, b_score VARCHAR)", "role": "system" }, { "content": "What is the total for Robert Stanescu ( rou ), when the B Score is larger than 8.75?", "role": "user" }, { "content": "SELECT SUM(total) FROM table_name_40 WHERE gymnast = \"robert stanescu ( rou )\" AND b_score > 8.75", "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 (total INTEGER, gymnast VARCHAR, b_score VARCHAR)<|im_end|> <|im_start|>user What is the total for Robert Stanescu ( rou ), when the B Score is larger than 8.75?<|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_191105_2 (music_by VARCHAR, performed_by VARCHAR)", "role": "system" }, { "content": "When zachary sanders is the performer how many people is the music by?", "role": "user" }, { "content": "SELECT COUNT(music_by) FROM table_191105_2 WHERE performed_by = \"Zachary Sanders\"", "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_191105_2 (music_by VARCHAR, performed_by VARCHAR)<|im_end|> <|im_start|>user When zachary sanders is the performer how many people is the music by?<|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_58 (tries_for VARCHAR)", "role": "system" }, { "content": "What are the tries for a club of a club?", "role": "user" }, { "content": "SELECT tries_for FROM table_name_58 WHERE \"club\" = \"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_name_58 (tries_for VARCHAR)<|im_end|> <|im_start|>user What are the tries for a club of a club?<|im_end|>