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_37 (run_4 VARCHAR, athletes VARCHAR)", "role": "system" }, { "content": "Which Run 4 has Athletes of alexandru frimu & costel rădulescu?", "role": "user" }, { "content": "SELECT run_4 FROM table_name_37 WHERE athletes = \"alexandru frimu & costel rădulescu\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (run_4 VARCHAR, athletes VARCHAR)<|im_end|> <|im_start|>user Which Run 4 has Athletes of alexandru frimu & costel rădulescu?<|im_end|>
[ { "content": "You are an text to SQL query 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 (result VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What was the result of the game with a score of 4-1?", "role": "user" }, { "content": "SELECT result FROM table_name_65 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_65 (result VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user What was the result of the game with 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_name_22 (circuit VARCHAR, race_title VARCHAR)", "role": "system" }, { "content": "Which circuit has a Race Title of japanese grand prix?", "role": "user" }, { "content": "SELECT circuit FROM table_name_22 WHERE race_title = \"japanese 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_name_22 (circuit VARCHAR, race_title VARCHAR)<|im_end|> <|im_start|>user Which circuit has a Race Title of japanese 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_name_9 (attendance VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "What was the attendance for the game against the Houston Oilers?", "role": "user" }, { "content": "SELECT attendance FROM table_name_9 WHERE opponent = \"houston oilers\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (attendance VARCHAR, opponent VARCHAR)<|im_end|> <|im_start|>user What was the attendance for the game against the Houston Oilers?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE college (state VARCHAR, enr INTEGER)", "role": "system" }, { "content": "What is the number of states that has some colleges whose enrollment is smaller than the average enrollment?", "role": "user" }, { "content": "SELECT COUNT(DISTINCT state) FROM college WHERE enr < (SELECT AVG(enr) FROM college)", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE college (state VARCHAR, enr INTEGER)<|im_end|> <|im_start|>user What is the number of states that has some colleges whose enrollment is smaller than the average 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_29 (engine VARCHAR, model VARCHAR, years VARCHAR)", "role": "system" }, { "content": "What engine with the years of 1975-84 has a model of 1600?", "role": "user" }, { "content": "SELECT engine FROM table_name_29 WHERE model = \"1600\" AND years = \"1975-84\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_29 (engine VARCHAR, model VARCHAR, years VARCHAR)<|im_end|> <|im_start|>user What engine with the years of 1975-84 has a model of 1600?<|im_end|>
[ { "content": "You are an text to SQL query 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 (decile VARCHAR, area VARCHAR)", "role": "system" }, { "content": "WHat is the decile of the school in Purua?", "role": "user" }, { "content": "SELECT decile FROM table_name_38 WHERE area = \"purua\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (decile VARCHAR, area VARCHAR)<|im_end|> <|im_start|>user WHat is the decile of the school in Purua?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_14975415_1 (year__ceremony_ VARCHAR, hungarian_title VARCHAR)", "role": "system" }, { "content": "What year was taxidermia nominated? ", "role": "user" }, { "content": "SELECT year__ceremony_ FROM table_14975415_1 WHERE hungarian_title = \"Taxidermia\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_14975415_1 (year__ceremony_ VARCHAR, hungarian_title VARCHAR)<|im_end|> <|im_start|>user What year was taxidermia nominated? <|im_end|>
[ { "content": "You are an text to SQL query 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 (total_congregations VARCHAR, _percentage_lds VARCHAR, population VARCHAR)", "role": "system" }, { "content": "What is the total number of Total Congregations, when % LDS is 0.54%, and when Population is greater than 105,275?", "role": "user" }, { "content": "SELECT COUNT(total_congregations) FROM table_name_85 WHERE _percentage_lds = \"0.54%\" AND population > 105 OFFSET 275", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (total_congregations VARCHAR, _percentage_lds VARCHAR, population VARCHAR)<|im_end|> <|im_start|>user What is the total number of Total Congregations, when % LDS is 0.54%, and when Population is greater than 105,275?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_70 (floors INTEGER, name VARCHAR)", "role": "system" }, { "content": "How many floors does detroit marriott at the renaissance center have?", "role": "user" }, { "content": "SELECT MAX(floors) FROM table_name_70 WHERE name = \"detroit marriott at the renaissance center\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_70 (floors INTEGER, name VARCHAR)<|im_end|> <|im_start|>user How many floors does detroit marriott at the renaissance center 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_72 (attendance INTEGER, date VARCHAR, points VARCHAR)", "role": "system" }, { "content": "What is the lowest Attendance, when Date is \"February 4\", and when Points is less than 57?", "role": "user" }, { "content": "SELECT MIN(attendance) FROM table_name_72 WHERE date = \"february 4\" AND points < 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_name_72 (attendance INTEGER, date VARCHAR, points VARCHAR)<|im_end|> <|im_start|>user What is the lowest Attendance, when Date is "February 4", and when Points is less than 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_16010376_1 (cartridge VARCHAR, source VARCHAR)", "role": "system" }, { "content": "What type of cartridge is used by a Weatherby?", "role": "user" }, { "content": "SELECT cartridge FROM table_16010376_1 WHERE source = \"Weatherby\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_16010376_1 (cartridge VARCHAR, source VARCHAR)<|im_end|> <|im_start|>user What type of cartridge is used by a Weatherby?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_70 (season VARCHAR, competition VARCHAR)", "role": "system" }, { "content": "In which season was there a competition in the Champions League?", "role": "user" }, { "content": "SELECT season FROM table_name_70 WHERE competition = \"champions league\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_70 (season VARCHAR, competition VARCHAR)<|im_end|> <|im_start|>user In which season was there a competition in the Champions League?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE vocals (TYPE VARCHAR)", "role": "system" }, { "content": "Which vocal type is the most frequently appearring type?", "role": "user" }, { "content": "SELECT TYPE FROM vocals GROUP BY TYPE ORDER BY COUNT(*) 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 vocals (TYPE VARCHAR)<|im_end|> <|im_start|>user Which vocal type is the most frequently appearring type?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_22 (goals_against INTEGER, position VARCHAR, played VARCHAR)", "role": "system" }, { "content": "What is the sum of goals against for positions higher than 14, with fewer than 30 played?", "role": "user" }, { "content": "SELECT SUM(goals_against) FROM table_name_22 WHERE position > 14 AND played < 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_22 (goals_against INTEGER, position VARCHAR, played VARCHAR)<|im_end|> <|im_start|>user What is the sum of goals against for positions higher than 14, with fewer than 30 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_12 (crew_chief VARCHAR, owner_s_ VARCHAR, driver_s_ VARCHAR)", "role": "system" }, { "content": "What crew chief has an owner name Jack Roush and driver Greg Biffle?", "role": "user" }, { "content": "SELECT crew_chief FROM table_name_12 WHERE owner_s_ = \"jack roush\" AND driver_s_ = \"greg biffle\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_12 (crew_chief VARCHAR, owner_s_ VARCHAR, driver_s_ VARCHAR)<|im_end|> <|im_start|>user What crew chief has an owner name Jack Roush and driver Greg Biffle?<|im_end|>
[ { "content": "You are an text to SQL query 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 (qual VARCHAR, laps VARCHAR, year VARCHAR)", "role": "system" }, { "content": "Which qual has both 200 total laps and took place in 1957?", "role": "user" }, { "content": "SELECT qual FROM table_name_80 WHERE laps = 200 AND year = \"1957\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (qual VARCHAR, laps VARCHAR, year VARCHAR)<|im_end|> <|im_start|>user Which qual has both 200 total laps and took place in 1957?<|im_end|>
[ { "content": "You are an text to SQL query 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 (top_10 VARCHAR, starts VARCHAR, avg_finish VARCHAR)", "role": "system" }, { "content": "How many top 10s belong to the team with a start of 7 and an average finish less than 16.7?", "role": "user" }, { "content": "SELECT COUNT(top_10) FROM table_name_69 WHERE starts = 7 AND avg_finish < 16.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_69 (top_10 VARCHAR, starts VARCHAR, avg_finish VARCHAR)<|im_end|> <|im_start|>user How many top 10s belong to the team with a start of 7 and an average finish less than 16.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_77 (height_m__ft_ VARCHAR, rank VARCHAR, name VARCHAR)", "role": "system" }, { "content": "What is the height for rank greater than 10 in Tameer Tower?", "role": "user" }, { "content": "SELECT height_m__ft_ FROM table_name_77 WHERE rank > 10 AND name = \"tameer tower\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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_77 (height_m__ft_ VARCHAR, rank VARCHAR, name VARCHAR)<|im_end|> <|im_start|>user What is the height for rank greater than 10 in Tameer Tower?<|im_end|>
[ { "content": "You are an text to SQL query 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_48 (penanced VARCHAR, total VARCHAR)", "role": "system" }, { "content": "How many were penanced for a total of 7666?", "role": "user" }, { "content": "SELECT penanced FROM table_name_48 WHERE total = \"7666\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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_48 (penanced VARCHAR, total VARCHAR)<|im_end|> <|im_start|>user How many were penanced for a total of 7666?<|im_end|>
[ { "content": "You are an text to SQL query 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 (away_team VARCHAR, home_team VARCHAR)", "role": "system" }, { "content": "What did the away team score when playing against fitzroy?", "role": "user" }, { "content": "SELECT away_team AS score FROM table_name_62 WHERE home_team = \"fitzroy\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (away_team VARCHAR, home_team VARCHAR)<|im_end|> <|im_start|>user What did the away team score when playing against fitzroy?<|im_end|>
[ { "content": "You are an text to SQL query 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 (bronze VARCHAR, gold VARCHAR, silver VARCHAR)", "role": "system" }, { "content": "Who one bronze in the event where Choi Jun-Sang won gold, and Suh Jung-Kyun won silver?", "role": "user" }, { "content": "SELECT bronze FROM table_name_27 WHERE gold = \"choi jun-sang\" AND silver = \"suh jung-kyun\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (bronze VARCHAR, gold VARCHAR, silver VARCHAR)<|im_end|> <|im_start|>user Who one bronze in the event where Choi Jun-Sang won gold, and Suh Jung-Kyun won silver?<|im_end|>
[ { "content": "You are an text to SQL query 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 (place VARCHAR, country VARCHAR)", "role": "system" }, { "content": "What was Australia's place?", "role": "user" }, { "content": "SELECT place FROM table_name_99 WHERE country = \"australia\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (place VARCHAR, country VARCHAR)<|im_end|> <|im_start|>user What was Australia's place?<|im_end|>
[ { "content": "You are an text to SQL query 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 (place VARCHAR, round_1 VARCHAR, year VARCHAR)", "role": "system" }, { "content": "Round 1 of beat lee janzen 3&2, and a Year smaller than 1998 has what total number of place?", "role": "user" }, { "content": "SELECT COUNT(place) FROM table_name_40 WHERE round_1 = \"beat lee janzen 3&2\" AND year < 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_40 (place VARCHAR, round_1 VARCHAR, year VARCHAR)<|im_end|> <|im_start|>user Round 1 of beat lee janzen 3&2, and a Year smaller than 1998 has what total number of place?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_60 (record VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What is the record of the game on February 21, 2008?", "role": "user" }, { "content": "SELECT record FROM table_name_60 WHERE date = \"february 21, 2008\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_60 (record VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What is the record of the game on February 21, 2008?<|im_end|>
[ { "content": "You are an text to SQL query 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_48 (commercial_operation VARCHAR, gross_capacity VARCHAR, electricity_grid VARCHAR)", "role": "system" }, { "content": "Which Commercial Operation has both a Gross Capacity of 417 mw and an Electricity Grid 27.12.1971?", "role": "user" }, { "content": "SELECT commercial_operation FROM table_name_48 WHERE gross_capacity = \"417 mw\" AND electricity_grid = \"27.12.1971\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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_48 (commercial_operation VARCHAR, gross_capacity VARCHAR, electricity_grid VARCHAR)<|im_end|> <|im_start|>user Which Commercial Operation has both a Gross Capacity of 417 mw and an Electricity Grid 27.12.1971?<|im_end|>
[ { "content": "You are an text to SQL query 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_3 (opponent VARCHAR, streak VARCHAR, date VARCHAR)", "role": "system" }, { "content": "who is the opponent when the streak is won 9 on april 13, 1990?", "role": "user" }, { "content": "SELECT opponent FROM table_name_3 WHERE streak = \"won 9\" AND date = \"april 13, 1990\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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_3 (opponent VARCHAR, streak VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user who is the opponent when the streak is won 9 on april 13, 1990?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_27723526_12 (high_points VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Name the high points for march 30", "role": "user" }, { "content": "SELECT high_points FROM table_27723526_12 WHERE date = \"March 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_27723526_12 (high_points VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Name the high points for march 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_86 (realvideo VARCHAR, mpeg_2 VARCHAR, mpeg_1 VARCHAR)", "role": "system" }, { "content": "Tell me the MPEG-2 of yes and MPEG-1 of yes", "role": "user" }, { "content": "SELECT realvideo FROM table_name_86 WHERE mpeg_2 = \"yes\" AND mpeg_1 = \"yes\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (realvideo VARCHAR, mpeg_2 VARCHAR, mpeg_1 VARCHAR)<|im_end|> <|im_start|>user Tell me the MPEG-2 of yes and MPEG-1 of yes<|im_end|>
[ { "content": "You are an text to SQL query 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_73 (score VARCHAR, game VARCHAR)", "role": "system" }, { "content": "What's the score of Game 2?", "role": "user" }, { "content": "SELECT score FROM table_name_73 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_73 (score VARCHAR, game VARCHAR)<|im_end|> <|im_start|>user What's the score of Game 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_86 (crowd INTEGER, venue VARCHAR)", "role": "system" }, { "content": "How many attended the game at Arden Street Oval?", "role": "user" }, { "content": "SELECT AVG(crowd) FROM table_name_86 WHERE venue = \"arden street 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_86 (crowd INTEGER, venue VARCHAR)<|im_end|> <|im_start|>user How many attended the game at Arden Street 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_24489942_10 (points VARCHAR, nationality VARCHAR)", "role": "system" }, { "content": "Name the points for switzerland", "role": "user" }, { "content": "SELECT points FROM table_24489942_10 WHERE nationality = \"Switzerland\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_24489942_10 (points VARCHAR, nationality VARCHAR)<|im_end|> <|im_start|>user Name the points for switzerland<|im_end|>
[ { "content": "You are an text to SQL query 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 (place VARCHAR, to_par VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What is the Place when the To par was +3 and Score was 74-73=147?", "role": "user" }, { "content": "SELECT place FROM table_name_46 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_46 (place VARCHAR, to_par VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user What is the Place when the To par was +3 and Score was 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_63 (prog_cons VARCHAR, dates VARCHAR, polling_firm VARCHAR, liberal VARCHAR)", "role": "system" }, { "content": "According to the February 2009 poll by the Corporate Research Associates that reported 31% Liberal., what percentage aligned with the Prog. Cons. party?", "role": "user" }, { "content": "SELECT prog_cons FROM table_name_63 WHERE polling_firm = \"corporate research associates\" AND liberal = \"31%\" AND dates = \"february 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_63 (prog_cons VARCHAR, dates VARCHAR, polling_firm VARCHAR, liberal VARCHAR)<|im_end|> <|im_start|>user According to the February 2009 poll by the Corporate Research Associates that reported 31% Liberal., what percentage aligned with the Prog. Cons. 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_49 (opp_team VARCHAR, score VARCHAR)", "role": "system" }, { "content": "Who was the opposing team in the game with a score of 21-17?", "role": "user" }, { "content": "SELECT opp_team FROM table_name_49 WHERE score = \"21-17\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_49 (opp_team VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user Who was the opposing team in the game with a score of 21-17?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (custid VARCHAR, balance VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)", "role": "system" }, { "content": "Find the name and checking balance of the account with the lowest saving balance.", "role": "user" }, { "content": "SELECT T2.balance, T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T3.balance 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 checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (custid VARCHAR, balance VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)<|im_end|> <|im_start|>user Find the name and checking balance of the account with the lowest saving balance.<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_26375386_28 (place INTEGER, couple VARCHAR)", "role": "system" }, { "content": "What is the least place when the couple is Keiron & Brianne?", "role": "user" }, { "content": "SELECT MIN(place) FROM table_26375386_28 WHERE couple = \"Keiron & Brianne\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_26375386_28 (place INTEGER, couple VARCHAR)<|im_end|> <|im_start|>user What is the least place when the couple is Keiron & Brianne?<|im_end|>
[ { "content": "You are an text to SQL query 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 (date VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "On what Date was Rafael Nadal the Opponent?", "role": "user" }, { "content": "SELECT date FROM table_name_37 WHERE opponent = \"rafael nadal\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (date VARCHAR, opponent VARCHAR)<|im_end|> <|im_start|>user On what Date was Rafael Nadal 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_89 (pct INTEGER, years VARCHAR, wins VARCHAR)", "role": "system" }, { "content": "Which Pct has Years of 1957–1970, and Wins smaller than 78?", "role": "user" }, { "content": "SELECT SUM(pct) FROM table_name_89 WHERE years = \"1957–1970\" AND wins < 78", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (pct INTEGER, years VARCHAR, wins VARCHAR)<|im_end|> <|im_start|>user Which Pct has Years of 1957–1970, and Wins smaller than 78?<|im_end|>
[ { "content": "You are an text to SQL query 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 (game VARCHAR, attendance VARCHAR, points VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Total games for smaller than 15 points, date of november 15, and larger that 13,722 in attendance?", "role": "user" }, { "content": "SELECT COUNT(game) FROM table_name_2 WHERE points < 15 AND date = \"november 15\" AND attendance > 13 OFFSET 722", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (game VARCHAR, attendance VARCHAR, points VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Total games for smaller than 15 points, date of november 15, and larger that 13,722 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_51 (elector VARCHAR, faction VARCHAR, nationality VARCHAR)", "role": "system" }, { "content": "Who was the Prato Elector with a faction of Italian?", "role": "user" }, { "content": "SELECT elector FROM table_name_51 WHERE faction = \"italian\" AND nationality = \"prato\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (elector VARCHAR, faction VARCHAR, nationality VARCHAR)<|im_end|> <|im_start|>user Who was the Prato Elector with a faction of Italian?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_14977252_2 (professional_jury VARCHAR, points VARCHAR)", "role": "system" }, { "content": "Name the jury of 10 points", "role": "user" }, { "content": "SELECT professional_jury FROM table_14977252_2 WHERE points = 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_14977252_2 (professional_jury VARCHAR, points VARCHAR)<|im_end|> <|im_start|>user Name the jury of 10 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_13183076_3 (us_viewers__million_ VARCHAR, production_code VARCHAR)", "role": "system" }, { "content": "How many U.S. viewers (million) are there for the episode whose Production code is 3T7051?", "role": "user" }, { "content": "SELECT us_viewers__million_ FROM table_13183076_3 WHERE production_code = \"3T7051\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_13183076_3 (us_viewers__million_ VARCHAR, production_code VARCHAR)<|im_end|> <|im_start|>user How many U.S. viewers (million) are there for the episode whose Production code is 3T7051?<|im_end|>
[ { "content": "You are an text to SQL query 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 (away VARCHAR, home VARCHAR, season VARCHAR)", "role": "system" }, { "content": "What is the away when the home is 3-2, and the season is 1959-60?", "role": "user" }, { "content": "SELECT away FROM table_name_61 WHERE home = \"3-2\" AND season = \"1959-60\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (away VARCHAR, home VARCHAR, season VARCHAR)<|im_end|> <|im_start|>user What is the away when the home is 3-2, and the season is 1959-60?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_101336_1 (no_of_cu_o_planes_in_unit_cell VARCHAR, formula VARCHAR)", "role": "system" }, { "content": "How many times is the formula tl 2 ba 2 cuo 6?", "role": "user" }, { "content": "SELECT no_of_cu_o_planes_in_unit_cell FROM table_101336_1 WHERE formula = \"Tl 2 Ba 2 CuO 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_101336_1 (no_of_cu_o_planes_in_unit_cell VARCHAR, formula VARCHAR)<|im_end|> <|im_start|>user How many times is the formula tl 2 ba 2 cuo 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_17 (identifier VARCHAR, power VARCHAR)", "role": "system" }, { "content": "what is the identifier when the power is 22500 watts?", "role": "user" }, { "content": "SELECT identifier FROM table_name_17 WHERE power = \"22500 watts\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (identifier VARCHAR, power VARCHAR)<|im_end|> <|im_start|>user what is the identifier when the power is 22500 watts?<|im_end|>
[ { "content": "You are an text to SQL query 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_1 (att VARCHAR, time VARCHAR)", "role": "system" }, { "content": "What was the attendance of the game that lasted 3:55?", "role": "user" }, { "content": "SELECT att FROM table_name_1 WHERE time = \"3:55\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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_1 (att VARCHAR, time VARCHAR)<|im_end|> <|im_start|>user What was the attendance of the game that lasted 3:55?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2387790_2 (avg_finish VARCHAR, position VARCHAR)", "role": "system" }, { "content": "What was the average finish the year Bodine finished 3rd?", "role": "user" }, { "content": "SELECT avg_finish FROM table_2387790_2 WHERE position = \"3rd\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_2387790_2 (avg_finish VARCHAR, position VARCHAR)<|im_end|> <|im_start|>user What was the average finish the year Bodine finished 3rd?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_7 (binomial VARCHAR, binary VARCHAR, fibonacci VARCHAR)", "role": "system" }, { "content": "Binary of θ(log n), and a Fibonacci of θ(1) has what binomial?", "role": "user" }, { "content": "SELECT binomial FROM table_name_7 WHERE binary = \"θ(log n)\" AND fibonacci = \"θ(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_7 (binomial VARCHAR, binary VARCHAR, fibonacci VARCHAR)<|im_end|> <|im_start|>user Binary of θ(log n), and a Fibonacci of θ(1) has what binomial?<|im_end|>
[ { "content": "You are an text to SQL query 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 (away_team VARCHAR, home_team VARCHAR)", "role": "system" }, { "content": "Who was the opponent when Footscray played as the home team?", "role": "user" }, { "content": "SELECT away_team AS score FROM table_name_62 WHERE home_team = \"footscray\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (away_team VARCHAR, home_team VARCHAR)<|im_end|> <|im_start|>user Who was the opponent when Footscray played 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_name_35 (class VARCHAR, call_sign VARCHAR)", "role": "system" }, { "content": "\\What is the class of the station with the call sign w254ah?", "role": "user" }, { "content": "SELECT class FROM table_name_35 WHERE call_sign = \"w254ah\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (class VARCHAR, call_sign VARCHAR)<|im_end|> <|im_start|>user \What is the class of the station with the call sign w254ah?<|im_end|>
[ { "content": "You are an text to SQL query 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 (rd_8 INTEGER, team VARCHAR, position VARCHAR)", "role": "system" }, { "content": "What is the average value for Rd 8 in a position less than 2 for Audi Sport Australia?", "role": "user" }, { "content": "SELECT AVG(rd_8) FROM table_name_68 WHERE team = \"audi sport australia\" 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_68 (rd_8 INTEGER, team VARCHAR, position VARCHAR)<|im_end|> <|im_start|>user What is the average value for Rd 8 in a position less than 2 for Audi Sport Australia?<|im_end|>
[ { "content": "You are an text to SQL query 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 (total VARCHAR, league INTEGER)", "role": "system" }, { "content": "what is the total when the league is less than 1?", "role": "user" }, { "content": "SELECT total FROM table_name_89 WHERE league < 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_89 (total VARCHAR, league INTEGER)<|im_end|> <|im_start|>user what is the total when the league is less 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_name_95 (time VARCHAR, rower VARCHAR)", "role": "system" }, { "content": "What is Lee Ka Man's Time?", "role": "user" }, { "content": "SELECT time FROM table_name_95 WHERE rower = \"lee ka man\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (time VARCHAR, rower VARCHAR)<|im_end|> <|im_start|>user What is Lee Ka Man's Time?<|im_end|>
[ { "content": "You are an text to SQL query 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 (purse VARCHAR, year VARCHAR, owner VARCHAR)", "role": "system" }, { "content": "What was the Purse for Owner Harold A. Allen prior to 2009?", "role": "user" }, { "content": "SELECT purse FROM table_name_41 WHERE year < 2009 AND owner = \"harold a. allen\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (purse VARCHAR, year VARCHAR, owner VARCHAR)<|im_end|> <|im_start|>user What was the Purse for Owner Harold A. Allen prior to 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 (yacht_name VARCHAR, overall_place VARCHAR)", "role": "system" }, { "content": "What is the name of the yacht where 12 is the overall place?", "role": "user" }, { "content": "SELECT yacht_name FROM table_name_28 WHERE overall_place = \"12\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (yacht_name VARCHAR, overall_place VARCHAR)<|im_end|> <|im_start|>user What is the name of the yacht where 12 is the overall place?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2889810_1 (motogp_500cc INTEGER)", "role": "system" }, { "content": "What is the minimum MotoGP/500cc ranking?", "role": "user" }, { "content": "SELECT MIN(motogp_500cc) FROM table_2889810_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_2889810_1 (motogp_500cc INTEGER)<|im_end|> <|im_start|>user What is the minimum MotoGP/500cc ranking?<|im_end|>
[ { "content": "You are an text to SQL query 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 (wickets INTEGER, career VARCHAR, maidens VARCHAR)", "role": "system" }, { "content": "What are the fewest wickets when player's career spanned 1946-1960 and maidens were more than 419?", "role": "user" }, { "content": "SELECT MIN(wickets) FROM table_name_84 WHERE career = \"1946-1960\" AND maidens > 419", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (wickets INTEGER, career VARCHAR, maidens VARCHAR)<|im_end|> <|im_start|>user What are the fewest wickets when player's career spanned 1946-1960 and maidens were more than 419?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_16383772_1 (affiliation VARCHAR, enrollment VARCHAR)", "role": "system" }, { "content": "Name the total number of affiliation for enrollment being 14898", "role": "user" }, { "content": "SELECT COUNT(affiliation) FROM table_16383772_1 WHERE enrollment = 14898", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_16383772_1 (affiliation VARCHAR, enrollment VARCHAR)<|im_end|> <|im_start|>user Name the total number of affiliation for enrollment being 14898<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_10360656_1 (round INTEGER, player_name VARCHAR)", "role": "system" }, { "content": "What round was Steve Stonebreaker drafted?", "role": "user" }, { "content": "SELECT MAX(round) FROM table_10360656_1 WHERE player_name = \"Steve Stonebreaker\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_10360656_1 (round INTEGER, player_name VARCHAR)<|im_end|> <|im_start|>user What round was Steve Stonebreaker drafted?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE driver (home_city VARCHAR)", "role": "system" }, { "content": "Show all different home cities.", "role": "user" }, { "content": "SELECT DISTINCT home_city FROM driver", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE driver (home_city VARCHAR)<|im_end|> <|im_start|>user Show all different home cities.<|im_end|>
[ { "content": "You are an text to SQL query 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 (silver INTEGER, bronze INTEGER)", "role": "system" }, { "content": "What is the least amount of silver when there is less than 0 bronze?", "role": "user" }, { "content": "SELECT MIN(silver) FROM table_name_83 WHERE bronze < 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 (silver INTEGER, bronze INTEGER)<|im_end|> <|im_start|>user What is the least amount of silver when there is less than 0 bronze?<|im_end|>
[ { "content": "You are an text to SQL query 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 (score INTEGER, event VARCHAR)", "role": "system" }, { "content": "For the 27 arrow match event, what's the sum of all scores for that event?", "role": "user" }, { "content": "SELECT SUM(score) FROM table_name_63 WHERE event = \"27 arrow match\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (score INTEGER, event VARCHAR)<|im_end|> <|im_start|>user For the 27 arrow match event, what's the sum of all scores for that event?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE singer_in_concert (singer_id VARCHAR); CREATE TABLE singer (name VARCHAR, singer_id VARCHAR)", "role": "system" }, { "content": "List singer names and number of concerts for each singer.", "role": "user" }, { "content": "SELECT T2.name, COUNT(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id GROUP BY T2.singer_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 singer_in_concert (singer_id VARCHAR); CREATE TABLE singer (name VARCHAR, singer_id VARCHAR)<|im_end|> <|im_start|>user List singer names and number of concerts for each singer.<|im_end|>
[ { "content": "You are an text to SQL query 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_98 (notes VARCHAR, built VARCHAR)", "role": "system" }, { "content": "What is the notes for the vehicle built in 1917?", "role": "user" }, { "content": "SELECT notes FROM table_name_98 WHERE built = \"1917\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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_98 (notes VARCHAR, built VARCHAR)<|im_end|> <|im_start|>user What is the notes for the vehicle built in 1917?<|im_end|>
[ { "content": "You are an text to SQL query 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 (tournament VARCHAR, runner_s__up VARCHAR)", "role": "system" }, { "content": "For which tournament was Anthony Wall the runner-up?", "role": "user" }, { "content": "SELECT tournament FROM table_name_11 WHERE runner_s__up = \"anthony wall\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (tournament VARCHAR, runner_s__up VARCHAR)<|im_end|> <|im_start|>user For which tournament was Anthony Wall the runner-up?<|im_end|>
[ { "content": "You are an text to SQL query 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 (away_team VARCHAR, venue VARCHAR)", "role": "system" }, { "content": "What team was the away team when they played at lake oval?", "role": "user" }, { "content": "SELECT away_team AS score FROM table_name_84 WHERE venue = \"lake 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_84 (away_team VARCHAR, venue VARCHAR)<|im_end|> <|im_start|>user What team was the away team when they played at lake 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_35 (visitor VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What is the Visitor with a Score with 4 – 3?", "role": "user" }, { "content": "SELECT visitor FROM table_name_35 WHERE score = \"4 – 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_35 (visitor VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user What is the Visitor with a Score with 4 – 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_64 (county VARCHAR, peak VARCHAR, elevation__m_ VARCHAR, isolation__km_ VARCHAR)", "role": "system" }, { "content": "What country has an Elevation less than 1833 and an Isolation (km) larger than 18, and a Peak of store lenangstind?", "role": "user" }, { "content": "SELECT county FROM table_name_64 WHERE elevation__m_ < 1833 AND isolation__km_ > 18 AND peak = \"store lenangstind\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (county VARCHAR, peak VARCHAR, elevation__m_ VARCHAR, isolation__km_ VARCHAR)<|im_end|> <|im_start|>user What country has an Elevation less than 1833 and an Isolation (km) larger than 18, and a Peak of store lenangstind?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18274425_1 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)", "role": "system" }, { "content": "How many episodes had a viewership of 2.65 million?", "role": "user" }, { "content": "SELECT COUNT(no_in_season) FROM table_18274425_1 WHERE us_viewers__millions_ = \"2.65\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_18274425_1 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)<|im_end|> <|im_start|>user How many episodes had a viewership of 2.65 million?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25229283_4 (points_against INTEGER, opponent VARCHAR)", "role": "system" }, { "content": "What was the minimum points against if the opponent is Port Adelaide?", "role": "user" }, { "content": "SELECT MIN(points_against) FROM table_25229283_4 WHERE opponent = \"Port Adelaide\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_25229283_4 (points_against INTEGER, opponent VARCHAR)<|im_end|> <|im_start|>user What was the minimum points against if the opponent is Port Adelaide?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_10842344_1 (no_in_season INTEGER, production_code VARCHAR)", "role": "system" }, { "content": "What episode number had production code e4423?", "role": "user" }, { "content": "SELECT MAX(no_in_season) FROM table_10842344_1 WHERE production_code = \"E4423\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_10842344_1 (no_in_season INTEGER, production_code VARCHAR)<|im_end|> <|im_start|>user What episode number had production code e4423?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15909409_2 (country VARCHAR, per_capita_withdrawal__m_3__p_yr_ VARCHAR)", "role": "system" }, { "content": "How many countries had a per capita withdrawal (m 3 /p/yr) of 372?", "role": "user" }, { "content": "SELECT COUNT(country) FROM table_15909409_2 WHERE per_capita_withdrawal__m_3__p_yr_ = 372", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_15909409_2 (country VARCHAR, per_capita_withdrawal__m_3__p_yr_ VARCHAR)<|im_end|> <|im_start|>user How many countries had a per capita withdrawal (m 3 /p/yr) of 372?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_17634290_7 (country VARCHAR, moving_from VARCHAR)", "role": "system" }, { "content": "What is the name of the country where moving from is listed as bristol city?", "role": "user" }, { "content": "SELECT country FROM table_17634290_7 WHERE moving_from = \"Bristol City\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_17634290_7 (country VARCHAR, moving_from VARCHAR)<|im_end|> <|im_start|>user What is the name of the country where moving from is listed as bristol city?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1342013_34 (result VARCHAR, district VARCHAR)", "role": "system" }, { "content": "what's the result for district ohio 2", "role": "user" }, { "content": "SELECT result FROM table_1342013_34 WHERE district = \"Ohio 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_1342013_34 (result VARCHAR, district VARCHAR)<|im_end|> <|im_start|>user what's the result for district ohio 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_78 (points VARCHAR, game VARCHAR, january VARCHAR)", "role": "system" }, { "content": "Name the total number of points for 44 game and january more than 15", "role": "user" }, { "content": "SELECT COUNT(points) FROM table_name_78 WHERE game = 44 AND january > 15", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_78 (points VARCHAR, game VARCHAR, january VARCHAR)<|im_end|> <|im_start|>user Name the total number of points for 44 game and january more than 15<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_1 (date VARCHAR, home VARCHAR)", "role": "system" }, { "content": "What is the date when the Lakers were the home team?", "role": "user" }, { "content": "SELECT date FROM table_name_1 WHERE home = \"lakers\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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_1 (date VARCHAR, home VARCHAR)<|im_end|> <|im_start|>user What is the date when the Lakers were 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_name_59 (leading_scorer VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What is the name of the Leading scorer when the Score was 89–102?", "role": "user" }, { "content": "SELECT leading_scorer FROM table_name_59 WHERE score = \"89–102\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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_59 (leading_scorer VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user What is the name of the Leading scorer when the Score was 89–102?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1341395_22 (candidates VARCHAR, incumbent VARCHAR)", "role": "system" }, { "content": "Who were the candidates when Barney Frank was the incumbent?", "role": "user" }, { "content": "SELECT candidates FROM table_1341395_22 WHERE incumbent = \"Barney Frank\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_1341395_22 (candidates VARCHAR, incumbent VARCHAR)<|im_end|> <|im_start|>user Who were the candidates when Barney Frank 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_72 (home_team VARCHAR, away_team VARCHAR)", "role": "system" }, { "content": "What is the home team that Bradford City is playing against?", "role": "user" }, { "content": "SELECT home_team FROM table_name_72 WHERE away_team = \"bradford city\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (home_team VARCHAR, away_team VARCHAR)<|im_end|> <|im_start|>user What is the home team that Bradford City is playing against?<|im_end|>
[ { "content": "You are an text to SQL query 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_73 (points INTEGER, team VARCHAR, average VARCHAR, played VARCHAR)", "role": "system" }, { "content": "How many Points have an Average smaller than 1, a Played larger than 38, and a Team of gimnasia de la plata?", "role": "user" }, { "content": "SELECT SUM(points) FROM table_name_73 WHERE average < 1 AND played > 38 AND team = \"gimnasia de la plata\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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_73 (points INTEGER, team VARCHAR, average VARCHAR, played VARCHAR)<|im_end|> <|im_start|>user How many Points have an Average smaller than 1, a Played larger than 38, and a Team of gimnasia de la plata?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1108394_24 (manhattan VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)", "role": "system" }, { "content": "What is the manhattan for richmond 35%?", "role": "user" }, { "content": "SELECT manhattan FROM table_1108394_24 WHERE richmond_[staten_is] = \"35_percentage\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_1108394_24 (manhattan VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)<|im_end|> <|im_start|>user What is the manhattan for richmond 35%?<|im_end|>
[ { "content": "You are an text to SQL query 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 (home_team VARCHAR)", "role": "system" }, { "content": "Which Home team score has a Home team of geelong?", "role": "user" }, { "content": "SELECT home_team AS score FROM table_name_47 WHERE home_team = \"geelong\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_47 (home_team VARCHAR)<|im_end|> <|im_start|>user Which Home team score has a Home team of geelong?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_12 (outgoing_manager VARCHAR, team VARCHAR)", "role": "system" }, { "content": "Who is Birmingham City's outgoing manager?", "role": "user" }, { "content": "SELECT outgoing_manager FROM table_name_12 WHERE team = \"birmingham city\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_12 (outgoing_manager VARCHAR, team VARCHAR)<|im_end|> <|im_start|>user Who is Birmingham City's outgoing manager?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_19524523_1 (champ_car_world_series__2004_2007_ INTEGER)", "role": "system" }, { "content": "What is the minimum number of wins possible for the Champ Car World Series among all the drivers?", "role": "user" }, { "content": "SELECT MIN(champ_car_world_series__2004_2007_) FROM table_19524523_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_19524523_1 (champ_car_world_series__2004_2007_ INTEGER)<|im_end|> <|im_start|>user What is the minimum number of wins possible for the Champ Car World Series among all the drivers?<|im_end|>
[ { "content": "You are an text to SQL query 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 (catalogue VARCHAR, time VARCHAR)", "role": "system" }, { "content": "What catalogue has a length of 2:10?", "role": "user" }, { "content": "SELECT catalogue FROM table_name_82 WHERE time = \"2: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_82 (catalogue VARCHAR, time VARCHAR)<|im_end|> <|im_start|>user What catalogue has a length of 2:10?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_8 (conference VARCHAR, season VARCHAR, format VARCHAR)", "role": "system" }, { "content": "What conference has 2009 as the season, with super leg final as the format?", "role": "user" }, { "content": "SELECT conference FROM table_name_8 WHERE season = 2009 AND format = \"super leg final\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (conference VARCHAR, season VARCHAR, format VARCHAR)<|im_end|> <|im_start|>user What conference has 2009 as the season, with super leg final as the format?<|im_end|>
[ { "content": "You are an text to SQL query 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_48 (years VARCHAR, name VARCHAR)", "role": "system" }, { "content": "Name the years for dannevirke south school", "role": "user" }, { "content": "SELECT years FROM table_name_48 WHERE name = \"dannevirke south school\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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_48 (years VARCHAR, name VARCHAR)<|im_end|> <|im_start|>user Name the years for dannevirke south school<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_25 (events INTEGER, country VARCHAR)", "role": "system" }, { "content": "How many events are in South Africa?", "role": "user" }, { "content": "SELECT SUM(events) FROM table_name_25 WHERE country = \"south africa\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_25 (events INTEGER, country VARCHAR)<|im_end|> <|im_start|>user How many events are in South Africa?<|im_end|>
[ { "content": "You are an text to SQL query 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 (record VARCHAR, arena VARCHAR, loss VARCHAR)", "role": "system" }, { "content": "What is the record at Arrowhead Pond of Anaheim, when the loss was Bryzgalov (10–11–1)?", "role": "user" }, { "content": "SELECT record FROM table_name_53 WHERE arena = \"arrowhead pond of anaheim\" AND loss = \"bryzgalov (10–11–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_53 (record VARCHAR, arena VARCHAR, loss VARCHAR)<|im_end|> <|im_start|>user What is the record at Arrowhead Pond of Anaheim, when the loss was Bryzgalov (10–11–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_1140111_5 (report VARCHAR, circuit VARCHAR)", "role": "system" }, { "content": "What kind of report is for the Pau circuit?", "role": "user" }, { "content": "SELECT report FROM table_1140111_5 WHERE circuit = \"Pau\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_1140111_5 (report VARCHAR, circuit VARCHAR)<|im_end|> <|im_start|>user What kind of report is for the Pau circuit?<|im_end|>
[ { "content": "You are an text to SQL query 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 (lap_length VARCHAR, category VARCHAR)", "role": "system" }, { "content": "What is the Lap Length of the race with a Grand Prix Fia Category?", "role": "user" }, { "content": "SELECT lap_length FROM table_name_50 WHERE category = \"grand prix fia\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (lap_length VARCHAR, category VARCHAR)<|im_end|> <|im_start|>user What is the Lap Length of the race with a Grand Prix Fia Category?<|im_end|>
[ { "content": "You are an text to SQL query 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 (lost INTEGER, played INTEGER)", "role": "system" }, { "content": "What is the average lost of games played of more than 9?", "role": "user" }, { "content": "SELECT AVG(lost) FROM table_name_16 WHERE played > 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_16 (lost INTEGER, played INTEGER)<|im_end|> <|im_start|>user What is the average lost of games played of more than 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_91 (total VARCHAR, name VARCHAR, serie_a VARCHAR, coppa_italia VARCHAR, champions_league VARCHAR)", "role": "system" }, { "content": "What was the total of Mauro Camoranesi when coppa italia was 0, champions league was 1 and less than 2 serie A?", "role": "user" }, { "content": "SELECT total FROM table_name_91 WHERE coppa_italia = 0 AND champions_league = 1 AND serie_a < 2 AND name = \"mauro camoranesi\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (total VARCHAR, name VARCHAR, serie_a VARCHAR, coppa_italia VARCHAR, champions_league VARCHAR)<|im_end|> <|im_start|>user What was the total of Mauro Camoranesi when coppa italia was 0, champions league was 1 and less than 2 serie A?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_120778_2 (jurisdiction VARCHAR, voted_no VARCHAR)", "role": "system" }, { "content": " what's the jurisdiction where voted no is 322971", "role": "user" }, { "content": "SELECT jurisdiction FROM table_120778_2 WHERE voted_no = 322971", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_120778_2 (jurisdiction VARCHAR, voted_no VARCHAR)<|im_end|> <|im_start|>user what's the jurisdiction where voted no is 322971<|im_end|>
[ { "content": "You are an text to SQL query 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 (first_elected INTEGER, district VARCHAR, committee VARCHAR)", "role": "system" }, { "content": "What is the Highest first elected year that has a district of 06.0 6, and a committee of economic matters?", "role": "user" }, { "content": "SELECT MAX(first_elected) FROM table_name_99 WHERE district = \"06.0 6\" AND committee = \"economic matters\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (first_elected INTEGER, district VARCHAR, committee VARCHAR)<|im_end|> <|im_start|>user What is the Highest first elected year that has a district of 06.0 6, and a committee of economic matters?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_29 (lane VARCHAR, heat VARCHAR, name VARCHAR)", "role": "system" }, { "content": "what is the number of times that the heat is 3 and the name is cxhristy ekpukhon ihunaegbo?", "role": "user" }, { "content": "SELECT COUNT(lane) FROM table_name_29 WHERE heat = 3 AND name = \"cxhristy ekpukhon ihunaegbo\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_29 (lane VARCHAR, heat VARCHAR, name VARCHAR)<|im_end|> <|im_start|>user what is the number of times that the heat is 3 and the name is cxhristy ekpukhon ihunaegbo?<|im_end|>
[ { "content": "You are an text to SQL query 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 (term_in_office VARCHAR, member VARCHAR)", "role": "system" }, { "content": "When was Hon Les Johnson in office?", "role": "user" }, { "content": "SELECT term_in_office FROM table_name_74 WHERE member = \"hon les johnson\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (term_in_office VARCHAR, member VARCHAR)<|im_end|> <|im_start|>user When was Hon Les Johnson in office?<|im_end|>
[ { "content": "You are an text to SQL query 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 (location VARCHAR, time VARCHAR)", "role": "system" }, { "content": "Where was the fight that took a time of 1:37?", "role": "user" }, { "content": "SELECT location FROM table_name_94 WHERE time = \"1:37\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (location VARCHAR, time VARCHAR)<|im_end|> <|im_start|>user Where was the fight that took a time of 1:37?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_60 (date VARCHAR, opponent_in_the_final VARCHAR)", "role": "system" }, { "content": "When did Mathieu play against Flavio Cipolla?", "role": "user" }, { "content": "SELECT date FROM table_name_60 WHERE opponent_in_the_final = \"flavio cipolla\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_60 (date VARCHAR, opponent_in_the_final VARCHAR)<|im_end|> <|im_start|>user When did Mathieu play against Flavio Cipolla?<|im_end|>