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_25 (total INTEGER, finish VARCHAR)", "role": "system" }, { "content": "What is the lowest total of the player with a t41 finish?", "role": "user" }, { "content": "SELECT MIN(total) FROM table_name_25 WHERE finish = \"t41\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (total INTEGER, finish VARCHAR)<|im_end|> <|im_start|>user What is the lowest total of the player with a t41 finish?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (year VARCHAR, composer VARCHAR)", "role": "system" }, { "content": "What year was the composition by Mejo Joseph?", "role": "user" }, { "content": "SELECT COUNT(year) FROM table_name_7 WHERE composer = \"mejo joseph\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (year VARCHAR, composer VARCHAR)<|im_end|> <|im_start|>user What year was the composition by Mejo Joseph?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (province VARCHAR, _community VARCHAR, hometown VARCHAR)", "role": "system" }, { "content": "What is the province for Jamao Afuera?", "role": "user" }, { "content": "SELECT province, _community FROM table_name_13 WHERE hometown = \"jamao afuera\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (province VARCHAR, _community VARCHAR, hometown VARCHAR)<|im_end|> <|im_start|>user What is the province for Jamao Afuera?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (pct VARCHAR, lost VARCHAR, seasons VARCHAR)", "role": "system" }, { "content": "How many percentages have 20 losses and more than 1 season?", "role": "user" }, { "content": "SELECT COUNT(pct) FROM table_name_17 WHERE lost = 20 AND seasons > 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_17 (pct VARCHAR, lost VARCHAR, seasons VARCHAR)<|im_end|> <|im_start|>user How many percentages have 20 losses and more than 1 season?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (econ VARCHAR, s_rate VARCHAR, runs VARCHAR)", "role": "system" }, { "content": "How many econs have 13.76 as the S/Rate, with runs less than 325?", "role": "user" }, { "content": "SELECT COUNT(econ) FROM table_name_27 WHERE s_rate = 13.76 AND runs < 325", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (econ VARCHAR, s_rate VARCHAR, runs VARCHAR)<|im_end|> <|im_start|>user How many econs have 13.76 as the S/Rate, with runs less than 325?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)", "role": "system" }, { "content": "What entrant has osella fa1c chassis after 1981?", "role": "user" }, { "content": "SELECT entrant FROM table_name_60 WHERE year > 1981 AND chassis = \"osella fa1c\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)<|im_end|> <|im_start|>user What entrant has osella fa1c chassis after 1981?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (total_matches INTEGER, total_w_l_h VARCHAR)", "role": "system" }, { "content": "Which Total matches is the lowest one that has a Total W-L-H of 1-2-0?", "role": "user" }, { "content": "SELECT MIN(total_matches) FROM table_name_33 WHERE total_w_l_h = \"1-2-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_33 (total_matches INTEGER, total_w_l_h VARCHAR)<|im_end|> <|im_start|>user Which Total matches is the lowest one that has a Total W-L-H of 1-2-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_61 (date VARCHAR, attendance VARCHAR)", "role": "system" }, { "content": "Where attendance is 79,431 what is date?", "role": "user" }, { "content": "SELECT date FROM table_name_61 WHERE attendance = \"79,431\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (date VARCHAR, attendance VARCHAR)<|im_end|> <|im_start|>user Where attendance is 79,431 what is 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_2108684_1 (episode VARCHAR, run_time VARCHAR)", "role": "system" }, { "content": "What episode had a run time of 23:38?", "role": "user" }, { "content": "SELECT episode FROM table_2108684_1 WHERE run_time = \"23:38\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_2108684_1 (episode VARCHAR, run_time VARCHAR)<|im_end|> <|im_start|>user What episode had a run time of 23:38?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (location VARCHAR, year VARCHAR, record VARCHAR)", "role": "system" }, { "content": "Which location's year was 2001 when the record was 3:52.983s?", "role": "user" }, { "content": "SELECT location FROM table_name_33 WHERE year = 2001 AND record = \"3:52.983s\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (location VARCHAR, year VARCHAR, record VARCHAR)<|im_end|> <|im_start|>user Which location's year was 2001 when the record was 3:52.983s?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (owner VARCHAR, seats VARCHAR)", "role": "system" }, { "content": "Which owner has 84 seats?", "role": "user" }, { "content": "SELECT owner FROM table_name_60 WHERE seats = 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_60 (owner VARCHAR, seats VARCHAR)<|im_end|> <|im_start|>user Which owner has 84 seats?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_18 (tournament VARCHAR)", "role": "system" }, { "content": "What was 2009, when 2012 was A, when 2003 was A, and then the Tournament was the Madrid Masters?", "role": "user" }, { "content": "SELECT 2009 FROM table_name_18 WHERE 2012 = \"a\" AND 2003 = \"a\" AND tournament = \"madrid masters\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_18 (tournament VARCHAR)<|im_end|> <|im_start|>user What was 2009, when 2012 was A, when 2003 was A, and then the Tournament was the Madrid Masters?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (tournament VARCHAR)", "role": "system" }, { "content": "What was the result of the 2011 US Open when the 2007 was F?", "role": "user" }, { "content": "SELECT 2011 FROM table_name_59 WHERE 2007 = \"f\" AND tournament = \"us open\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (tournament VARCHAR)<|im_end|> <|im_start|>user What was the result of the 2011 US Open when the 2007 was F?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_14747043_1 (class_a VARCHAR, class_aA VARCHAR, Marion VARCHAR)", "role": "system" }, { "content": "Which is the class A when Marion was the class AA", "role": "user" }, { "content": "SELECT class_a FROM table_14747043_1 WHERE class_aA = Marion", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_14747043_1 (class_a VARCHAR, class_aA VARCHAR, Marion VARCHAR)<|im_end|> <|im_start|>user Which is the class A when Marion was the class AA<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (place INTEGER, draw VARCHAR, points VARCHAR)", "role": "system" }, { "content": "Which Place is the highest one that has a Draw larger than 1, and 49 Points?", "role": "user" }, { "content": "SELECT MAX(place) FROM table_name_3 WHERE draw > 1 AND points = 49", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (place INTEGER, draw VARCHAR, points VARCHAR)<|im_end|> <|im_start|>user Which Place is the highest one that has a Draw larger than 1, and 49 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_27973624_1 (number_of_fixtures INTEGER)", "role": "system" }, { "content": "What is the lowest number of fixtures?", "role": "user" }, { "content": "SELECT MIN(number_of_fixtures) FROM table_27973624_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_27973624_1 (number_of_fixtures INTEGER)<|im_end|> <|im_start|>user What is the lowest number of fixtures?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_24160890_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR)", "role": "system" }, { "content": "When Cincinnati is the tournament winner how many regular season winners are there?", "role": "user" }, { "content": "SELECT COUNT(regular_season_winner) FROM table_24160890_3 WHERE tournament_winner = \"Cincinnati\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_24160890_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR)<|im_end|> <|im_start|>user When Cincinnati is the tournament winner how many regular season winners 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_17718005_2 (goals_for VARCHAR, goal_difference VARCHAR)", "role": "system" }, { "content": "When +10 is the goal difference what is the goals for?", "role": "user" }, { "content": "SELECT goals_for FROM table_17718005_2 WHERE goal_difference = \"+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_17718005_2 (goals_for VARCHAR, goal_difference VARCHAR)<|im_end|> <|im_start|>user When +10 is the goal difference what is the goals 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_4 (to_par INTEGER, player VARCHAR)", "role": "system" }, { "content": "What is the sum of To Par, when Player is \"Bob Rosburg\"?", "role": "user" }, { "content": "SELECT SUM(to_par) FROM table_name_4 WHERE player = \"bob rosburg\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_4 (to_par INTEGER, player VARCHAR)<|im_end|> <|im_start|>user What is the sum of To Par, when Player is "Bob Rosburg"?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE school (school_id VARCHAR, school_name VARCHAR); CREATE TABLE endowment (donator_name VARCHAR, school_id VARCHAR)", "role": "system" }, { "content": "Show the names of donors who donated to both school \"Glenn\" and \"Triton.\"", "role": "user" }, { "content": "SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Glenn' INTERSECT SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Triton'", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE school (school_id VARCHAR, school_name VARCHAR); CREATE TABLE endowment (donator_name VARCHAR, school_id VARCHAR)<|im_end|> <|im_start|>user Show the names of donors who donated to both school "Glenn" and "Triton."<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (date VARCHAR, team VARCHAR, circuit VARCHAR)", "role": "system" }, { "content": "what date did the m3 motorsport team compete at winton motor raceway?", "role": "user" }, { "content": "SELECT date FROM table_name_38 WHERE team = \"m3 motorsport\" AND circuit = \"winton motor raceway\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (date VARCHAR, team VARCHAR, circuit VARCHAR)<|im_end|> <|im_start|>user what date did the m3 motorsport team compete at winton motor raceway?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11406866_2 (a_ VARCHAR, kickoff_ VARCHAR)", "role": "system" }, { "content": "what is the total number of kickoff [a ] where week is week", "role": "user" }, { "content": "SELECT COUNT(kickoff_)[a_] FROM table_11406866_2 WHERE \"week\" = \"week\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_11406866_2 (a_ VARCHAR, kickoff_ VARCHAR)<|im_end|> <|im_start|>user what is the total number of kickoff [a ] where week is week<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25016824_2 (eliminated VARCHAR, immunity VARCHAR)", "role": "system" }, { "content": "Who was eliminated when immunity went to kent (jürgen)?", "role": "user" }, { "content": "SELECT eliminated FROM table_25016824_2 WHERE immunity = \"Kent (Jürgen)\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_25016824_2 (eliminated VARCHAR, immunity VARCHAR)<|im_end|> <|im_start|>user Who was eliminated when immunity went to kent (jürgen)?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (location VARCHAR, record VARCHAR)", "role": "system" }, { "content": "Where was the game played when their record was 9-1-0?", "role": "user" }, { "content": "SELECT location FROM table_name_10 WHERE record = \"9-1-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_10 (location VARCHAR, record VARCHAR)<|im_end|> <|im_start|>user Where was the game played when their record was 9-1-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_23 (rank INTEGER, total INTEGER)", "role": "system" }, { "content": "Which rank has a total smaller than 1?", "role": "user" }, { "content": "SELECT AVG(rank) FROM table_name_23 WHERE total < 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_23 (rank INTEGER, total INTEGER)<|im_end|> <|im_start|>user Which rank has a total smaller 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_14 (digital_psip VARCHAR, broadcast_channel VARCHAR, call_sign VARCHAR)", "role": "system" }, { "content": "What is the Digital PSIP for channels over 15 with callsign CFTU-DT?", "role": "user" }, { "content": "SELECT digital_psip FROM table_name_14 WHERE broadcast_channel > 15 AND call_sign = \"cftu-dt\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_14 (digital_psip VARCHAR, broadcast_channel VARCHAR, call_sign VARCHAR)<|im_end|> <|im_start|>user What is the Digital PSIP for channels over 15 with callsign CFTU-DT?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER)", "role": "system" }, { "content": "Find the titles of items that received both a rating higher than 8 and a rating below 5.", "role": "user" }, { "content": "SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating > 8 INTERSECT SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating < 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 item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER)<|im_end|> <|im_start|>user Find the titles of items that received both a rating higher than 8 and a rating below 5.<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_74 (team VARCHAR, record VARCHAR)", "role": "system" }, { "content": "Which Team has a Record of 17–8?", "role": "user" }, { "content": "SELECT team FROM table_name_74 WHERE record = \"17–8\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_74 (team VARCHAR, record VARCHAR)<|im_end|> <|im_start|>user Which Team has a Record of 17–8?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_38 (sanskrt VARCHAR, japanese VARCHAR)", "role": "system" }, { "content": "Which SANSKRT has a JAPANESE of jayana?", "role": "user" }, { "content": "SELECT sanskrt FROM table_name_38 WHERE japanese = \"jayana\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (sanskrt VARCHAR, japanese VARCHAR)<|im_end|> <|im_start|>user Which SANSKRT has a JAPANESE of jayana?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_90 (cyclist VARCHAR, nation VARCHAR)", "role": "system" }, { "content": "Which cyclist is from Australia?", "role": "user" }, { "content": "SELECT cyclist FROM table_name_90 WHERE nation = \"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_90 (cyclist VARCHAR, nation VARCHAR)<|im_end|> <|im_start|>user Which cyclist is from 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_39 (country VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What is josé maría olazábal's country?", "role": "user" }, { "content": "SELECT country FROM table_name_39 WHERE player = \"josé maría olazábal\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (country VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user What is josé maría olazábal's country?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (competition VARCHAR, score VARCHAR, location VARCHAR)", "role": "system" }, { "content": "WHich competition was held on Alvor with a score 1-0?", "role": "user" }, { "content": "SELECT competition FROM table_name_77 WHERE score = \"1-0\" AND location = \"alvor\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (competition VARCHAR, score VARCHAR, location VARCHAR)<|im_end|> <|im_start|>user WHich competition was held on Alvor with a score 1-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_27987767_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR)", "role": "system" }, { "content": "When london irish was eliminated from competition who proceeded to quarter final?", "role": "user" }, { "content": "SELECT proceed_to_quarter_final FROM table_27987767_3 WHERE eliminated_from_competition = \"London Irish\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_27987767_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR)<|im_end|> <|im_start|>user When london irish was eliminated from competition who proceeded to quarter final?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_61 (team_d VARCHAR, team_c VARCHAR)", "role": "system" }, { "content": "Who is Team D when Carmen Ada is team C?", "role": "user" }, { "content": "SELECT team_d FROM table_name_61 WHERE team_c = \"carmen ada\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (team_d VARCHAR, team_c VARCHAR)<|im_end|> <|im_start|>user Who is Team D when Carmen Ada is team C?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_20745444_1 (date VARCHAR, record VARCHAR)", "role": "system" }, { "content": "What was the date when the record was 1-0?", "role": "user" }, { "content": "SELECT date FROM table_20745444_1 WHERE record = \"1-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_20745444_1 (date VARCHAR, record VARCHAR)<|im_end|> <|im_start|>user What was the date when the record was 1-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_16570286_4 (wickets VARCHAR, average VARCHAR)", "role": "system" }, { "content": "How many wickets were there when average was 22.66?", "role": "user" }, { "content": "SELECT wickets FROM table_16570286_4 WHERE average = \"22.66\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_16570286_4 (wickets VARCHAR, average VARCHAR)<|im_end|> <|im_start|>user How many wickets were there when average was 22.66?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (opponent_in_the_final VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Who is the opponent in the final of the match on 19 February 2006?", "role": "user" }, { "content": "SELECT opponent_in_the_final FROM table_name_24 WHERE date = \"19 february 2006\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_24 (opponent_in_the_final VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Who is the opponent in the final of the match on 19 February 2006?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_76 (surface VARCHAR, partner VARCHAR)", "role": "system" }, { "content": "What surface was used when she played with Remi Tezuka?", "role": "user" }, { "content": "SELECT surface FROM table_name_76 WHERE partner = \"remi tezuka\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_76 (surface VARCHAR, partner VARCHAR)<|im_end|> <|im_start|>user What surface was used when she played with Remi Tezuka?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2985714_2 (_number INTEGER)", "role": "system" }, { "content": "What is the maximum overall number?", "role": "user" }, { "content": "SELECT MAX(_number) FROM table_2985714_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_2985714_2 (_number INTEGER)<|im_end|> <|im_start|>user What is the maximum overall number?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_18 (wind VARCHAR, rank VARCHAR, location VARCHAR)", "role": "system" }, { "content": "What was the wind at New York City when the rank was smaller than 6?", "role": "user" }, { "content": "SELECT wind FROM table_name_18 WHERE rank < 6 AND location = \"new york 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_18 (wind VARCHAR, rank VARCHAR, location VARCHAR)<|im_end|> <|im_start|>user What was the wind at New York City when the rank was smaller than 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_22078972_2 (title VARCHAR, us_viewers__millions_ VARCHAR)", "role": "system" }, { "content": "What's the title of the episode first seen by 18.15 million people in the US?", "role": "user" }, { "content": "SELECT title FROM table_22078972_2 WHERE us_viewers__millions_ = \"18.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_22078972_2 (title VARCHAR, us_viewers__millions_ VARCHAR)<|im_end|> <|im_start|>user What's the title of the episode first seen by 18.15 million people in the US?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (decision VARCHAR, record VARCHAR)", "role": "system" }, { "content": "For the game ending with a record of 31-43-2, what was the decision?", "role": "user" }, { "content": "SELECT decision FROM table_name_10 WHERE record = \"31-43-2\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_10 (decision VARCHAR, record VARCHAR)<|im_end|> <|im_start|>user For the game ending with a record of 31-43-2, what was the decision?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_31 (partner VARCHAR, score_in_the_final VARCHAR)", "role": "system" }, { "content": "Who was the partner for the match with a score in the final of 4–6, 6–7?", "role": "user" }, { "content": "SELECT partner FROM table_name_31 WHERE score_in_the_final = \"4–6, 6–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_31 (partner VARCHAR, score_in_the_final VARCHAR)<|im_end|> <|im_start|>user Who was the partner for the match with a score in the final of 4–6, 6–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_41 (points INTEGER, attendance VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What's the sum of the points when attendance is 8,000 on february 22?", "role": "user" }, { "content": "SELECT SUM(points) FROM table_name_41 WHERE attendance = \"8,000\" AND date = \"february 22\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_41 (points INTEGER, attendance VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What's the sum of the points when attendance is 8,000 on february 22?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_28164986_4 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)", "role": "system" }, { "content": "how many times did tunde abdulrahman leave the team?", "role": "user" }, { "content": "SELECT COUNT(date_of_vacancy) FROM table_28164986_4 WHERE outgoing_manager = \"Tunde Abdulrahman\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_28164986_4 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)<|im_end|> <|im_start|>user how many times did tunde abdulrahman leave the 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_95 (money___ INTEGER, player VARCHAR)", "role": "system" }, { "content": "What is the highest Money ( £ ), when Player is \"Peter Hedblom\"?", "role": "user" }, { "content": "SELECT MAX(money___) AS £__ FROM table_name_95 WHERE player = \"peter hedblom\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (money___ INTEGER, player VARCHAR)<|im_end|> <|im_start|>user What is the highest Money ( £ ), when Player is "Peter Hedblom"?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_21 (elevator VARCHAR, elevated VARCHAR, cardinalatial_title VARCHAR)", "role": "system" }, { "content": "What is the elevator when elevated is May 16, 1288, and cardinalatial title shows Deacon of S. Adriano?", "role": "user" }, { "content": "SELECT elevator FROM table_name_21 WHERE elevated = \"may 16, 1288\" AND cardinalatial_title = \"deacon of s. adriano\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_21 (elevator VARCHAR, elevated VARCHAR, cardinalatial_title VARCHAR)<|im_end|> <|im_start|>user What is the elevator when elevated is May 16, 1288, and cardinalatial title shows Deacon of S. Adriano?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_19744915_16 (result VARCHAR, couple VARCHAR)", "role": "system" }, { "content": "What is Zoe and Matt's result?", "role": "user" }, { "content": "SELECT result FROM table_19744915_16 WHERE couple = \"Zoe and Matt\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_19744915_16 (result VARCHAR, couple VARCHAR)<|im_end|> <|im_start|>user What is Zoe and Matt's result?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_65 (episode INTEGER, segment_c VARCHAR)", "role": "system" }, { "content": "What is the highest episode of Wood Flutes segment c?", "role": "user" }, { "content": "SELECT MAX(episode) FROM table_name_65 WHERE segment_c = \"wood flutes\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (episode INTEGER, segment_c VARCHAR)<|im_end|> <|im_start|>user What is the highest episode of Wood Flutes segment c?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (lost VARCHAR, match_points VARCHAR)", "role": "system" }, { "content": "Which lost has 84 as the match points?", "role": "user" }, { "content": "SELECT lost FROM table_name_52 WHERE match_points = \"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_52 (lost VARCHAR, match_points VARCHAR)<|im_end|> <|im_start|>user Which lost has 84 as the match 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_22683369_8 (p VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What is bryan hodge's player number", "role": "user" }, { "content": "SELECT COUNT(p) FROM table_22683369_8 WHERE player = \"Bryan Hodge\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_22683369_8 (p VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user What is bryan hodge's player number<|im_end|>
[ { "content": "You are an text to SQL query translator. 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, venue VARCHAR)", "role": "system" }, { "content": "What home team plays at Arden Street Oval?", "role": "user" }, { "content": "SELECT home_team FROM table_name_72 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_72 (home_team VARCHAR, venue VARCHAR)<|im_end|> <|im_start|>user What home team plays 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_1682026_6 (rank INTEGER, assets__billion_$_ VARCHAR)", "role": "system" }, { "content": "What is the highest rank of a company that has 1,715.8 billion in assets? ", "role": "user" }, { "content": "SELECT MAX(rank) FROM table_1682026_6 WHERE assets__billion_$_ = \"1,715.8\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_1682026_6 (rank INTEGER, assets__billion_$_ VARCHAR)<|im_end|> <|im_start|>user What is the highest rank of a company that has 1,715.8 billion in assets? <|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR)", "role": "system" }, { "content": "Which Area km 2 has an Official Name of stanley, and a Population larger than 1,817?", "role": "user" }, { "content": "SELECT MAX(area_km_2) FROM table_name_46 WHERE official_name = \"stanley\" AND population > 1 OFFSET 817", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR)<|im_end|> <|im_start|>user Which Area km 2 has an Official Name of stanley, and a Population larger than 1,817?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (elevator VARCHAR, elector VARCHAR)", "role": "system" }, { "content": "What's the elevator of Jacques D'euse?", "role": "user" }, { "content": "SELECT elevator FROM table_name_74 WHERE elector = \"jacques d'euse\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (elevator VARCHAR, elector VARCHAR)<|im_end|> <|im_start|>user What's the elevator of Jacques D'euse?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (start VARCHAR, stage VARCHAR)", "role": "system" }, { "content": "What is the start of stage 11?", "role": "user" }, { "content": "SELECT start FROM table_name_8 WHERE stage = 11", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (start VARCHAR, stage VARCHAR)<|im_end|> <|im_start|>user What is the start of stage 11?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (away_team VARCHAR, home_team VARCHAR)", "role": "system" }, { "content": "What is the score of the away team when the home team is Essendon?", "role": "user" }, { "content": "SELECT away_team AS score FROM table_name_12 WHERE home_team = \"essendon\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (away_team VARCHAR, home_team VARCHAR)<|im_end|> <|im_start|>user What is the score of the away team when the home team is Essendon?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25711913_14 (field_goals__4_points_ VARCHAR, touchdowns__5_points_ VARCHAR)", "role": "system" }, { "content": "How many field goals were scored by the player that got 7 touchdowns? ", "role": "user" }, { "content": "SELECT field_goals__4_points_ FROM table_25711913_14 WHERE touchdowns__5_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_25711913_14 (field_goals__4_points_ VARCHAR, touchdowns__5_points_ VARCHAR)<|im_end|> <|im_start|>user How many field goals were scored by the player that got 7 touchdowns? <|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2076490_1 (founded INTEGER)", "role": "system" }, { "content": "What is the latest founding date? ", "role": "user" }, { "content": "SELECT MAX(founded) FROM table_2076490_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_2076490_1 (founded INTEGER)<|im_end|> <|im_start|>user What is the latest founding 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_81 (main_date VARCHAR, number_of_fixtures VARCHAR)", "role": "system" }, { "content": "What was the main date of the round with 20 fixtures?", "role": "user" }, { "content": "SELECT main_date FROM table_name_81 WHERE number_of_fixtures = 20", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (main_date VARCHAR, number_of_fixtures VARCHAR)<|im_end|> <|im_start|>user What was the main date of the round with 20 fixtures?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (points_difference VARCHAR, lost VARCHAR, points VARCHAR)", "role": "system" }, { "content": "What is the points difference for a loss less than 6, and points less than 11?", "role": "user" }, { "content": "SELECT points_difference FROM table_name_30 WHERE lost < 6 AND points < 11", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (points_difference VARCHAR, lost VARCHAR, points VARCHAR)<|im_end|> <|im_start|>user What is the points difference for a loss less than 6, and points less than 11?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_21576644_2 (ladies_1st_xi VARCHAR, mens_2nd_xi VARCHAR)", "role": "system" }, { "content": "When 10th, south west district 1 is the mens 2nd xi what is the ladies 1st xi?", "role": "user" }, { "content": "SELECT ladies_1st_xi FROM table_21576644_2 WHERE mens_2nd_xi = \"10th, South West District 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_21576644_2 (ladies_1st_xi VARCHAR, mens_2nd_xi VARCHAR)<|im_end|> <|im_start|>user When 10th, south west district 1 is the mens 2nd xi what is the ladies 1st xi?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (record VARCHAR, save VARCHAR)", "role": "system" }, { "content": "What was the record the day David Weathers (15) had a save?", "role": "user" }, { "content": "SELECT record FROM table_name_10 WHERE save = \"david weathers (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_10 (record VARCHAR, save VARCHAR)<|im_end|> <|im_start|>user What was the record the day David Weathers (15) had a save?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1341568_39 (district VARCHAR, incumbent VARCHAR)", "role": "system" }, { "content": "What districts does incumbent Curt Weldon hold?", "role": "user" }, { "content": "SELECT district FROM table_1341568_39 WHERE incumbent = \"Curt Weldon\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_1341568_39 (district VARCHAR, incumbent VARCHAR)<|im_end|> <|im_start|>user What districts does incumbent Curt Weldon hold?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (engine VARCHAR, team VARCHAR)", "role": "system" }, { "content": "What is the engine for the Arciero Racing team?", "role": "user" }, { "content": "SELECT engine FROM table_name_49 WHERE team = \"arciero racing\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (engine VARCHAR, team VARCHAR)<|im_end|> <|im_start|>user What is the engine for the Arciero Racing 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_22542179_3 (nat VARCHAR, total_g VARCHAR)", "role": "system" }, { "content": "Name the number of nat for total g of 6", "role": "user" }, { "content": "SELECT COUNT(nat) FROM table_22542179_3 WHERE total_g = 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_22542179_3 (nat VARCHAR, total_g VARCHAR)<|im_end|> <|im_start|>user Name the number of nat for total g of 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_20726262_3 (no_in_season VARCHAR, writtenby VARCHAR)", "role": "system" }, { "content": "How many numbers in the season were written by Brett Conrad & Liz Sagal?", "role": "user" }, { "content": "SELECT COUNT(no_in_season) FROM table_20726262_3 WHERE writtenby = \"Brett Conrad & Liz Sagal\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_20726262_3 (no_in_season VARCHAR, writtenby VARCHAR)<|im_end|> <|im_start|>user How many numbers in the season were written by Brett Conrad & Liz Sagal?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (lkf_cup VARCHAR, europe VARCHAR, regional_competitions VARCHAR)", "role": "system" }, { "content": "WHAT IS THE LKF CUP WITH euroleague group stage AND bbl elite division finalist?", "role": "user" }, { "content": "SELECT lkf_cup FROM table_name_69 WHERE europe = \"euroleague group stage\" AND regional_competitions = \"bbl elite division finalist\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (lkf_cup VARCHAR, europe VARCHAR, regional_competitions VARCHAR)<|im_end|> <|im_start|>user WHAT IS THE LKF CUP WITH euroleague group stage AND bbl elite division finalist?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (home VARCHAR, visitor VARCHAR, series VARCHAR)", "role": "system" }, { "content": "What is the Home with a Visitor of chicago, and a Series with 3 – 2?", "role": "user" }, { "content": "SELECT home FROM table_name_82 WHERE visitor = \"chicago\" AND series = \"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_82 (home VARCHAR, visitor VARCHAR, series VARCHAR)<|im_end|> <|im_start|>user What is the Home with a Visitor of chicago, and a Series with 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_24415627_2 (state_served VARCHAR, time_since_entry VARCHAR)", "role": "system" }, { "content": "List the states that have entry times of 49years, 29days", "role": "user" }, { "content": "SELECT state_served FROM table_24415627_2 WHERE time_since_entry = \"49years, 29days\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_24415627_2 (state_served VARCHAR, time_since_entry VARCHAR)<|im_end|> <|im_start|>user List the states that have entry times of 49years, 29days<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_23 (date VARCHAR, game INTEGER)", "role": "system" }, { "content": "On what date was the game more than 5?", "role": "user" }, { "content": "SELECT date FROM table_name_23 WHERE game > 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_23 (date VARCHAR, game INTEGER)<|im_end|> <|im_start|>user On what date was the game more than 5?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_8 (grid VARCHAR, time_retired VARCHAR)", "role": "system" }, { "content": "What was the grid for suspension time/retired?", "role": "user" }, { "content": "SELECT grid FROM table_name_8 WHERE time_retired = \"suspension\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (grid VARCHAR, time_retired VARCHAR)<|im_end|> <|im_start|>user What was the grid for suspension time/retired?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_17924362_1 (week VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Name the number of weeks for october 26", "role": "user" }, { "content": "SELECT COUNT(week) FROM table_17924362_1 WHERE date = \"October 26\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_17924362_1 (week VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Name the number of weeks for october 26<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2015453_1 (remarks VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What are the remarks for 8 October 2008?", "role": "user" }, { "content": "SELECT remarks FROM table_2015453_1 WHERE date = \"8 October 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_2015453_1 (remarks VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What are the remarks for 8 October 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_23575917_2 (scores VARCHAR, davids_team VARCHAR)", "role": "system" }, { "content": "Name the scores for david baddiel and maureen lipman", "role": "user" }, { "content": "SELECT COUNT(scores) FROM table_23575917_2 WHERE davids_team = \"David Baddiel and Maureen Lipman\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_23575917_2 (scores VARCHAR, davids_team VARCHAR)<|im_end|> <|im_start|>user Name the scores for david baddiel and maureen lipman<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (position INTEGER, name VARCHAR, drawn VARCHAR)", "role": "system" }, { "content": "what is the lowest position when the name is esv türkheim, and Drawn more than 0?", "role": "user" }, { "content": "SELECT MIN(position) FROM table_name_12 WHERE name = \"esv türkheim\" AND drawn > 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_12 (position INTEGER, name VARCHAR, drawn VARCHAR)<|im_end|> <|im_start|>user what is the lowest position when the name is esv türkheim, and Drawn more than 0?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_65 (high_points VARCHAR, game VARCHAR)", "role": "system" }, { "content": "What are the high points that have 42 as the game?", "role": "user" }, { "content": "SELECT high_points FROM table_name_65 WHERE game = 42", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_65 (high_points VARCHAR, game VARCHAR)<|im_end|> <|im_start|>user What are the high points that have 42 as the game?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_39 (date VARCHAR, away VARCHAR)", "role": "system" }, { "content": "When did the team play an away game against the Toronto Eagles?", "role": "user" }, { "content": "SELECT date FROM table_name_39 WHERE away = \"toronto 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_39 (date VARCHAR, away VARCHAR)<|im_end|> <|im_start|>user When did the team play an away game against the Toronto 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_66 (score VARCHAR, home VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Which score was for Toronto Maple Leafs at home on November 12?", "role": "user" }, { "content": "SELECT score FROM table_name_66 WHERE home = \"toronto maple leafs\" AND date = \"november 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_66 (score VARCHAR, home VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Which score was for Toronto Maple Leafs at home on November 12?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_34 (captain VARCHAR, manager VARCHAR)", "role": "system" }, { "content": "Which captain has billy bonds as the manager?", "role": "user" }, { "content": "SELECT captain FROM table_name_34 WHERE manager = \"billy bonds\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_34 (captain VARCHAR, manager VARCHAR)<|im_end|> <|im_start|>user Which captain has billy bonds as the 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_name_5 (poll_source VARCHAR, pat_toomey VARCHAR)", "role": "system" }, { "content": "Which Poll source has Pat Toomey of 23%?", "role": "user" }, { "content": "SELECT poll_source FROM table_name_5 WHERE pat_toomey = \"23%\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (poll_source VARCHAR, pat_toomey VARCHAR)<|im_end|> <|im_start|>user Which Poll source has Pat Toomey of 23%?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (record VARCHAR, attendance VARCHAR)", "role": "system" }, { "content": "When the Attendance was 4,516, what was the Record?", "role": "user" }, { "content": "SELECT record FROM table_name_72 WHERE attendance = \"4,516\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (record VARCHAR, attendance VARCHAR)<|im_end|> <|im_start|>user When the Attendance was 4,516, what was the Record?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_71 (pick VARCHAR, name VARCHAR, overall VARCHAR)", "role": "system" }, { "content": "What pick did George Rosso get drafted when the overall was less than 296?", "role": "user" }, { "content": "SELECT COUNT(pick) FROM table_name_71 WHERE name = \"george rosso\" AND overall < 296", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_71 (pick VARCHAR, name VARCHAR, overall VARCHAR)<|im_end|> <|im_start|>user What pick did George Rosso get drafted when the overall was less than 296?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (winning_score VARCHAR, margin_of_victory VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What was the winning score on Jan 22, 1995 when the margin of victory was 1 stroke?", "role": "user" }, { "content": "SELECT winning_score FROM table_name_32 WHERE margin_of_victory = \"1 stroke\" AND date = \"jan 22, 1995\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (winning_score VARCHAR, margin_of_victory VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What was the winning score on Jan 22, 1995 when the margin of victory was 1 stroke?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18173916_8 (friday VARCHAR, tuesday VARCHAR)", "role": "system" }, { "content": "which episode was Transmitted on friday if the episode of \"414 insanely twisted shadow planet\" was transmitted on tuesday? ", "role": "user" }, { "content": "SELECT friday FROM table_18173916_8 WHERE tuesday = \"414 Insanely Twisted Shadow Planet\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_18173916_8 (friday VARCHAR, tuesday VARCHAR)<|im_end|> <|im_start|>user which episode was Transmitted on friday if the episode of "414 insanely twisted shadow planet" was transmitted on tuesday? <|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (grid INTEGER, constructor VARCHAR, laps VARCHAR)", "role": "system" }, { "content": "What is the high grid for ferrari's with 2 laps?", "role": "user" }, { "content": "SELECT MAX(grid) FROM table_name_45 WHERE constructor = \"ferrari\" AND laps = 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_45 (grid INTEGER, constructor VARCHAR, laps VARCHAR)<|im_end|> <|im_start|>user What is the high grid for ferrari's with 2 laps?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (date VARCHAR, tournament VARCHAR)", "role": "system" }, { "content": "What is the Date of the Rodez, France Tournament?", "role": "user" }, { "content": "SELECT date FROM table_name_63 WHERE tournament = \"rodez, france\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (date VARCHAR, tournament VARCHAR)<|im_end|> <|im_start|>user What is the Date of the Rodez, France 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_name_16 (country VARCHAR, start_source VARCHAR, name VARCHAR)", "role": "system" }, { "content": "What is the country named feeney with a bbc sport start source?", "role": "user" }, { "content": "SELECT country FROM table_name_16 WHERE start_source = \"bbc sport\" AND name = \"feeney\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (country VARCHAR, start_source VARCHAR, name VARCHAR)<|im_end|> <|im_start|>user What is the country named feeney with a bbc sport start source?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_23 (notes VARCHAR, builder VARCHAR, total VARCHAR)", "role": "system" }, { "content": "What are the notes for Ford when the total is 5?", "role": "user" }, { "content": "SELECT notes FROM table_name_23 WHERE builder = \"ford\" AND total = \"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_23 (notes VARCHAR, builder VARCHAR, total VARCHAR)<|im_end|> <|im_start|>user What are the notes for Ford when the total is 5?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_95 (time VARCHAR, away VARCHAR)", "role": "system" }, { "content": "What is Time, when Away is Central Blues?", "role": "user" }, { "content": "SELECT time FROM table_name_95 WHERE away = \"central blues\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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, away VARCHAR)<|im_end|> <|im_start|>user What is Time, when Away is Central Blues?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18536769_1 (format VARCHAR, frequency VARCHAR)", "role": "system" }, { "content": "When fm 97.3 is the frequency how many formats are there?", "role": "user" }, { "content": "SELECT COUNT(format) FROM table_18536769_1 WHERE frequency = \"FM 97.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_18536769_1 (format VARCHAR, frequency VARCHAR)<|im_end|> <|im_start|>user When fm 97.3 is the frequency how many formats 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_69 (score VARCHAR, to_par VARCHAR, player VARCHAR)", "role": "system" }, { "content": "Which Score has a To par of –3, and a Player of santiago luna?", "role": "user" }, { "content": "SELECT score FROM table_name_69 WHERE to_par = \"–3\" AND player = \"santiago luna\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (score VARCHAR, to_par VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user Which Score has a To par of –3, and a Player of santiago luna?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (domestic_passengers INTEGER, _percentage_change_2005_2006 VARCHAR, freight__metric_tonnes_ VARCHAR)", "role": "system" }, { "content": "What is the sum of all domestic passengers with 10.9% change and less than 4,022 tonnes in freight?", "role": "user" }, { "content": "SELECT SUM(domestic_passengers) FROM table_name_38 WHERE _percentage_change_2005_2006 = \"10.9%\" AND freight__metric_tonnes_ < 4 OFFSET 022", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (domestic_passengers INTEGER, _percentage_change_2005_2006 VARCHAR, freight__metric_tonnes_ VARCHAR)<|im_end|> <|im_start|>user What is the sum of all domestic passengers with 10.9% change and less than 4,022 tonnes in freight?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (date VARCHAR, away_team VARCHAR)", "role": "system" }, { "content": "What date was the away team Hawthorn?", "role": "user" }, { "content": "SELECT date FROM table_name_78 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_78 (date VARCHAR, away_team VARCHAR)<|im_end|> <|im_start|>user What date was the away team 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_26 (first_appearance VARCHAR, portrayed_by VARCHAR)", "role": "system" }, { "content": "What is the name of the first appearance when Chad Williams is a portrayal?", "role": "user" }, { "content": "SELECT first_appearance FROM table_name_26 WHERE portrayed_by = \"chad williams\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (first_appearance VARCHAR, portrayed_by VARCHAR)<|im_end|> <|im_start|>user What is the name of the first appearance when Chad Williams is a portrayal?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (gold VARCHAR, total INTEGER)", "role": "system" }, { "content": "Name the gold with total larger than 33", "role": "user" }, { "content": "SELECT gold FROM table_name_46 WHERE total > 33", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (gold VARCHAR, total INTEGER)<|im_end|> <|im_start|>user Name the gold with total larger than 33<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (nationality VARCHAR, team_from VARCHAR)", "role": "system" }, { "content": "Name the Nationality of södertälje sk?", "role": "user" }, { "content": "SELECT nationality FROM table_name_78 WHERE team_from = \"södertälje sk\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. 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 (nationality VARCHAR, team_from VARCHAR)<|im_end|> <|im_start|>user Name the Nationality of södertälje sk?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (crowd VARCHAR, away_team VARCHAR)", "role": "system" }, { "content": "What was the attendance of the game where fitzroy was the away team?", "role": "user" }, { "content": "SELECT COUNT(crowd) FROM table_name_83 WHERE away_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_83 (crowd VARCHAR, away_team VARCHAR)<|im_end|> <|im_start|>user What was the attendance of the game where fitzroy 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 table_20683381_3 (for___percentage_ VARCHAR, total_poll___percentage_ VARCHAR)", "role": "system" }, { "content": "When 60,254 (58.0) is the toll poll percentage what is the for percentage?", "role": "user" }, { "content": "SELECT for___percentage_ FROM table_20683381_3 WHERE total_poll___percentage_ = \"60,254 (58.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_20683381_3 (for___percentage_ VARCHAR, total_poll___percentage_ VARCHAR)<|im_end|> <|im_start|>user When 60,254 (58.0) is the toll poll percentage what is the for percentage?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_76 (silver INTEGER, total VARCHAR, bronze VARCHAR)", "role": "system" }, { "content": "What is the total sum of silver metals for all countries with more than 2 Bronze medals?", "role": "user" }, { "content": "SELECT SUM(silver) FROM table_name_76 WHERE total > 2 AND bronze > 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_76 (silver INTEGER, total VARCHAR, bronze VARCHAR)<|im_end|> <|im_start|>user What is the total sum of silver metals for all countries with more than 2 Bronze medals?<|im_end|>