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_14219514_1 (home__2nd_leg_ VARCHAR, home__1st_leg_ VARCHAR)",
"role": "system"
},
{
"content": "Who was in home (2nd leg) when Talleres was in home (1st leg)",
"role": "user"
},
{
"content": "SELECT home__2nd_leg_ FROM table_14219514_1 WHERE home__1st_leg_ = \"Talleres\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_14219514_1 (home__2nd_leg_ VARCHAR, home__1st_leg_ VARCHAR)<|im_end|>
<|im_start|>user
Who was in home (2nd leg) when Talleres was in home (1st leg)<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_88 (democrat VARCHAR, lead_margin VARCHAR)",
"role": "system"
},
{
"content": "What is Democrat: Carl Levin, when Lead Margin is 22?",
"role": "user"
},
{
"content": "SELECT democrat AS :_carl_levin FROM table_name_88 WHERE lead_margin = 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_88 (democrat VARCHAR, lead_margin VARCHAR)<|im_end|>
<|im_start|>user
What is Democrat: Carl Levin, when Lead Margin is 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 Vehicles (Id VARCHAR)",
"role": "system"
},
{
"content": "How many vehicle in total?",
"role": "user"
},
{
"content": "SELECT COUNT(*) FROM Vehicles",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE Vehicles (Id VARCHAR)<|im_end|>
<|im_start|>user
How many vehicle in total?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE journalist (Name VARCHAR, Nationality VARCHAR)",
"role": "system"
},
{
"content": "Show the names of journalists from \"England\" or \"Wales\".",
"role": "user"
},
{
"content": "SELECT Name FROM journalist WHERE Nationality = \"England\" OR Nationality = \"Wales\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE journalist (Name VARCHAR, Nationality VARCHAR)<|im_end|>
<|im_start|>user
Show the names of journalists from "England" or "Wales".<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (crowd INTEGER, home_team VARCHAR)",
"role": "system"
},
{
"content": "What is the sum of Crowd when Essendon was the home team?",
"role": "user"
},
{
"content": "SELECT SUM(crowd) FROM table_name_33 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_33 (crowd INTEGER, home_team VARCHAR)<|im_end|>
<|im_start|>user
What is the sum of Crowd when Essendon was the home team?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_4 (to_par VARCHAR, year_s__won VARCHAR)",
"role": "system"
},
{
"content": "What was the winning to par score of the 1993 PGA Championship?",
"role": "user"
},
{
"content": "SELECT to_par FROM table_name_4 WHERE year_s__won = \"1993\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 VARCHAR, year_s__won VARCHAR)<|im_end|>
<|im_start|>user
What was the winning to par score of the 1993 PGA Championship?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_63 (player VARCHAR, pick__number VARCHAR)",
"role": "system"
},
{
"content": "Name the player with pick number of 7",
"role": "user"
},
{
"content": "SELECT player FROM table_name_63 WHERE pick__number = 7",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_63 (player VARCHAR, pick__number VARCHAR)<|im_end|>
<|im_start|>user
Name the player with pick number of 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_97 (liberal_party VARCHAR, conservative_party VARCHAR, labour_party VARCHAR)",
"role": "system"
},
{
"content": "What was the Liberal Party result from the election having a Conservative Party result of 16 (-1) and Labour of 6 (+2)?",
"role": "user"
},
{
"content": "SELECT liberal_party FROM table_name_97 WHERE conservative_party = \"16 (-1)\" AND labour_party = \"6 (+2)\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_97 (liberal_party VARCHAR, conservative_party VARCHAR, labour_party VARCHAR)<|im_end|>
<|im_start|>user
What was the Liberal Party result from the election having a Conservative Party result of 16 (-1) and Labour of 6 (+2)?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE trip (start_station_name VARCHAR, end_station_name VARCHAR, id VARCHAR)",
"role": "system"
},
{
"content": "Give me the start station and end station for the trips with the three oldest id.",
"role": "user"
},
{
"content": "SELECT start_station_name, end_station_name FROM trip ORDER BY id LIMIT 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 trip (start_station_name VARCHAR, end_station_name VARCHAR, id VARCHAR)<|im_end|>
<|im_start|>user
Give me the start station and end station for the trips with the three oldest id.<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_67 (room_temperature VARCHAR, in_production VARCHAR, toxic_materials VARCHAR)",
"role": "system"
},
{
"content": "What's the room temperature with no toxic materials and no ln production?",
"role": "user"
},
{
"content": "SELECT room_temperature FROM table_name_67 WHERE in_production = \"no\" AND toxic_materials = \"no\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_67 (room_temperature VARCHAR, in_production VARCHAR, toxic_materials VARCHAR)<|im_end|>
<|im_start|>user
What's the room temperature with no toxic materials and no ln production?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_17927935_1 (date VARCHAR, week VARCHAR)",
"role": "system"
},
{
"content": "What was the date of the week 4 game?",
"role": "user"
},
{
"content": "SELECT date FROM table_17927935_1 WHERE week = 4",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_17927935_1 (date VARCHAR, week VARCHAR)<|im_end|>
<|im_start|>user
What was the date of the week 4 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_26 (date VARCHAR, home_team VARCHAR)",
"role": "system"
},
{
"content": "When is the Geelong game?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_26 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_26 (date VARCHAR, home_team VARCHAR)<|im_end|>
<|im_start|>user
When is the Geelong 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_28201906_1 (drawn INTEGER)",
"role": "system"
},
{
"content": "What is the lowest number of drawn games by a team?",
"role": "user"
},
{
"content": "SELECT MIN(drawn) FROM table_28201906_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_28201906_1 (drawn INTEGER)<|im_end|>
<|im_start|>user
What is the lowest number of drawn games by a team?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_45 (place VARCHAR, to_par VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What is the Place of the Player with a To par of +3 and Score of 73-70-73=216?",
"role": "user"
},
{
"content": "SELECT place FROM table_name_45 WHERE to_par = \"+3\" AND score = 73 - 70 - 73 = 216",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (place VARCHAR, to_par VARCHAR, score VARCHAR)<|im_end|>
<|im_start|>user
What is the Place of the Player with a To par of +3 and Score of 73-70-73=216?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (result VARCHAR, week VARCHAR)",
"role": "system"
},
{
"content": "What was the score during week 16?",
"role": "user"
},
{
"content": "SELECT result FROM table_name_12 WHERE week = 16",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_12 (result VARCHAR, week VARCHAR)<|im_end|>
<|im_start|>user
What was the score during week 16?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_57 (nba_draft VARCHAR, school VARCHAR)",
"role": "system"
},
{
"content": "Which NBA draft has a School of huntington high school?",
"role": "user"
},
{
"content": "SELECT nba_draft FROM table_name_57 WHERE school = \"huntington high 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_57 (nba_draft VARCHAR, school VARCHAR)<|im_end|>
<|im_start|>user
Which NBA draft has a School of huntington high 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_11148572_1 (mls_cup_winner VARCHAR, mls_cup_runner_up VARCHAR)",
"role": "system"
},
{
"content": "What is the name of the shield winner in which the mls cup winner and mls cup runner up is colorado rapids?",
"role": "user"
},
{
"content": "SELECT mls_cup_winner FROM table_11148572_1 WHERE mls_cup_runner_up = \"Colorado Rapids\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_11148572_1 (mls_cup_winner VARCHAR, mls_cup_runner_up VARCHAR)<|im_end|>
<|im_start|>user
What is the name of the shield winner in which the mls cup winner and mls cup runner up is colorado rapids?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (producer VARCHAR, location VARCHAR)",
"role": "system"
},
{
"content": "What company is the producer at the poolavadi location",
"role": "user"
},
{
"content": "SELECT producer FROM table_name_99 WHERE location = \"poolavadi\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (producer VARCHAR, location VARCHAR)<|im_end|>
<|im_start|>user
What company is the producer at the poolavadi location<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)",
"role": "system"
},
{
"content": "Which constructor had laps amounting to more than 21 where the driver was John Surtees?",
"role": "user"
},
{
"content": "SELECT constructor FROM table_name_14 WHERE laps > 21 AND driver = \"john surtees\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)<|im_end|>
<|im_start|>user
Which constructor had laps amounting to more than 21 where the driver was John Surtees?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_21297652_1 (driver VARCHAR, series VARCHAR, winnings VARCHAR)",
"role": "system"
},
{
"content": "Which drivers won $40,000 in the NASCAR Winston Cup?",
"role": "user"
},
{
"content": "SELECT driver FROM table_21297652_1 WHERE series = \"NASCAR Winston Cup\" AND winnings = \"$40,000\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_21297652_1 (driver VARCHAR, series VARCHAR, winnings VARCHAR)<|im_end|>
<|im_start|>user
Which drivers won $40,000 in the NASCAR Winston Cup?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (engine VARCHAR, team VARCHAR, chassis VARCHAR)",
"role": "system"
},
{
"content": "Which Engine has a Team of Chesterfield Racing and include a Chassis of March 761?",
"role": "user"
},
{
"content": "SELECT engine FROM table_name_51 WHERE team = \"chesterfield racing\" AND chassis = \"march 761\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (engine VARCHAR, team VARCHAR, chassis VARCHAR)<|im_end|>
<|im_start|>user
Which Engine has a Team of Chesterfield Racing and include a Chassis of March 761?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (first_elected VARCHAR, party VARCHAR, district VARCHAR)",
"role": "system"
},
{
"content": "What is the First elected that has a republican party and california 4?",
"role": "user"
},
{
"content": "SELECT first_elected FROM table_name_4 WHERE party = \"republican\" AND district = \"california 4\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_4 (first_elected VARCHAR, party VARCHAR, district VARCHAR)<|im_end|>
<|im_start|>user
What is the First elected that has a republican party and california 4?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_86 (opponent VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "who is the opponent when the score is 7–5, 7–6 (8–6)?",
"role": "user"
},
{
"content": "SELECT opponent FROM table_name_86 WHERE score = \"7–5, 7–6 (8–6)\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_86 (opponent VARCHAR, score VARCHAR)<|im_end|>
<|im_start|>user
who is the opponent when the score is 7–5, 7–6 (8–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_50 (matches INTEGER, team VARCHAR, strike_rate VARCHAR)",
"role": "system"
},
{
"content": "What were the total number of matches played when the Deccan Chargers had a strike rate of 15.5?",
"role": "user"
},
{
"content": "SELECT MAX(matches) FROM table_name_50 WHERE team = \"deccan chargers\" AND strike_rate > 15.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_50 (matches INTEGER, team VARCHAR, strike_rate VARCHAR)<|im_end|>
<|im_start|>user
What were the total number of matches played when the Deccan Chargers had a strike rate of 15.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_59 (tournament VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "What tournament has an opponent jung jae-sung lee yong-dae?",
"role": "user"
},
{
"content": "SELECT tournament FROM table_name_59 WHERE opponent = \"jung jae-sung lee yong-dae\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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, opponent VARCHAR)<|im_end|>
<|im_start|>user
What tournament has an opponent jung jae-sung lee yong-dae?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (goals INTEGER, player VARCHAR, rank VARCHAR)",
"role": "system"
},
{
"content": "What is the highest number of goals for robbie findley ranked above 10?",
"role": "user"
},
{
"content": "SELECT MAX(goals) FROM table_name_37 WHERE player = \"robbie findley\" AND rank < 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_37 (goals INTEGER, player VARCHAR, rank VARCHAR)<|im_end|>
<|im_start|>user
What is the highest number of goals for robbie findley ranked above 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_77 (top_10 INTEGER, top_25 VARCHAR, top_5 VARCHAR, cuts_made VARCHAR)",
"role": "system"
},
{
"content": "What was the highest Top-10, when the Top-5 was greater than 3, when the Cuts made were 20, and when the Top-25 was more than 10?",
"role": "user"
},
{
"content": "SELECT MAX(top_10) FROM table_name_77 WHERE top_5 > 3 AND cuts_made = 20 AND top_25 > 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_77 (top_10 INTEGER, top_25 VARCHAR, top_5 VARCHAR, cuts_made VARCHAR)<|im_end|>
<|im_start|>user
What was the highest Top-10, when the Top-5 was greater than 3, when the Cuts made were 20, and when the Top-25 was more than 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 inst (name VARCHAR, instid VARCHAR); CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR); CREATE TABLE papers (paperid VARCHAR)",
"role": "system"
},
{
"content": "Find the name of the organization that has published the largest number of papers.",
"role": "user"
},
{
"content": "SELECT t1.name FROM inst AS t1 JOIN authorship AS t2 ON t1.instid = t2.instid JOIN papers AS t3 ON t2.paperid = t3.paperid GROUP BY t1.name 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 inst (name VARCHAR, instid VARCHAR); CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR); CREATE TABLE papers (paperid VARCHAR)<|im_end|>
<|im_start|>user
Find the name of the organization that has published the largest number of papers.<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (pick VARCHAR, draft VARCHAR, round VARCHAR, nationality VARCHAR)",
"role": "system"
},
{
"content": "What is the pick for round 8 with a USA nationality in the 2000 draft?",
"role": "user"
},
{
"content": "SELECT pick FROM table_name_72 WHERE round = \"8\" AND nationality = \"usa\" AND draft = 2000",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_72 (pick VARCHAR, draft VARCHAR, round VARCHAR, nationality VARCHAR)<|im_end|>
<|im_start|>user
What is the pick for round 8 with a USA nationality in the 2000 draft?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_50 (score VARCHAR, loss VARCHAR)",
"role": "system"
},
{
"content": "What is the Score of the game with a Loss of Kiprusoff (2–2)?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_50 WHERE loss = \"kiprusoff (2–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_50 (score VARCHAR, loss VARCHAR)<|im_end|>
<|im_start|>user
What is the Score of the game with a Loss of Kiprusoff (2–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_40 (wins INTEGER, top_10 INTEGER)",
"role": "system"
},
{
"content": "What is the lowest Wins with a Top-10 that is larger than 9?",
"role": "user"
},
{
"content": "SELECT MIN(wins) FROM table_name_40 WHERE top_10 > 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_40 (wins INTEGER, top_10 INTEGER)<|im_end|>
<|im_start|>user
What is the lowest Wins with a Top-10 that is larger 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_26250145_1 (result VARCHAR, original_artist VARCHAR)",
"role": "system"
},
{
"content": "How many times is the original artist Alicia keys?",
"role": "user"
},
{
"content": "SELECT COUNT(result) FROM table_26250145_1 WHERE original_artist = \"Alicia Keys\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_26250145_1 (result VARCHAR, original_artist VARCHAR)<|im_end|>
<|im_start|>user
How many times is the original artist Alicia keys?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (date VARCHAR, decision VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "When is a Decision of osgood, and a Score of 6 – 7?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_76 WHERE decision = \"osgood\" AND score = \"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_76 (date VARCHAR, decision VARCHAR, score VARCHAR)<|im_end|>
<|im_start|>user
When is a Decision of osgood, and a Score of 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_21 (score VARCHAR, goal VARCHAR, result VARCHAR, competition VARCHAR)",
"role": "system"
},
{
"content": "Which Score has a Result of 2–1, and a Competition of friendly, and a Goal smaller than 17?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_21 WHERE result = \"2–1\" AND competition = \"friendly\" AND goal < 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_21 (score VARCHAR, goal VARCHAR, result VARCHAR, competition VARCHAR)<|im_end|>
<|im_start|>user
Which Score has a Result of 2–1, and a Competition of friendly, and a Goal smaller than 17?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_60 (lansing__lan_ VARCHAR, kalamazoo__azo_ VARCHAR)",
"role": "system"
},
{
"content": "What was the passenger fare for Lansing, when the passenger fare for Kalamazoo was $599.39?",
"role": "user"
},
{
"content": "SELECT lansing__lan_ FROM table_name_60 WHERE kalamazoo__azo_ = \"$599.39\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (lansing__lan_ VARCHAR, kalamazoo__azo_ VARCHAR)<|im_end|>
<|im_start|>user
What was the passenger fare for Lansing, when the passenger fare for Kalamazoo was $599.39?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (name VARCHAR, lane VARCHAR, time VARCHAR)",
"role": "system"
},
{
"content": "Who swam in a lane less than 6 and finished with a time of 2:11.02?",
"role": "user"
},
{
"content": "SELECT name FROM table_name_70 WHERE lane < 6 AND time = \"2:11.02\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (name VARCHAR, lane VARCHAR, time VARCHAR)<|im_end|>
<|im_start|>user
Who swam in a lane less than 6 and finished with a time of 2:11.02?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE actor (Character VARCHAR, Duration VARCHAR)",
"role": "system"
},
{
"content": "What are the characters and duration of actors?",
"role": "user"
},
{
"content": "SELECT Character, Duration FROM actor",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE actor (Character VARCHAR, Duration VARCHAR)<|im_end|>
<|im_start|>user
What are the characters and duration of actors?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE cinema (Id VARCHAR)",
"role": "system"
},
{
"content": "How many cinema do we have?",
"role": "user"
},
{
"content": "SELECT COUNT(*) FROM cinema",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE cinema (Id VARCHAR)<|im_end|>
<|im_start|>user
How many cinema do we 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 list (grade VARCHAR, classroom VARCHAR)",
"role": "system"
},
{
"content": "Find the grade studying in room 105.",
"role": "user"
},
{
"content": "SELECT DISTINCT grade FROM list WHERE classroom = 105",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE list (grade VARCHAR, classroom VARCHAR)<|im_end|>
<|im_start|>user
Find the grade studying in room 105.<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_24089503_1 (kentucky_oaks VARCHAR, belmont_stakes VARCHAR)",
"role": "system"
},
{
"content": "What was the Kentucky Oaks attendance the year the Belmont Stakes had 64,949 attendance?",
"role": "user"
},
{
"content": "SELECT kentucky_oaks FROM table_24089503_1 WHERE belmont_stakes = \"64,949\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_24089503_1 (kentucky_oaks VARCHAR, belmont_stakes VARCHAR)<|im_end|>
<|im_start|>user
What was the Kentucky Oaks attendance the year the Belmont Stakes had 64,949 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_23576576_2 (represented VARCHAR, hometown VARCHAR)",
"role": "system"
},
{
"content": "If the hometown is Windhoek, what is the represented?",
"role": "user"
},
{
"content": "SELECT represented FROM table_23576576_2 WHERE hometown = \"Windhoek\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_23576576_2 (represented VARCHAR, hometown VARCHAR)<|im_end|>
<|im_start|>user
If the hometown is Windhoek, what is the represented?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (image INTEGER, harrison VARCHAR, ashmolean VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest image with a 20w Harrison, and less than 20 for Ashmolean?",
"role": "user"
},
{
"content": "SELECT MIN(image) FROM table_name_51 WHERE harrison = \"20w\" AND ashmolean < 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_51 (image INTEGER, harrison VARCHAR, ashmolean VARCHAR)<|im_end|>
<|im_start|>user
What is the lowest image with a 20w Harrison, and less than 20 for Ashmolean?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_36 (position VARCHAR, round VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "Which Position has a Round larger than 10, and a Name of shawn mccarthy?",
"role": "user"
},
{
"content": "SELECT position FROM table_name_36 WHERE round > 10 AND name = \"shawn mccarthy\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_36 (position VARCHAR, round VARCHAR, name VARCHAR)<|im_end|>
<|im_start|>user
Which Position has a Round larger than 10, and a Name of shawn mccarthy?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (average_points_per_race_entered INTEGER, driver VARCHAR, entries VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest average points per race entered of driver kimi räikkönen, who has more than 194 entries?",
"role": "user"
},
{
"content": "SELECT MIN(average_points_per_race_entered) FROM table_name_3 WHERE driver = \"kimi räikkönen\" AND entries > 194",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (average_points_per_race_entered INTEGER, driver VARCHAR, entries VARCHAR)<|im_end|>
<|im_start|>user
What is the lowest average points per race entered of driver kimi räikkönen, who has more than 194 entries?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1341423_49 (first_elected INTEGER, incumbent VARCHAR)",
"role": "system"
},
{
"content": "When was the first election in the district whose incumbent is Ron Kind?",
"role": "user"
},
{
"content": "SELECT MIN(first_elected) FROM table_1341423_49 WHERE incumbent = \"Ron Kind\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_1341423_49 (first_elected INTEGER, incumbent VARCHAR)<|im_end|>
<|im_start|>user
When was the first election in the district whose incumbent is Ron Kind?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_88 (method VARCHAR, round VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "Round of 1, and a Record of 10–2 had what method?",
"role": "user"
},
{
"content": "SELECT method FROM table_name_88 WHERE round = \"1\" AND record = \"10–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_88 (method VARCHAR, round VARCHAR, record VARCHAR)<|im_end|>
<|im_start|>user
Round of 1, and a Record of 10–2 had what method?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_70 (country VARCHAR, place VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What is the country with a t7 place and a 69-68-72=209 score?",
"role": "user"
},
{
"content": "SELECT country FROM table_name_70 WHERE place = \"t7\" AND score = 69 - 68 - 72 = 209",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_70 (country VARCHAR, place VARCHAR, score VARCHAR)<|im_end|>
<|im_start|>user
What is the country with a t7 place and a 69-68-72=209 score?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_32 (position INTEGER, played INTEGER)",
"role": "system"
},
{
"content": "Which Position has a Played larger than 9?",
"role": "user"
},
{
"content": "SELECT SUM(position) FROM table_name_32 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_32 (position INTEGER, played INTEGER)<|im_end|>
<|im_start|>user
Which Position has a Played larger 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_8 (competition VARCHAR, year VARCHAR, notes VARCHAR)",
"role": "system"
},
{
"content": "What competition took place in a year later than 2009 with team notes?",
"role": "user"
},
{
"content": "SELECT competition FROM table_name_8 WHERE year > 2009 AND notes = \"team\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (competition VARCHAR, year VARCHAR, notes VARCHAR)<|im_end|>
<|im_start|>user
What competition took place in a year later than 2009 with team notes?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_16 (lane INTEGER, name VARCHAR)",
"role": "system"
},
{
"content": "What is the highest lane for nisha millet?",
"role": "user"
},
{
"content": "SELECT MAX(lane) FROM table_name_16 WHERE name = \"nisha millet\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (lane INTEGER, name VARCHAR)<|im_end|>
<|im_start|>user
What is the highest lane for nisha millet?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (method VARCHAR, round VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "Which Method has a Round of 1, and a Record of 4–2?",
"role": "user"
},
{
"content": "SELECT method FROM table_name_37 WHERE round = 1 AND record = \"4–2\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_37 (method VARCHAR, round VARCHAR, record VARCHAR)<|im_end|>
<|im_start|>user
Which Method has a Round of 1, and a Record of 4–2?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_71 (other_mozilla VARCHAR, safari VARCHAR)",
"role": "system"
},
{
"content": "What is the other mozilla that has 9.41% for the safari?",
"role": "user"
},
{
"content": "SELECT other_mozilla FROM table_name_71 WHERE safari = \"9.41%\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (other_mozilla VARCHAR, safari VARCHAR)<|im_end|>
<|im_start|>user
What is the other mozilla that has 9.41% for the safari?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_79 (ship VARCHAR, built VARCHAR)",
"role": "system"
},
{
"content": "What ship was built in 2012?",
"role": "user"
},
{
"content": "SELECT ship FROM table_name_79 WHERE built = 2012",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_79 (ship VARCHAR, built VARCHAR)<|im_end|>
<|im_start|>user
What ship was built in 2012?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_64 (school_club_team VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "Which School/Club Team does Andrew Jones play for?",
"role": "user"
},
{
"content": "SELECT school_club_team FROM table_name_64 WHERE player = \"andrew jones\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (school_club_team VARCHAR, player VARCHAR)<|im_end|>
<|im_start|>user
Which School/Club Team does Andrew Jones play 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_29535057_4 (challenge_leader VARCHAR, winner VARCHAR)",
"role": "system"
},
{
"content": "How many challenge leaders were there of the games won by virginia (87-79)?",
"role": "user"
},
{
"content": "SELECT COUNT(challenge_leader) FROM table_29535057_4 WHERE winner = \"Virginia (87-79)\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_29535057_4 (challenge_leader VARCHAR, winner VARCHAR)<|im_end|>
<|im_start|>user
How many challenge leaders were there of the games won by virginia (87-79)?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22384475_1 (match_date VARCHAR, winner VARCHAR)",
"role": "system"
},
{
"content": "What date did the West Indies win the match?",
"role": "user"
},
{
"content": "SELECT match_date FROM table_22384475_1 WHERE winner = \"West Indies\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_22384475_1 (match_date VARCHAR, winner VARCHAR)<|im_end|>
<|im_start|>user
What date did the West Indies win the match?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_75 (games INTEGER, points VARCHAR)",
"role": "system"
},
{
"content": "What's the total number of game that has 377 points?",
"role": "user"
},
{
"content": "SELECT SUM(games) FROM table_name_75 WHERE points = 377",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_75 (games INTEGER, points VARCHAR)<|im_end|>
<|im_start|>user
What's the total number of game that has 377 points?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_22 (date VARCHAR, opponents VARCHAR, h___a VARCHAR, league_position VARCHAR)",
"role": "system"
},
{
"content": "What date was the game against manchester city when they had a league position of 2nd?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_22 WHERE h___a = \"a\" AND league_position = \"2nd\" AND opponents = \"manchester 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_22 (date VARCHAR, opponents VARCHAR, h___a VARCHAR, league_position VARCHAR)<|im_end|>
<|im_start|>user
What date was the game against manchester city when they had a league position of 2nd?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (team VARCHAR, run_3 VARCHAR)",
"role": "system"
},
{
"content": "Which team has run 3 of 1:20.77?",
"role": "user"
},
{
"content": "SELECT team FROM table_name_18 WHERE run_3 = \"1:20.77\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_18 (team VARCHAR, run_3 VARCHAR)<|im_end|>
<|im_start|>user
Which team has run 3 of 1:20.77?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15463188_16 (number VARCHAR, acquisition_via VARCHAR)",
"role": "system"
},
{
"content": "Name the number when acquisition via far eastern",
"role": "user"
},
{
"content": "SELECT number FROM table_15463188_16 WHERE acquisition_via = \"Far Eastern\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_15463188_16 (number VARCHAR, acquisition_via VARCHAR)<|im_end|>
<|im_start|>user
Name the number when acquisition via far eastern<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_12161822_5 (fastest_lap VARCHAR, grand_prix VARCHAR)",
"role": "system"
},
{
"content": "who is the the fastest lap with grand prix being european grand prix",
"role": "user"
},
{
"content": "SELECT fastest_lap FROM table_12161822_5 WHERE grand_prix = \"European 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_12161822_5 (fastest_lap VARCHAR, grand_prix VARCHAR)<|im_end|>
<|im_start|>user
who is the the fastest lap with grand prix being european 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_27 (sign_in_bicker VARCHAR, location VARCHAR)",
"role": "system"
},
{
"content": "What is the Sign-in/Bicker at wash50 on washington rd?",
"role": "user"
},
{
"content": "SELECT sign_in_bicker FROM table_name_27 WHERE location = \"wash50 on washington rd\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (sign_in_bicker VARCHAR, location VARCHAR)<|im_end|>
<|im_start|>user
What is the Sign-in/Bicker at wash50 on washington rd?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (record VARCHAR, time VARCHAR)",
"role": "system"
},
{
"content": "Who holds the record time of 24.521 and where was it made?",
"role": "user"
},
{
"content": "SELECT record FROM table_name_12 WHERE time = \"24.521\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (record VARCHAR, time VARCHAR)<|im_end|>
<|im_start|>user
Who holds the record time of 24.521 and where was it made?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_27274566_2 (date VARCHAR, home_team VARCHAR, result VARCHAR)",
"role": "system"
},
{
"content": "How many dates are shown for the home team of orlando pirates and result of 1–3?",
"role": "user"
},
{
"content": "SELECT COUNT(date) FROM table_27274566_2 WHERE home_team = \"Orlando Pirates\" AND result = \"1–3\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_27274566_2 (date VARCHAR, home_team VARCHAR, result VARCHAR)<|im_end|>
<|im_start|>user
How many dates are shown for the home team of orlando pirates and result of 1–3?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_81 (high_points VARCHAR, game VARCHAR)",
"role": "system"
},
{
"content": "What is High Points, when Game is \"3\"?",
"role": "user"
},
{
"content": "SELECT high_points FROM table_name_81 WHERE game = 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_81 (high_points VARCHAR, game VARCHAR)<|im_end|>
<|im_start|>user
What is High Points, when Game is "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_27 (score VARCHAR, place VARCHAR, country VARCHAR)",
"role": "system"
},
{
"content": "What was sweden's score in T9 place?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_27 WHERE place = \"t9\" AND country = \"sweden\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_27 (score VARCHAR, place VARCHAR, country VARCHAR)<|im_end|>
<|im_start|>user
What was sweden's score in T9 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_67 (attendance VARCHAR, result VARCHAR, year VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "What's the total attendance at anaheim stadium after 1983 when the result is 14-28?",
"role": "user"
},
{
"content": "SELECT COUNT(attendance) FROM table_name_67 WHERE year > 1983 AND venue = \"anaheim stadium\" AND result = \"14-28\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_67 (attendance VARCHAR, result VARCHAR, year VARCHAR, venue VARCHAR)<|im_end|>
<|im_start|>user
What's the total attendance at anaheim stadium after 1983 when the result is 14-28?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_13 (top_division_titles INTEGER, position_in_2012 VARCHAR)",
"role": "system"
},
{
"content": "What is the largest number of top division titles with a 2012 position of 10th?",
"role": "user"
},
{
"content": "SELECT MAX(top_division_titles) FROM table_name_13 WHERE position_in_2012 = \"10th\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (top_division_titles INTEGER, position_in_2012 VARCHAR)<|im_end|>
<|im_start|>user
What is the largest number of top division titles with a 2012 position of 10th?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (release_price___usd__ VARCHAR, model_number VARCHAR)",
"role": "system"
},
{
"content": "What was the release price of the Atom Z510PT processor?",
"role": "user"
},
{
"content": "SELECT release_price___usd__ FROM table_name_53 WHERE model_number = \"atom z510pt\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (release_price___usd__ VARCHAR, model_number VARCHAR)<|im_end|>
<|im_start|>user
What was the release price of the Atom Z510PT processor?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (league VARCHAR, finish VARCHAR, losses VARCHAR)",
"role": "system"
},
{
"content": "What league had a finish of 2nd and 3 losses?",
"role": "user"
},
{
"content": "SELECT league FROM table_name_74 WHERE finish = \"2nd\" AND losses = 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_74 (league VARCHAR, finish VARCHAR, losses VARCHAR)<|im_end|>
<|im_start|>user
What league had a finish of 2nd and 3 losses?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_18 (fastest_lap VARCHAR, winning_driver VARCHAR)",
"role": "system"
},
{
"content": "When Michael Schumacher won the race, who had the fastest lap?",
"role": "user"
},
{
"content": "SELECT fastest_lap FROM table_name_18 WHERE winning_driver = \"michael schumacher\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (fastest_lap VARCHAR, winning_driver VARCHAR)<|im_end|>
<|im_start|>user
When Michael Schumacher won the race, who had the fastest lap?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_27712702_7 (high_assists VARCHAR, game VARCHAR)",
"role": "system"
},
{
"content": "Who had high assists in game number 9?",
"role": "user"
},
{
"content": "SELECT high_assists FROM table_27712702_7 WHERE game = 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_27712702_7 (high_assists VARCHAR, game VARCHAR)<|im_end|>
<|im_start|>user
Who had high assists in game number 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_34 (population__2009_estimate_ VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "What is the 2009 estimate population of the Northeast?",
"role": "user"
},
{
"content": "SELECT population__2009_estimate_ FROM table_name_34 WHERE name = \"northeast\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (population__2009_estimate_ VARCHAR, name VARCHAR)<|im_end|>
<|im_start|>user
What is the 2009 estimate population of the Northeast?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (school VARCHAR, year_joined VARCHAR, mascot VARCHAR)",
"role": "system"
},
{
"content": "Which School has a Year Joined larger than 1926, and a Mascot of vikings?",
"role": "user"
},
{
"content": "SELECT school FROM table_name_86 WHERE year_joined > 1926 AND mascot = \"vikings\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (school VARCHAR, year_joined VARCHAR, mascot VARCHAR)<|im_end|>
<|im_start|>user
Which School has a Year Joined larger than 1926, and a Mascot of vikings?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (written_by VARCHAR, original_air_date VARCHAR)",
"role": "system"
},
{
"content": "What is the name of the writer for the episode with an Original air date of october 9, 2000?",
"role": "user"
},
{
"content": "SELECT written_by FROM table_name_71 WHERE original_air_date = \"october 9, 2000\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_71 (written_by VARCHAR, original_air_date VARCHAR)<|im_end|>
<|im_start|>user
What is the name of the writer for the episode with an Original air date of october 9, 2000?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23916462_3 (attendance VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "How many values for attendance on the date of August 26?",
"role": "user"
},
{
"content": "SELECT COUNT(attendance) FROM table_23916462_3 WHERE date = \"August 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_23916462_3 (attendance VARCHAR, date VARCHAR)<|im_end|>
<|im_start|>user
How many values for attendance on the date of August 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_12338595_1 (swimsuit VARCHAR, state VARCHAR)",
"role": "system"
},
{
"content": "What swimsuit score did the state of Virginia contestant achieve?",
"role": "user"
},
{
"content": "SELECT COUNT(swimsuit) FROM table_12338595_1 WHERE state = \"Virginia\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_12338595_1 (swimsuit VARCHAR, state VARCHAR)<|im_end|>
<|im_start|>user
What swimsuit score did the state of Virginia contestant achieve?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_261927_1 (enrollment VARCHAR, colors VARCHAR)",
"role": "system"
},
{
"content": "What is the enrollment for the colors green & black?",
"role": "user"
},
{
"content": "SELECT enrollment FROM table_261927_1 WHERE colors = \"Green & Black\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_261927_1 (enrollment VARCHAR, colors VARCHAR)<|im_end|>
<|im_start|>user
What is the enrollment for the colors green & black?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (weight VARCHAR, power VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "Which Weight has a Power of kw (hp) at 1,800rpm, and a Name of 9 nc?",
"role": "user"
},
{
"content": "SELECT weight FROM table_name_98 WHERE power = \"kw (hp) at 1,800rpm\" AND name = \"9 nc\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (weight VARCHAR, power VARCHAR, name VARCHAR)<|im_end|>
<|im_start|>user
Which Weight has a Power of kw (hp) at 1,800rpm, and a Name of 9 nc?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_20 (rank INTEGER, name VARCHAR, goals VARCHAR)",
"role": "system"
},
{
"content": "What is the highest rank for Nat Lofthouse, and goals more than 255?",
"role": "user"
},
{
"content": "SELECT MAX(rank) FROM table_name_20 WHERE name = \"nat lofthouse\" AND goals > 255",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_20 (rank INTEGER, name VARCHAR, goals VARCHAR)<|im_end|>
<|im_start|>user
What is the highest rank for Nat Lofthouse, and goals more than 255?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (time VARCHAR, country VARCHAR)",
"role": "system"
},
{
"content": "What is the time for the race with the United States?",
"role": "user"
},
{
"content": "SELECT time FROM table_name_63 WHERE country = \"united states\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (time VARCHAR, country VARCHAR)<|im_end|>
<|im_start|>user
What is the time for the race with the United States?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE country (Code VARCHAR, Name VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR)",
"role": "system"
},
{
"content": "What is the total number of languages used in Aruba?",
"role": "user"
},
{
"content": "SELECT COUNT(T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Aruba\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE country (Code VARCHAR, Name VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR)<|im_end|>
<|im_start|>user
What is the total number of languages used in Aruba?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1473672_7 (pick__number INTEGER, player VARCHAR)",
"role": "system"
},
{
"content": "Serge Beaudoin was drafted when in the 1972 NHL draft",
"role": "user"
},
{
"content": "SELECT MIN(pick__number) FROM table_1473672_7 WHERE player = \"Serge Beaudoin\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_1473672_7 (pick__number INTEGER, player VARCHAR)<|im_end|>
<|im_start|>user
Serge Beaudoin was drafted when in the 1972 NHL draft<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23242950_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)",
"role": "system"
},
{
"content": "What's the production code of the episode seen by 7.49 million people in the US?",
"role": "user"
},
{
"content": "SELECT production_code FROM table_23242950_1 WHERE us_viewers__millions_ = \"7.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_23242950_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)<|im_end|>
<|im_start|>user
What's the production code of the episode seen by 7.49 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_87 (label VARCHAR, catalog VARCHAR)",
"role": "system"
},
{
"content": "What is the Label of the release with Catalog number LPM-2899?",
"role": "user"
},
{
"content": "SELECT label FROM table_name_87 WHERE catalog = \"lpm-2899\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_87 (label VARCHAR, catalog VARCHAR)<|im_end|>
<|im_start|>user
What is the Label of the release with Catalog number LPM-2899?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1876825_5 (written_by VARCHAR, no_in_series VARCHAR)",
"role": "system"
},
{
"content": "Who wrote episode 74?",
"role": "user"
},
{
"content": "SELECT written_by FROM table_1876825_5 WHERE no_in_series = 74",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_1876825_5 (written_by VARCHAR, no_in_series VARCHAR)<|im_end|>
<|im_start|>user
Who wrote episode 74?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (silver INTEGER, bronze INTEGER)",
"role": "system"
},
{
"content": "What's the average number of silver medals when bronze is less than 0?",
"role": "user"
},
{
"content": "SELECT AVG(silver) FROM table_name_86 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_86 (silver INTEGER, bronze INTEGER)<|im_end|>
<|im_start|>user
What's the average number of silver medals when bronze is less 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_63 (round INTEGER, pick VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What round was jerry corcoran drafted in as pick number 114?",
"role": "user"
},
{
"content": "SELECT MAX(round) FROM table_name_63 WHERE pick > 114 AND player = \"jerry corcoran\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (round INTEGER, pick VARCHAR, player VARCHAR)<|im_end|>
<|im_start|>user
What round was jerry corcoran drafted in as pick number 114?<|im_end|>
|
[
{
"content": "You are an text to SQL query 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 (reward VARCHAR, immunity VARCHAR, finish VARCHAR)",
"role": "system"
},
{
"content": "What was the reward when immunity went to martin and finish is 13th voted out 8th jury member day 46?",
"role": "user"
},
{
"content": "SELECT reward FROM table_25016824_2 WHERE immunity = \"Martin\" AND finish = \"13th voted Out 8th Jury Member Day 46\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_25016824_2 (reward VARCHAR, immunity VARCHAR, finish VARCHAR)<|im_end|>
<|im_start|>user
What was the reward when immunity went to martin and finish is 13th voted out 8th jury member day 46?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_26847237_3 (home_team VARCHAR, opposition VARCHAR)",
"role": "system"
},
{
"content": "what is the home team when the opposition is east coast?",
"role": "user"
},
{
"content": "SELECT home_team FROM table_26847237_3 WHERE opposition = \"East Coast\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_26847237_3 (home_team VARCHAR, opposition VARCHAR)<|im_end|>
<|im_start|>user
what is the home team when the opposition is east coast?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (venue VARCHAR, away_team VARCHAR)",
"role": "system"
},
{
"content": "What is the venue when melbourne is the away team?",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_25 WHERE away_team = \"melbourne\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (venue VARCHAR, away_team VARCHAR)<|im_end|>
<|im_start|>user
What is the venue when melbourne is the away team?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_40 (to_par VARCHAR, year_s__won VARCHAR)",
"role": "system"
},
{
"content": "What is the to par number of the person who won in 2003?",
"role": "user"
},
{
"content": "SELECT to_par FROM table_name_40 WHERE year_s__won = \"2003\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (to_par VARCHAR, year_s__won VARCHAR)<|im_end|>
<|im_start|>user
What is the to par number of the person who won in 2003?<|im_end|>
|
[
{
"content": "You are an text to SQL query 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_4 (no_in_series INTEGER, production_code VARCHAR)",
"role": "system"
},
{
"content": "what i the maximum number in the series where the production code is 3wab07?",
"role": "user"
},
{
"content": "SELECT MAX(no_in_series) FROM table_20726262_4 WHERE production_code = \"3WAB07\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query 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_4 (no_in_series INTEGER, production_code VARCHAR)<|im_end|>
<|im_start|>user
what i the maximum number in the series where the production code is 3wab07?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (year VARCHAR, wins VARCHAR)",
"role": "system"
},
{
"content": "What year has 2 wins?",
"role": "user"
},
{
"content": "SELECT year FROM table_name_59 WHERE wins = \"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_59 (year VARCHAR, wins VARCHAR)<|im_end|>
<|im_start|>user
What year has 2 wins?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_56 (vessel_name VARCHAR, built VARCHAR, class VARCHAR, flag VARCHAR, type VARCHAR)",
"role": "system"
},
{
"content": "What is the name of the Malta vessel built after 2010 that is a GL class Panamax vessel?",
"role": "user"
},
{
"content": "SELECT vessel_name FROM table_name_56 WHERE flag = \"malta\" AND type = \"panamax\" AND class = \"gl\" AND built > 2010",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_56 (vessel_name VARCHAR, built VARCHAR, class VARCHAR, flag VARCHAR, type VARCHAR)<|im_end|>
<|im_start|>user
What is the name of the Malta vessel built after 2010 that is a GL class Panamax vessel?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1566852_8 (centerfold_model VARCHAR, pictorials VARCHAR)",
"role": "system"
},
{
"content": "Who was the centerfold model when the issue's pictorial was amanda beard, reby sky , girls of montauk ?",
"role": "user"
},
{
"content": "SELECT centerfold_model FROM table_1566852_8 WHERE pictorials = \"Amanda Beard, Reby Sky , Girls of Montauk\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_1566852_8 (centerfold_model VARCHAR, pictorials VARCHAR)<|im_end|>
<|im_start|>user
Who was the centerfold model when the issue's pictorial was amanda beard, reby sky , girls of montauk ?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15187735_19 (segment_a VARCHAR, episode VARCHAR)",
"role": "system"
},
{
"content": "What is the segment A on episode 237?",
"role": "user"
},
{
"content": "SELECT segment_a FROM table_15187735_19 WHERE episode = 237",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_15187735_19 (segment_a VARCHAR, episode VARCHAR)<|im_end|>
<|im_start|>user
What is the segment A on episode 237?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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, week VARCHAR, result VARCHAR)",
"role": "system"
},
{
"content": "What was the record at the game with a result of W 13-12 after week 4?",
"role": "user"
},
{
"content": "SELECT record FROM table_name_10 WHERE week > 4 AND result = \"w 13-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_10 (record VARCHAR, week VARCHAR, result VARCHAR)<|im_end|>
<|im_start|>user
What was the record at the game with a result of W 13-12 after week 4?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_83 (date__closing_ VARCHAR, year INTEGER)",
"role": "system"
},
{
"content": "What is Date (Closing), when Year is greater than 2011?",
"role": "user"
},
{
"content": "SELECT date__closing_ FROM table_name_83 WHERE year > 2011",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_83 (date__closing_ VARCHAR, year INTEGER)<|im_end|>
<|im_start|>user
What is Date (Closing), when Year is greater than 2011?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_81 (tyre VARCHAR, circuit VARCHAR)",
"role": "system"
},
{
"content": "What tyre was used in Kyalami?",
"role": "user"
},
{
"content": "SELECT tyre FROM table_name_81 WHERE circuit = \"kyalami\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (tyre VARCHAR, circuit VARCHAR)<|im_end|>
<|im_start|>user
What tyre was used in Kyalami?<|im_end|>
|