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_83 (player VARCHAR, total VARCHAR, to_par VARCHAR)",
"role": "system"
},
{
"content": "What is Player, when Total is greater than 148, and when To Par is \"12\"?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_83 WHERE total > 148 AND to_par = 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_83 (player VARCHAR, total VARCHAR, to_par VARCHAR)<|im_end|>
<|im_start|>user
What is Player, when Total is greater than 148, and when To Par is "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_14 (number VARCHAR, party VARCHAR, président VARCHAR)",
"role": "system"
},
{
"content": "What number corresponds to Presidet Yves Krattinger of the Socialist party?",
"role": "user"
},
{
"content": "SELECT number FROM table_name_14 WHERE party = \"socialist party\" AND président = \"yves krattinger\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (number VARCHAR, party VARCHAR, président VARCHAR)<|im_end|>
<|im_start|>user
What number corresponds to Presidet Yves Krattinger of the Socialist party?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_12 (opponents VARCHAR, round VARCHAR)",
"role": "system"
},
{
"content": "Who is the opponent(s) in round 6?",
"role": "user"
},
{
"content": "SELECT opponents FROM table_name_12 WHERE round = \"round 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_12 (opponents VARCHAR, round VARCHAR)<|im_end|>
<|im_start|>user
Who is the opponent(s) in round 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_89 (attendance INTEGER, date VARCHAR)",
"role": "system"
},
{
"content": "What's greatest attendance on May 7?",
"role": "user"
},
{
"content": "SELECT MAX(attendance) FROM table_name_89 WHERE date = \"may 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_89 (attendance INTEGER, date VARCHAR)<|im_end|>
<|im_start|>user
What's greatest attendance on May 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_1342292_45 (party VARCHAR, first_elected VARCHAR)",
"role": "system"
},
{
"content": "How many incumbents were first elected in 1930?",
"role": "user"
},
{
"content": "SELECT COUNT(party) FROM table_1342292_45 WHERE first_elected = 1930",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_1342292_45 (party VARCHAR, first_elected VARCHAR)<|im_end|>
<|im_start|>user
How many incumbents were first elected in 1930?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (lost INTEGER, name VARCHAR, played VARCHAR)",
"role": "system"
},
{
"content": "Which Lost is the lowest one that has a Name of esc holzkirchen, and Played smaller than 14?",
"role": "user"
},
{
"content": "SELECT MIN(lost) FROM table_name_79 WHERE name = \"esc holzkirchen\" AND played < 14",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (lost INTEGER, name VARCHAR, played VARCHAR)<|im_end|>
<|im_start|>user
Which Lost is the lowest one that has a Name of esc holzkirchen, and Played smaller than 14?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_21 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)",
"role": "system"
},
{
"content": "Tell me the sum of laps with a time/retired of +13 laps with grid more than 18",
"role": "user"
},
{
"content": "SELECT SUM(laps) FROM table_name_21 WHERE time_retired = \"+13 laps\" AND grid > 18",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)<|im_end|>
<|im_start|>user
Tell me the sum of laps with a time/retired of +13 laps with grid more than 18<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_89 (episode__number INTEGER, viewers__millions_ VARCHAR, rating VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest numbered episode that had a rating/share of 0.9/4 and more than 3.79 million viewers?",
"role": "user"
},
{
"content": "SELECT MIN(episode__number) FROM table_name_89 WHERE rating / SHARE(18 AS –49) = 0.9 / 4 AND viewers__millions_ > 3.79",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_89 (episode__number INTEGER, viewers__millions_ VARCHAR, rating VARCHAR)<|im_end|>
<|im_start|>user
What is the lowest numbered episode that had a rating/share of 0.9/4 and more than 3.79 million viewers?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_59 (attendance INTEGER, score VARCHAR, away VARCHAR)",
"role": "system"
},
{
"content": "What is the highest attendance of the match with a 2:0 score and vida as the away team?",
"role": "user"
},
{
"content": "SELECT MAX(attendance) FROM table_name_59 WHERE score = \"2:0\" AND away = \"vida\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (attendance INTEGER, score VARCHAR, away VARCHAR)<|im_end|>
<|im_start|>user
What is the highest attendance of the match with a 2:0 score and vida as 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_64 (podiums INTEGER, position VARCHAR, wins VARCHAR)",
"role": "system"
},
{
"content": "What is the average number of podiums in the 32nd position with less than 0 wins?",
"role": "user"
},
{
"content": "SELECT AVG(podiums) FROM table_name_64 WHERE position = \"32nd\" AND wins < 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_64 (podiums INTEGER, position VARCHAR, wins VARCHAR)<|im_end|>
<|im_start|>user
What is the average number of podiums in the 32nd position with less than 0 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_68 (crowd INTEGER, home_team VARCHAR)",
"role": "system"
},
{
"content": "What was the lowest attendance at a Fitzroy match?",
"role": "user"
},
{
"content": "SELECT MIN(crowd) FROM table_name_68 WHERE home_team = \"fitzroy\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_68 (crowd INTEGER, home_team VARCHAR)<|im_end|>
<|im_start|>user
What was the lowest attendance at a Fitzroy 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_21 (top_25 INTEGER, tournament VARCHAR, top_5 VARCHAR)",
"role": "system"
},
{
"content": "Name the sum of top-25 for pga championship and top-5 less than 1",
"role": "user"
},
{
"content": "SELECT SUM(top_25) FROM table_name_21 WHERE tournament = \"pga championship\" AND top_5 < 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_21 (top_25 INTEGER, tournament VARCHAR, top_5 VARCHAR)<|im_end|>
<|im_start|>user
Name the sum of top-25 for pga championship and top-5 less than 1<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_11 (date VARCHAR, visitor VARCHAR, attendance VARCHAR)",
"role": "system"
},
{
"content": "What is the date of the game where the vistor team was the Knicks and more than 18,165 were in attendance?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_11 WHERE visitor = \"knicks\" AND attendance > 18 OFFSET 165",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_11 (date VARCHAR, visitor VARCHAR, attendance VARCHAR)<|im_end|>
<|im_start|>user
What is the date of the game where the vistor team was the Knicks and more than 18,165 were in attendance?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_27383390_4 (date_of_appointment VARCHAR, position_in_table VARCHAR)",
"role": "system"
},
{
"content": "When is the date of appointment when the position in table is 16?",
"role": "user"
},
{
"content": "SELECT date_of_appointment FROM table_27383390_4 WHERE position_in_table = 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_27383390_4 (date_of_appointment VARCHAR, position_in_table VARCHAR)<|im_end|>
<|im_start|>user
When is the date of appointment when the position in table is 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_2486023_1 (mixed_doubles VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "Who played Mixed Doubles in 1991?",
"role": "user"
},
{
"content": "SELECT mixed_doubles FROM table_2486023_1 WHERE year = 1991",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_2486023_1 (mixed_doubles VARCHAR, year VARCHAR)<|im_end|>
<|im_start|>user
Who played Mixed Doubles in 1991?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Staff (first_name VARCHAR)",
"role": "system"
},
{
"content": "How many staff have the first name Ludie?",
"role": "user"
},
{
"content": "SELECT COUNT(*) FROM Staff WHERE first_name = \"Ludie\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE Staff (first_name VARCHAR)<|im_end|>
<|im_start|>user
How many staff have the first name Ludie?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (release_date VARCHAR, frequency VARCHAR)",
"role": "system"
},
{
"content": "What's the release date of the processor with 2.8 ghz of frequency?",
"role": "user"
},
{
"content": "SELECT release_date FROM table_name_77 WHERE frequency = \"2.8 ghz\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (release_date VARCHAR, frequency VARCHAR)<|im_end|>
<|im_start|>user
What's the release date of the processor with 2.8 ghz of frequency?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_1 (to_par VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What's the to par score in T8 place from Zimbabwe and has a score of 73-68=141?",
"role": "user"
},
{
"content": "SELECT to_par FROM table_name_1 WHERE place = \"t8\" AND score = 73 - 68 = 141 AND country = \"zimbabwe\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_1 (to_par VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)<|im_end|>
<|im_start|>user
What's the to par score in T8 place from Zimbabwe and has a score of 73-68=141?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_65 (rank VARCHAR, event VARCHAR)",
"role": "system"
},
{
"content": "What is Rank, when Event is \"LAPT3 Punta Del Este\"?",
"role": "user"
},
{
"content": "SELECT rank FROM table_name_65 WHERE event = \"lapt3 punta del este\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_65 (rank VARCHAR, event VARCHAR)<|im_end|>
<|im_start|>user
What is Rank, when Event is "LAPT3 Punta Del Este"?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (bowl_game VARCHAR, conference_matchups VARCHAR)",
"role": "system"
},
{
"content": "Which bowl game had a conference matchup of Ohio State vs. Texas?",
"role": "user"
},
{
"content": "SELECT bowl_game FROM table_name_77 WHERE conference_matchups = \"ohio state vs. texas\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (bowl_game VARCHAR, conference_matchups VARCHAR)<|im_end|>
<|im_start|>user
Which bowl game had a conference matchup of Ohio State vs. Texas?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (score VARCHAR, country VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "Name the Score of jack nicklaus, united states, ?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_13 WHERE country = \"united states\" AND player = \"jack nicklaus\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (score VARCHAR, country VARCHAR, player VARCHAR)<|im_end|>
<|im_start|>user
Name the Score of jack nicklaus, 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 table_name_37 (race_name VARCHAR, circuit VARCHAR)",
"role": "system"
},
{
"content": "What is the name of the race for which the circuit was Snetterton?",
"role": "user"
},
{
"content": "SELECT race_name FROM table_name_37 WHERE circuit = \"snetterton\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (race_name VARCHAR, circuit VARCHAR)<|im_end|>
<|im_start|>user
What is the name of the race for which the circuit was Snetterton?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (rider VARCHAR, grid VARCHAR)",
"role": "system"
},
{
"content": "Who has 37 grids?",
"role": "user"
},
{
"content": "SELECT rider FROM table_name_36 WHERE grid = 37",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_36 (rider VARCHAR, grid VARCHAR)<|im_end|>
<|im_start|>user
Who has 37 grids?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1670921_1 (fielding_team VARCHAR, wicket VARCHAR)",
"role": "system"
},
{
"content": "Which team is 9th in wickets?",
"role": "user"
},
{
"content": "SELECT fielding_team FROM table_1670921_1 WHERE wicket = \"9th\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_1670921_1 (fielding_team VARCHAR, wicket VARCHAR)<|im_end|>
<|im_start|>user
Which team is 9th in wickets?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (date VARCHAR, result VARCHAR)",
"role": "system"
},
{
"content": "What date had a result of 8-0?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_40 WHERE result = \"8-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_40 (date VARCHAR, result VARCHAR)<|im_end|>
<|im_start|>user
What date had a result of 8-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 country (Name VARCHAR, Continent VARCHAR, population INTEGER)",
"role": "system"
},
{
"content": "What are the African countries that have a population less than any country in Asia?",
"role": "user"
},
{
"content": "SELECT Name FROM country WHERE Continent = \"Africa\" AND population < (SELECT MAX(population) FROM country WHERE Continent = \"Asia\")",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL 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 (Name VARCHAR, Continent VARCHAR, population INTEGER)<|im_end|>
<|im_start|>user
What are the African countries that have a population less than any country in Asia?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Tourist_Attractions (How_to_Get_There VARCHAR)",
"role": "system"
},
{
"content": "Show the transportation method most people choose to get to tourist attractions.",
"role": "user"
},
{
"content": "SELECT How_to_Get_There FROM Tourist_Attractions GROUP BY How_to_Get_There 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 Tourist_Attractions (How_to_Get_There VARCHAR)<|im_end|>
<|im_start|>user
Show the transportation method most people choose to get to tourist attractions.<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_37 (date_of_vacancy VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "What is Aberdeen team's date of vacancy?",
"role": "user"
},
{
"content": "SELECT date_of_vacancy FROM table_name_37 WHERE team = \"aberdeen\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_37 (date_of_vacancy VARCHAR, team VARCHAR)<|im_end|>
<|im_start|>user
What is Aberdeen team's date of vacancy?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_94 (catalog VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What is the catalog of the record released on May 27, 2009?",
"role": "user"
},
{
"content": "SELECT catalog FROM table_name_94 WHERE date = \"may 27, 2009\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_94 (catalog VARCHAR, date VARCHAR)<|im_end|>
<|im_start|>user
What is the catalog of the record released on May 27, 2009?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_99 (date_made VARCHAR, fleet_numbers VARCHAR)",
"role": "system"
},
{
"content": "What is the date made that has an associated fleet number of 4?",
"role": "user"
},
{
"content": "SELECT date_made FROM table_name_99 WHERE fleet_numbers = \"4\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_99 (date_made VARCHAR, fleet_numbers VARCHAR)<|im_end|>
<|im_start|>user
What is the date made that has an associated fleet number of 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_74 (played VARCHAR, position VARCHAR, drawn VARCHAR, points VARCHAR)",
"role": "system"
},
{
"content": "How many games were played by the team with 2 draws, less than 16 points and a position higher than 5?",
"role": "user"
},
{
"content": "SELECT COUNT(played) FROM table_name_74 WHERE drawn = 2 AND points < 16 AND position > 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_74 (played VARCHAR, position VARCHAR, drawn VARCHAR, points VARCHAR)<|im_end|>
<|im_start|>user
How many games were played by the team with 2 draws, less than 16 points and a position higher 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_1 (term_of_office VARCHAR, electorate VARCHAR)",
"role": "system"
},
{
"content": "What was the term of office for the electorate warringah?",
"role": "user"
},
{
"content": "SELECT term_of_office FROM table_name_1 WHERE electorate = \"warringah\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_1 (term_of_office VARCHAR, electorate VARCHAR)<|im_end|>
<|im_start|>user
What was the term of office for the electorate warringah?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table (battery___mah__ VARCHAR, nfc VARCHAR, weight VARCHAR)",
"role": "system"
},
{
"content": "If the weight is 126g and the NFC is yes, what is the battery (MAH)?",
"role": "user"
},
{
"content": "SELECT battery___mah__ FROM table WHERE nfc = \"Yes\" AND weight = \"126g\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table (battery___mah__ VARCHAR, nfc VARCHAR, weight VARCHAR)<|im_end|>
<|im_start|>user
If the weight is 126g and the NFC is yes, what is the battery (MAH)?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1147705_1 (engine_displacement VARCHAR, engine_type VARCHAR)",
"role": "system"
},
{
"content": "What is the engine displacement for the engine type b5254 t?",
"role": "user"
},
{
"content": "SELECT engine_displacement FROM table_1147705_1 WHERE engine_type = \"B5254 T\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_1147705_1 (engine_displacement VARCHAR, engine_type VARCHAR)<|im_end|>
<|im_start|>user
What is the engine displacement for the engine type b5254 t?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2668367_13 (result VARCHAR, incumbent VARCHAR)",
"role": "system"
},
{
"content": "What was the result in the district represented by Thomas R. Gold?",
"role": "user"
},
{
"content": "SELECT result FROM table_2668367_13 WHERE incumbent = \"Thomas R. Gold\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_2668367_13 (result VARCHAR, incumbent VARCHAR)<|im_end|>
<|im_start|>user
What was the result in the district represented by Thomas R. Gold?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (time VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What is the Time with a Score that is 46-82?",
"role": "user"
},
{
"content": "SELECT time FROM table_name_17 WHERE score = \"46-82\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (time VARCHAR, score VARCHAR)<|im_end|>
<|im_start|>user
What is the Time with a Score that is 46-82?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1310499_1 (rev VARCHAR, application VARCHAR)",
"role": "system"
},
{
"content": "What is the rev of the 2003-2004 Mustang Cobra?",
"role": "user"
},
{
"content": "SELECT rev FROM table_1310499_1 WHERE application = \"2003-2004 Mustang Cobra\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_1310499_1 (rev VARCHAR, application VARCHAR)<|im_end|>
<|im_start|>user
What is the rev of the 2003-2004 Mustang Cobra?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_6 (date VARCHAR, margin_of_victory VARCHAR)",
"role": "system"
},
{
"content": "What is the date of the 4 strokes margin of victory?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_6 WHERE margin_of_victory = \"4 strokes\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_6 (date VARCHAR, margin_of_victory VARCHAR)<|im_end|>
<|im_start|>user
What is the date of the 4 strokes margin of victory?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (result VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What was the result of the September 8, 1985 game?",
"role": "user"
},
{
"content": "SELECT result FROM table_name_3 WHERE date = \"september 8, 1985\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (result VARCHAR, date VARCHAR)<|im_end|>
<|im_start|>user
What was the result of the September 8, 1985 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_16729063_1 (pick__number INTEGER, player VARCHAR)",
"role": "system"
},
{
"content": "What draft pick was Chris Brewer?",
"role": "user"
},
{
"content": "SELECT MIN(pick__number) FROM table_16729063_1 WHERE player = \"Chris Brewer\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_16729063_1 (pick__number INTEGER, player VARCHAR)<|im_end|>
<|im_start|>user
What draft pick was Chris Brewer?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (venue VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What is the venue of the match with a score of 33-22?",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_45 WHERE score = \"33-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_45 (venue VARCHAR, score VARCHAR)<|im_end|>
<|im_start|>user
What is the venue of the match with a score of 33-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_name_48 (winning_driver VARCHAR, location VARCHAR)",
"role": "system"
},
{
"content": "Which winning driver is located in Imola?",
"role": "user"
},
{
"content": "SELECT winning_driver FROM table_name_48 WHERE location = \"imola\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_48 (winning_driver VARCHAR, location VARCHAR)<|im_end|>
<|im_start|>user
Which winning driver is located in Imola?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1137702_3 (round VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR)",
"role": "system"
},
{
"content": "Which round was the winning constructor was Benetton - Ford and in the Pole Position was Damon Hill?",
"role": "user"
},
{
"content": "SELECT round FROM table_1137702_3 WHERE winning_constructor = \"Benetton - Ford\" AND pole_position = \"Damon Hill\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_1137702_3 (round VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR)<|im_end|>
<|im_start|>user
Which round was the winning constructor was Benetton - Ford and in the Pole Position was Damon Hill?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15318324_1 (r_z___arcsecond__ VARCHAR, target_datum VARCHAR)",
"role": "system"
},
{
"content": "How many values of r z(arcsecond) are associated with a target datum of Ireland 1965?",
"role": "user"
},
{
"content": "SELECT r_z___arcsecond__ FROM table_15318324_1 WHERE target_datum = \"Ireland 1965\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_15318324_1 (r_z___arcsecond__ VARCHAR, target_datum VARCHAR)<|im_end|>
<|im_start|>user
How many values of r z(arcsecond) are associated with a target datum of Ireland 1965?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (leader_at_the_summit VARCHAR, year VARCHAR, finish VARCHAR)",
"role": "system"
},
{
"content": "Who was the leader at the summit earlier than 1956, when Carcassonne shows for finish?",
"role": "user"
},
{
"content": "SELECT leader_at_the_summit FROM table_name_82 WHERE year < 1956 AND finish = \"carcassonne\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (leader_at_the_summit VARCHAR, year VARCHAR, finish VARCHAR)<|im_end|>
<|im_start|>user
Who was the leader at the summit earlier than 1956, when Carcassonne shows for 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_82 (athlete VARCHAR, nationality VARCHAR, group VARCHAR, rank VARCHAR, result VARCHAR)",
"role": "system"
},
{
"content": "Which athlete's rank is more than 15 when the result is less than 7.68, the group is b, and the nationality listed is Great Britain?",
"role": "user"
},
{
"content": "SELECT athlete FROM table_name_82 WHERE rank > 15 AND result < 7.68 AND group = \"b\" AND nationality = \"great britain\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (athlete VARCHAR, nationality VARCHAR, group VARCHAR, rank VARCHAR, result VARCHAR)<|im_end|>
<|im_start|>user
Which athlete's rank is more than 15 when the result is less than 7.68, the group is b, and the nationality listed is Great Britain?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (release_date VARCHAR, model_number VARCHAR)",
"role": "system"
},
{
"content": "What's the release date of model number CORE I7-940?",
"role": "user"
},
{
"content": "SELECT release_date FROM table_name_27 WHERE model_number = \"core i7-940\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (release_date VARCHAR, model_number VARCHAR)<|im_end|>
<|im_start|>user
What's the release date of model number CORE I7-940?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (goals_scored INTEGER, points VARCHAR, played VARCHAR)",
"role": "system"
},
{
"content": "How many goals were scored when they had over 28 points and played over 18 games?",
"role": "user"
},
{
"content": "SELECT MAX(goals_scored) FROM table_name_33 WHERE points > 28 AND played > 18",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (goals_scored INTEGER, points VARCHAR, played VARCHAR)<|im_end|>
<|im_start|>user
How many goals were scored when they had over 28 points and played over 18 games?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (pick INTEGER, team VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest pick for the Buffalo Bills?",
"role": "user"
},
{
"content": "SELECT MIN(pick) FROM table_name_60 WHERE team = \"buffalo bills\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (pick INTEGER, team VARCHAR)<|im_end|>
<|im_start|>user
What is the lowest pick for the Buffalo Bills?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_55 (round INTEGER, college VARCHAR, overall VARCHAR)",
"role": "system"
},
{
"content": "WHAT IS THE ROUND FROM MICHIGAN COLLEGE, AND OVERALL LARGER THAN 37?",
"role": "user"
},
{
"content": "SELECT SUM(round) FROM table_name_55 WHERE college = \"michigan\" AND overall > 37",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_55 (round INTEGER, college VARCHAR, overall VARCHAR)<|im_end|>
<|im_start|>user
WHAT IS THE ROUND FROM MICHIGAN COLLEGE, AND OVERALL LARGER THAN 37?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_40 (label VARCHAR, format VARCHAR, version VARCHAR)",
"role": "system"
},
{
"content": "What is the Label of the Original CD release?",
"role": "user"
},
{
"content": "SELECT label FROM table_name_40 WHERE format = \"cd\" AND version = \"original\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (label VARCHAR, format VARCHAR, version VARCHAR)<|im_end|>
<|im_start|>user
What is the Label of the Original CD release?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE user_profiles (Id VARCHAR)",
"role": "system"
},
{
"content": "How many users are there?",
"role": "user"
},
{
"content": "SELECT COUNT(*) FROM user_profiles",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE user_profiles (Id VARCHAR)<|im_end|>
<|im_start|>user
How many users 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_22962745_35 (season VARCHAR, batsmen VARCHAR)",
"role": "system"
},
{
"content": "What season was herschelle gibbs andrew symonds venugopal rao batsmen?",
"role": "user"
},
{
"content": "SELECT season FROM table_22962745_35 WHERE batsmen = \"Herschelle Gibbs Andrew Symonds Venugopal Rao\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_22962745_35 (season VARCHAR, batsmen VARCHAR)<|im_end|>
<|im_start|>user
What season was herschelle gibbs andrew symonds venugopal rao batsmen?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1389609_3 (total_population INTEGER, region VARCHAR)",
"role": "system"
},
{
"content": "What is the entire inhabitants in Southeast Asia?",
"role": "user"
},
{
"content": "SELECT MIN(total_population) FROM table_1389609_3 WHERE region = \"Southeast Asia\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_1389609_3 (total_population INTEGER, region VARCHAR)<|im_end|>
<|im_start|>user
What is the entire inhabitants in Southeast Asia?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_73 (draw INTEGER, song VARCHAR, points VARCHAR)",
"role": "system"
},
{
"content": "WHAT IS THE DRAW FOR u ritmu ljubavi, POINTS LARGER THAN 87?",
"role": "user"
},
{
"content": "SELECT MAX(draw) FROM table_name_73 WHERE song = \"u ritmu ljubavi\" AND points > 87",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_73 (draw INTEGER, song VARCHAR, points VARCHAR)<|im_end|>
<|im_start|>user
WHAT IS THE DRAW FOR u ritmu ljubavi, POINTS LARGER THAN 87?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (week INTEGER, record VARCHAR)",
"role": "system"
},
{
"content": "What is the earliest week that shows a record of 8–5?",
"role": "user"
},
{
"content": "SELECT MIN(week) FROM table_name_40 WHERE record = \"8–5\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_40 (week INTEGER, record VARCHAR)<|im_end|>
<|im_start|>user
What is the earliest week that shows a record of 8–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_82 (time VARCHAR, home_team VARCHAR)",
"role": "system"
},
{
"content": "What time is it for the southern home team?",
"role": "user"
},
{
"content": "SELECT time FROM table_name_82 WHERE home_team = \"southern\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (time VARCHAR, home_team VARCHAR)<|im_end|>
<|im_start|>user
What time is it for the southern 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_24405773_1 (points INTEGER, flaps VARCHAR)",
"role": "system"
},
{
"content": "What was the highest number of points when flaps were 0?",
"role": "user"
},
{
"content": "SELECT MAX(points) FROM table_24405773_1 WHERE flaps = 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_24405773_1 (points INTEGER, flaps VARCHAR)<|im_end|>
<|im_start|>user
What was the highest number of points when flaps were 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_80 (entrant VARCHAR, engine VARCHAR, driver VARCHAR)",
"role": "system"
},
{
"content": "What is the Entrant with a Engine of talbot l6, and Eugène Chaboud was the driver?",
"role": "user"
},
{
"content": "SELECT entrant FROM table_name_80 WHERE engine = \"talbot l6\" AND driver = \"eugène chaboud\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_80 (entrant VARCHAR, engine VARCHAR, driver VARCHAR)<|im_end|>
<|im_start|>user
What is the Entrant with a Engine of talbot l6, and Eugène Chaboud was the driver?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (course VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What is the course on 1 June?",
"role": "user"
},
{
"content": "SELECT course FROM table_name_10 WHERE date = \"1 june\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (course VARCHAR, date VARCHAR)<|im_end|>
<|im_start|>user
What is the course on 1 June?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_35 (top_10 VARCHAR, wins VARCHAR, poles VARCHAR)",
"role": "system"
},
{
"content": "How many Top 10s have Wins larger than 0, and Poles larger than 0?",
"role": "user"
},
{
"content": "SELECT COUNT(top_10) FROM table_name_35 WHERE wins > 0 AND poles > 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_35 (top_10 VARCHAR, wins VARCHAR, poles VARCHAR)<|im_end|>
<|im_start|>user
How many Top 10s have Wins larger than 0, and Poles larger than 0?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_95 (player VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "Which player has the score 72-67-69=208?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_95 WHERE score = 72 - 67 - 69 = 208",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (player VARCHAR, score VARCHAR)<|im_end|>
<|im_start|>user
Which player has the score 72-67-69=208?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (height_ft__m_ VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "What is the height in ft and m of the regions bank building?",
"role": "user"
},
{
"content": "SELECT height_ft__m_ FROM table_name_90 WHERE name = \"regions bank building\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (height_ft__m_ VARCHAR, name VARCHAR)<|im_end|>
<|im_start|>user
What is the height in ft and m of the regions bank building?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_14876228_1 (losses VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "Name the losses for general caballero zc",
"role": "user"
},
{
"content": "SELECT losses FROM table_14876228_1 WHERE team = \"General Caballero ZC\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_14876228_1 (losses VARCHAR, team VARCHAR)<|im_end|>
<|im_start|>user
Name the losses for general caballero zc<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (status VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What status has 15/04/1967 as the date?",
"role": "user"
},
{
"content": "SELECT status FROM table_name_33 WHERE date = \"15/04/1967\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (status VARCHAR, date VARCHAR)<|im_end|>
<|im_start|>user
What status has 15/04/1967 as the 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_55 (lane INTEGER, nationality VARCHAR, time VARCHAR)",
"role": "system"
},
{
"content": "What's Brazil's lane with a time less than 21.15?",
"role": "user"
},
{
"content": "SELECT MIN(lane) FROM table_name_55 WHERE nationality = \"brazil\" AND time < 21.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_55 (lane INTEGER, nationality VARCHAR, time VARCHAR)<|im_end|>
<|im_start|>user
What's Brazil's lane with a time less than 21.15?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_62 (mascot VARCHAR, school VARCHAR)",
"role": "system"
},
{
"content": "What is the mascot at Hamilton Community?",
"role": "user"
},
{
"content": "SELECT mascot FROM table_name_62 WHERE school = \"hamilton community\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_62 (mascot VARCHAR, school VARCHAR)<|im_end|>
<|im_start|>user
What is the mascot at Hamilton Community?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (genitive_1 VARCHAR, genitive_3 VARCHAR)",
"role": "system"
},
{
"content": "Which Genitive 1 has a Genitive 3 of *n(i)-ia?",
"role": "user"
},
{
"content": "SELECT genitive_1 FROM table_name_57 WHERE genitive_3 = \"*n(i)-ia\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (genitive_1 VARCHAR, genitive_3 VARCHAR)<|im_end|>
<|im_start|>user
Which Genitive 1 has a Genitive 3 of *n(i)-ia?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (venue VARCHAR, opposing_teams VARCHAR)",
"role": "system"
},
{
"content": "What venue has Scotland as the opposing teams?",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_95 WHERE opposing_teams = \"scotland\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_95 (venue VARCHAR, opposing_teams VARCHAR)<|im_end|>
<|im_start|>user
What venue has Scotland as the opposing teams?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (pick__number VARCHAR, team_from VARCHAR, league_from VARCHAR, nationality VARCHAR)",
"role": "system"
},
{
"content": "Which Pick # has a League from of ontario hockey league, a Nationality of united states, and a Team from of brampton battalion?",
"role": "user"
},
{
"content": "SELECT COUNT(pick__number) FROM table_name_61 WHERE league_from = \"ontario hockey league\" AND nationality = \"united states\" AND team_from = \"brampton battalion\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (pick__number VARCHAR, team_from VARCHAR, league_from VARCHAR, nationality VARCHAR)<|im_end|>
<|im_start|>user
Which Pick # has a League from of ontario hockey league, a Nationality of united states, and a Team from of brampton battalion?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (field_goals INTEGER, points INTEGER)",
"role": "system"
},
{
"content": "What is the average number of field goals for players with more than 60 points?",
"role": "user"
},
{
"content": "SELECT AVG(field_goals) FROM table_name_65 WHERE points > 60",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_65 (field_goals INTEGER, points INTEGER)<|im_end|>
<|im_start|>user
What is the average number of field goals for players with more than 60 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_18598175_2 (method_of_elimination VARCHAR, time VARCHAR)",
"role": "system"
},
{
"content": "What was the styled used to defeat the opponent within the time frame of 32:32?",
"role": "user"
},
{
"content": "SELECT method_of_elimination FROM table_18598175_2 WHERE time = \"32:32\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_18598175_2 (method_of_elimination VARCHAR, time VARCHAR)<|im_end|>
<|im_start|>user
What was the styled used to defeat the opponent within the time frame of 32:32?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (time VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "What is the Time of the match with a Record of 3-3?",
"role": "user"
},
{
"content": "SELECT time FROM table_name_30 WHERE record = \"3-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_30 (time VARCHAR, record VARCHAR)<|im_end|>
<|im_start|>user
What is the Time of the match with a Record of 3-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_70 (record VARCHAR, round VARCHAR, method VARCHAR)",
"role": "system"
},
{
"content": "What is the record in the 2 round fight that ended by submission (injury)?",
"role": "user"
},
{
"content": "SELECT record FROM table_name_70 WHERE round = \"2\" AND method = \"submission (injury)\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (record VARCHAR, round VARCHAR, method VARCHAR)<|im_end|>
<|im_start|>user
What is the record in the 2 round fight that ended by submission (injury)?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE film (Title VARCHAR, Film_ID VARCHAR); CREATE TABLE film_market_estimation (Type VARCHAR, Film_ID VARCHAR)",
"role": "system"
},
{
"content": "Please show the titles of films and the types of market estimations.",
"role": "user"
},
{
"content": "SELECT T1.Title, T2.Type FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID = T2.Film_ID",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE film (Title VARCHAR, Film_ID VARCHAR); CREATE TABLE film_market_estimation (Type VARCHAR, Film_ID VARCHAR)<|im_end|>
<|im_start|>user
Please show the titles of films and the types of market estimations.<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_93 (away_team VARCHAR, tie_no VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "Which Away has a Tie no of replay, and a Score of 2–0?",
"role": "user"
},
{
"content": "SELECT away_team FROM table_name_93 WHERE tie_no = \"replay\" AND score = \"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_93 (away_team VARCHAR, tie_no VARCHAR, score VARCHAR)<|im_end|>
<|im_start|>user
Which Away has a Tie no of replay, and a Score of 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_36 (competition VARCHAR, result VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What is the competition type of the event with a result of 3-2 and a score of 2-1?",
"role": "user"
},
{
"content": "SELECT competition FROM table_name_36 WHERE result = \"3-2\" AND score = \"2-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_36 (competition VARCHAR, result VARCHAR, score VARCHAR)<|im_end|>
<|im_start|>user
What is the competition type of the event with a result of 3-2 and a score of 2-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_30 (number_of_households INTEGER, median_household_income VARCHAR, population VARCHAR)",
"role": "system"
},
{
"content": "What is the highest number of households with a median household income of $31,176, and a population of 25,607?",
"role": "user"
},
{
"content": "SELECT MAX(number_of_households) FROM table_name_30 WHERE median_household_income = \"$31,176\" AND population < 25 OFFSET 607",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (number_of_households INTEGER, median_household_income VARCHAR, population VARCHAR)<|im_end|>
<|im_start|>user
What is the highest number of households with a median household income of $31,176, and a population of 25,607?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (team VARCHAR, make VARCHAR)",
"role": "system"
},
{
"content": "What team drove a Dodge vehicle?",
"role": "user"
},
{
"content": "SELECT team FROM table_name_27 WHERE make = \"dodge\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (team VARCHAR, make VARCHAR)<|im_end|>
<|im_start|>user
What team drove a Dodge vehicle?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (length VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "what was the length of the game on may 19",
"role": "user"
},
{
"content": "SELECT length FROM table_name_10 WHERE date = \"may 19\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (length VARCHAR, date VARCHAR)<|im_end|>
<|im_start|>user
what was the length of the game on may 19<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_24648983_1 (title VARCHAR, us_viewers__million_ VARCHAR)",
"role": "system"
},
{
"content": "What is the name of the episode that had 9.89 million U.S. viewers?",
"role": "user"
},
{
"content": "SELECT title FROM table_24648983_1 WHERE us_viewers__million_ = \"9.89\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_24648983_1 (title VARCHAR, us_viewers__million_ VARCHAR)<|im_end|>
<|im_start|>user
What is the name of the episode that had 9.89 million U.S. viewers?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23944006_4 (outcome VARCHAR, championship VARCHAR)",
"role": "system"
},
{
"content": "Name the outcome for zurich",
"role": "user"
},
{
"content": "SELECT outcome FROM table_23944006_4 WHERE championship = \"Zurich\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_23944006_4 (outcome VARCHAR, championship VARCHAR)<|im_end|>
<|im_start|>user
Name the outcome for zurich<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11390711_4 (japanese_orthography VARCHAR, english_name VARCHAR)",
"role": "system"
},
{
"content": "What is the Japanese orthography for the English name National Farmers Academy?",
"role": "user"
},
{
"content": "SELECT japanese_orthography FROM table_11390711_4 WHERE english_name = \"National Farmers Academy\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_11390711_4 (japanese_orthography VARCHAR, english_name VARCHAR)<|im_end|>
<|im_start|>user
What is the Japanese orthography for the English name National Farmers Academy?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_54 (attendance INTEGER, round VARCHAR)",
"role": "system"
},
{
"content": "What is the average Attendance for the final round?",
"role": "user"
},
{
"content": "SELECT AVG(attendance) FROM table_name_54 WHERE round = \"final\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_54 (attendance INTEGER, round VARCHAR)<|im_end|>
<|im_start|>user
What is the average Attendance for the final round?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (grid INTEGER, time_retired VARCHAR)",
"role": "system"
},
{
"content": "what is the grid when the time/retired is 1:46:42.3?",
"role": "user"
},
{
"content": "SELECT SUM(grid) FROM table_name_61 WHERE time_retired = \"1:46:42.3\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_61 (grid INTEGER, time_retired VARCHAR)<|im_end|>
<|im_start|>user
what is the grid when the time/retired is 1:46:42.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_94 (team VARCHAR, position VARCHAR)",
"role": "system"
},
{
"content": "What is the team with position G?",
"role": "user"
},
{
"content": "SELECT team FROM table_name_94 WHERE position = \"g\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_94 (team VARCHAR, position VARCHAR)<|im_end|>
<|im_start|>user
What is the team with position G?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22297140_3 (manner_of_departure VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "What was the manner of leaving the team for the manager of Gostaresh Foolad?",
"role": "user"
},
{
"content": "SELECT manner_of_departure FROM table_22297140_3 WHERE team = \"Gostaresh Foolad\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_22297140_3 (manner_of_departure VARCHAR, team VARCHAR)<|im_end|>
<|im_start|>user
What was the manner of leaving the team for the manager of Gostaresh Foolad?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_11 (integrated VARCHAR, allied_related VARCHAR)",
"role": "system"
},
{
"content": "What integrated has an allied-related of centralized?",
"role": "user"
},
{
"content": "SELECT integrated FROM table_name_11 WHERE allied_related = \"centralized\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_11 (integrated VARCHAR, allied_related VARCHAR)<|im_end|>
<|im_start|>user
What integrated has an allied-related of centralized?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15530244_5 (qualifying VARCHAR, race_3 VARCHAR)",
"role": "system"
},
{
"content": "Name the total number of qualifiying for race 3 being 3",
"role": "user"
},
{
"content": "SELECT COUNT(qualifying) FROM table_15530244_5 WHERE race_3 = \"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_15530244_5 (qualifying VARCHAR, race_3 VARCHAR)<|im_end|>
<|im_start|>user
Name the total number of qualifiying for race 3 being 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_92 (score VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "What score has a record of 21-25-7-4?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_92 WHERE record = \"21-25-7-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_92 (score VARCHAR, record VARCHAR)<|im_end|>
<|im_start|>user
What score has a record of 21-25-7-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_95 (attendance VARCHAR, week INTEGER)",
"role": "system"
},
{
"content": "What's the attendance when the week was more than 16?",
"role": "user"
},
{
"content": "SELECT attendance FROM table_name_95 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_95 (attendance VARCHAR, week INTEGER)<|im_end|>
<|im_start|>user
What's the attendance when the week was more than 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_80 (country VARCHAR, internetlists VARCHAR, onisecurityfiltering VARCHAR)",
"role": "system"
},
{
"content": "What is the name of the country that has internetlists of —, and ONIsecurityfiltering of —?",
"role": "user"
},
{
"content": "SELECT country FROM table_name_80 WHERE internetlists = \"—\" AND onisecurityfiltering = \"—\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_80 (country VARCHAR, internetlists VARCHAR, onisecurityfiltering VARCHAR)<|im_end|>
<|im_start|>user
What is the name of the country that has internetlists of —, and ONIsecurityfiltering of —?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (pick INTEGER, college VARCHAR)",
"role": "system"
},
{
"content": "Which pick came from Texas El-Paso?",
"role": "user"
},
{
"content": "SELECT SUM(pick) FROM table_name_25 WHERE college = \"texas el-paso\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (pick INTEGER, college VARCHAR)<|im_end|>
<|im_start|>user
Which pick came from Texas El-Paso?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (average_attendance VARCHAR, total_attendance VARCHAR)",
"role": "system"
},
{
"content": "What's the average attendance of the league with a total attendance of 2268508?",
"role": "user"
},
{
"content": "SELECT average_attendance FROM table_name_75 WHERE total_attendance = \"2268508\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (average_attendance VARCHAR, total_attendance VARCHAR)<|im_end|>
<|im_start|>user
What's the average attendance of the league with a total attendance of 2268508?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_17085724_1 (brighton_cast VARCHAR, indianapolis_concerts VARCHAR)",
"role": "system"
},
{
"content": "Name the brighton cast for andrew verala",
"role": "user"
},
{
"content": "SELECT brighton_cast FROM table_17085724_1 WHERE indianapolis_concerts = \"Andrew Verala\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_17085724_1 (brighton_cast VARCHAR, indianapolis_concerts VARCHAR)<|im_end|>
<|im_start|>user
Name the brighton cast for andrew verala<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (week INTEGER, date VARCHAR)",
"role": "system"
},
{
"content": "What is the latest week with the date of november 5, 1995?",
"role": "user"
},
{
"content": "SELECT MAX(week) FROM table_name_40 WHERE date = \"november 5, 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_40 (week INTEGER, date VARCHAR)<|im_end|>
<|im_start|>user
What is the latest week with the date of november 5, 1995?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (general_classification VARCHAR, winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR)",
"role": "system"
},
{
"content": "What's the general classification of Ignatas Konovalovas when the mountains classification was Stefano Garzelli and points classification was Danilo Di Luca?",
"role": "user"
},
{
"content": "SELECT general_classification FROM table_name_36 WHERE mountains_classification = \"stefano garzelli\" AND points_classification = \"danilo di luca\" AND winner = \"ignatas konovalovas\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (general_classification VARCHAR, winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR)<|im_end|>
<|im_start|>user
What's the general classification of Ignatas Konovalovas when the mountains classification was Stefano Garzelli and points classification was Danilo Di Luca?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (top_25 VARCHAR, cuts_made VARCHAR, wins VARCHAR)",
"role": "system"
},
{
"content": "Tell me the total number of top 25 for wins less than 1 and cuts made of 22",
"role": "user"
},
{
"content": "SELECT COUNT(top_25) FROM table_name_59 WHERE cuts_made = 22 AND wins < 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_59 (top_25 VARCHAR, cuts_made VARCHAR, wins VARCHAR)<|im_end|>
<|im_start|>user
Tell me the total number of top 25 for wins less than 1 and cuts made of 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_name_44 (director_s_ VARCHAR, writer_s_ VARCHAR)",
"role": "system"
},
{
"content": "Who was the director that worked with Dana Dorian as the writer?",
"role": "user"
},
{
"content": "SELECT director_s_ FROM table_name_44 WHERE writer_s_ = \"dana dorian\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_44 (director_s_ VARCHAR, writer_s_ VARCHAR)<|im_end|>
<|im_start|>user
Who was the director that worked with Dana Dorian as the writer?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (developer_s_ VARCHAR, genre VARCHAR)",
"role": "system"
},
{
"content": "Who was the developer(s) of the genre Adventure?",
"role": "user"
},
{
"content": "SELECT developer_s_ FROM table_name_22 WHERE genre = \"adventure\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (developer_s_ VARCHAR, genre VARCHAR)<|im_end|>
<|im_start|>user
Who was the developer(s) of the genre Adventure?<|im_end|>
|