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_40 (championship_game VARCHAR, _number_of_bids VARCHAR, win__percentage VARCHAR)",
"role": "system"
},
{
"content": "What is the Championship Game that has 4 Bids and a .600 Win %?",
"role": "user"
},
{
"content": "SELECT championship_game FROM table_name_40 WHERE _number_of_bids = 4 AND win__percentage = \".600\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (championship_game VARCHAR, _number_of_bids VARCHAR, win__percentage VARCHAR)<|im_end|>
<|im_start|>user
What is the Championship Game that has 4 Bids and a .600 Win %?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22897453_1 (kr_narayanan__values_ VARCHAR, states VARCHAR)",
"role": "system"
},
{
"content": "Name the k. r. narayanan values for pondicherry",
"role": "user"
},
{
"content": "SELECT kr_narayanan__values_ FROM table_22897453_1 WHERE states = \"Pondicherry\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_22897453_1 (kr_narayanan__values_ VARCHAR, states VARCHAR)<|im_end|>
<|im_start|>user
Name the k. r. narayanan values for pondicherry<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (goal INTEGER, competition VARCHAR)",
"role": "system"
},
{
"content": "What is the smallest goal during the 2006 fifa world cup qualification competition?",
"role": "user"
},
{
"content": "SELECT MIN(goal) FROM table_name_45 WHERE competition = \"2006 fifa world cup qualification\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (goal INTEGER, competition VARCHAR)<|im_end|>
<|im_start|>user
What is the smallest goal during the 2006 fifa world cup qualification competition?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (result VARCHAR, film VARCHAR, award VARCHAR)",
"role": "system"
},
{
"content": "What is Result, when Film is \"Dharma Chakram\", and when Award is \"Nandi Award for Best Actor\"?",
"role": "user"
},
{
"content": "SELECT result FROM table_name_87 WHERE film = \"dharma chakram\" AND award = \"nandi award for best 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 table_name_87 (result VARCHAR, film VARCHAR, award VARCHAR)<|im_end|>
<|im_start|>user
What is Result, when Film is "Dharma Chakram", and when Award is "Nandi Award for Best Actor"?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (total VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR)",
"role": "system"
},
{
"content": "What is the total having a bronze value over 1, silver under 5, and ranked 9?",
"role": "user"
},
{
"content": "SELECT total FROM table_name_55 WHERE bronze > 1 AND silver < 5 AND rank = \"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_55 (total VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR)<|im_end|>
<|im_start|>user
What is the total having a bronze value over 1, silver under 5, and ranked 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_66 (result VARCHAR, week VARCHAR)",
"role": "system"
},
{
"content": "What was the result of the week 13 game?",
"role": "user"
},
{
"content": "SELECT result FROM table_name_66 WHERE week = 13",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_66 (result VARCHAR, week VARCHAR)<|im_end|>
<|im_start|>user
What was the result of the week 13 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_71 (notes VARCHAR, rank VARCHAR, athlete VARCHAR)",
"role": "system"
},
{
"content": "Ioannis Christou with a rank smaller than 6 has what notes?",
"role": "user"
},
{
"content": "SELECT notes FROM table_name_71 WHERE rank < 6 AND athlete = \"ioannis christou\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (notes VARCHAR, rank VARCHAR, athlete VARCHAR)<|im_end|>
<|im_start|>user
Ioannis Christou with a rank smaller than 6 has what 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_56 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)",
"role": "system"
},
{
"content": "What is the stage with a point classification of Silvio Martinello and Davide Rebellin as the general classification?",
"role": "user"
},
{
"content": "SELECT stage FROM table_name_56 WHERE points_classification = \"silvio martinello\" AND general_classification = \"davide rebellin\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)<|im_end|>
<|im_start|>user
What is the stage with a point classification of Silvio Martinello and Davide Rebellin as the general classification?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18710512_3 (date VARCHAR, single VARCHAR)",
"role": "system"
},
{
"content": "What year was \"moped girls\" released?",
"role": "user"
},
{
"content": "SELECT date FROM table_18710512_3 WHERE single = \"Moped Girls\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_18710512_3 (date VARCHAR, single VARCHAR)<|im_end|>
<|im_start|>user
What year was "moped girls" released?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11677100_3 (player VARCHAR, school VARCHAR)",
"role": "system"
},
{
"content": "What player goes to Torrey Pines High School?",
"role": "user"
},
{
"content": "SELECT player FROM table_11677100_3 WHERE school = \"Torrey Pines 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_11677100_3 (player VARCHAR, school VARCHAR)<|im_end|>
<|im_start|>user
What player goes to Torrey Pines 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_name_38 (gold VARCHAR, rank VARCHAR)",
"role": "system"
},
{
"content": "What is Gold, when Rank is 7?",
"role": "user"
},
{
"content": "SELECT gold FROM table_name_38 WHERE rank = \"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_38 (gold VARCHAR, rank VARCHAR)<|im_end|>
<|im_start|>user
What is Gold, when Rank is 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_14925084_1 (population_1891 VARCHAR, area_1891__statute_acres_ VARCHAR)",
"role": "system"
},
{
"content": "Name the population 1891 for area being 175836",
"role": "user"
},
{
"content": "SELECT COUNT(population_1891) FROM table_14925084_1 WHERE area_1891__statute_acres_ = 175836",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_14925084_1 (population_1891 VARCHAR, area_1891__statute_acres_ VARCHAR)<|im_end|>
<|im_start|>user
Name the population 1891 for area being 175836<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25721_3 (airdate VARCHAR, dave_ja_vu_viewers VARCHAR)",
"role": "system"
},
{
"content": "What was the airdate of the episode with 106000 dave ja vu viewers?",
"role": "user"
},
{
"content": "SELECT airdate FROM table_25721_3 WHERE dave_ja_vu_viewers = 106000",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_25721_3 (airdate VARCHAR, dave_ja_vu_viewers VARCHAR)<|im_end|>
<|im_start|>user
What was the airdate of the episode with 106000 dave ja vu 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_11677691_10 (position VARCHAR, school VARCHAR)",
"role": "system"
},
{
"content": "What was the position of the player from Butler High School?",
"role": "user"
},
{
"content": "SELECT position FROM table_11677691_10 WHERE school = \"Butler 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_11677691_10 (position VARCHAR, school VARCHAR)<|im_end|>
<|im_start|>user
What was the position of the player from Butler 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_name_39 (pick__number VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What's sawyer hannay's total pick number?",
"role": "user"
},
{
"content": "SELECT COUNT(pick__number) FROM table_name_39 WHERE player = \"sawyer hannay\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_39 (pick__number VARCHAR, player VARCHAR)<|im_end|>
<|im_start|>user
What's sawyer hannay's total pick number?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2417390_4 (district VARCHAR, date_successor_seated VARCHAR)",
"role": "system"
},
{
"content": "What district was the successor seated in March 28, 1878?",
"role": "user"
},
{
"content": "SELECT district FROM table_2417390_4 WHERE date_successor_seated = \"March 28, 1878\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_2417390_4 (district VARCHAR, date_successor_seated VARCHAR)<|im_end|>
<|im_start|>user
What district was the successor seated in March 28, 1878?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_43 (driver VARCHAR, grid VARCHAR)",
"role": "system"
},
{
"content": "Which driver had a grid of 22?",
"role": "user"
},
{
"content": "SELECT driver FROM table_name_43 WHERE grid = \"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_43 (driver VARCHAR, grid VARCHAR)<|im_end|>
<|im_start|>user
Which driver had a grid 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_28 (screen_size VARCHAR, pixels VARCHAR, dimensions_w×h×d__mm_ VARCHAR, model VARCHAR)",
"role": "system"
},
{
"content": "What is the screen size and pixel amount of model p5000 when the dimensions are 98×64.5×41?",
"role": "user"
},
{
"content": "SELECT screen_size, pixels FROM table_name_28 WHERE dimensions_w×h×d__mm_ = \"98×64.5×41\" AND model = \"p5000\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_28 (screen_size VARCHAR, pixels VARCHAR, dimensions_w×h×d__mm_ VARCHAR, model VARCHAR)<|im_end|>
<|im_start|>user
What is the screen size and pixel amount of model p5000 when the dimensions are 98×64.5×41?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (player VARCHAR, lifespan VARCHAR, rank VARCHAR, country VARCHAR)",
"role": "system"
},
{
"content": "Which Player has a Rank of t12, and a Country of taiwan, and a Lifespan of 1963–?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_4 WHERE rank = \"t12\" AND country = \"taiwan\" AND lifespan = \"1963–\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (player VARCHAR, lifespan VARCHAR, rank VARCHAR, country VARCHAR)<|im_end|>
<|im_start|>user
Which Player has a Rank of t12, and a Country of taiwan, and a Lifespan of 1963–?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE CUSTOMER (State VARCHAR)",
"role": "system"
},
{
"content": "Find all the customer information in state NY.",
"role": "user"
},
{
"content": "SELECT * FROM CUSTOMER WHERE State = \"NY\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE CUSTOMER (State VARCHAR)<|im_end|>
<|im_start|>user
Find all the customer information in state NY.<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_16278825_1 (area__km²_ INTEGER, name_of_county VARCHAR)",
"role": "system"
},
{
"content": "Name the least area for vas",
"role": "user"
},
{
"content": "SELECT MIN(area__km²_) FROM table_16278825_1 WHERE name_of_county = \"Vas\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_16278825_1 (area__km²_ INTEGER, name_of_county VARCHAR)<|im_end|>
<|im_start|>user
Name the least area for vas<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_52 (city VARCHAR, lead VARCHAR)",
"role": "system"
},
{
"content": "Which City has a Lead of steve gould?",
"role": "user"
},
{
"content": "SELECT city FROM table_name_52 WHERE lead = \"steve gould\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_52 (city VARCHAR, lead VARCHAR)<|im_end|>
<|im_start|>user
Which City has a Lead of steve gould?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2268216_1 (manufacturer VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "Whose is the manufacturer for team Ranier-Lundy? ",
"role": "user"
},
{
"content": "SELECT manufacturer FROM table_2268216_1 WHERE team = \"Ranier-Lundy\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_2268216_1 (manufacturer VARCHAR, team VARCHAR)<|im_end|>
<|im_start|>user
Whose is the manufacturer for team Ranier-Lundy? <|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)",
"role": "system"
},
{
"content": "What is the score for the United States in place T1 for David Duval?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_80 WHERE country = \"united states\" AND place = \"t1\" AND player = \"david duval\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)<|im_end|>
<|im_start|>user
What is the score for the United States in place T1 for David Duval?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25284864_3 (november_3 VARCHAR, january_15_16 VARCHAR)",
"role": "system"
},
{
"content": "What is the November 3 result when the result for January 15-16 is 141?",
"role": "user"
},
{
"content": "SELECT november_3 FROM table_25284864_3 WHERE january_15_16 = \"141\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_25284864_3 (november_3 VARCHAR, january_15_16 VARCHAR)<|im_end|>
<|im_start|>user
What is the November 3 result when the result for January 15-16 is 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_66 (starts VARCHAR, earnings__$_ VARCHAR, cuts_made VARCHAR, top_25 VARCHAR)",
"role": "system"
},
{
"content": "How many Starts that have Cuts made of 2, Top 25 larger than 0, and Earnings ($) smaller than 338,067?",
"role": "user"
},
{
"content": "SELECT COUNT(starts) FROM table_name_66 WHERE cuts_made = 2 AND top_25 > 0 AND earnings__$_ < 338 OFFSET 067",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_66 (starts VARCHAR, earnings__$_ VARCHAR, cuts_made VARCHAR, top_25 VARCHAR)<|im_end|>
<|im_start|>user
How many Starts that have Cuts made of 2, Top 25 larger than 0, and Earnings ($) smaller than 338,067?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_78 (session VARCHAR, discipline VARCHAR, event VARCHAR)",
"role": "system"
},
{
"content": "The 1977 Japanese Grand Prix in the open wheel discipline has what session?",
"role": "user"
},
{
"content": "SELECT session FROM table_name_78 WHERE discipline = \"open wheel\" AND event = \"1977 japanese grand prix\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_78 (session VARCHAR, discipline VARCHAR, event VARCHAR)<|im_end|>
<|im_start|>user
The 1977 Japanese Grand Prix in the open wheel discipline has what session?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_14260687_3 (blackberry_os VARCHAR, symbian VARCHAR)",
"role": "system"
},
{
"content": "How many millions of Blackberry OS smartphones were shipped when 10.4 million Symbian smartphones were shipped?",
"role": "user"
},
{
"content": "SELECT blackberry_os FROM table_14260687_3 WHERE symbian = \"10.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_14260687_3 (blackberry_os VARCHAR, symbian VARCHAR)<|im_end|>
<|im_start|>user
How many millions of Blackberry OS smartphones were shipped when 10.4 million Symbian smartphones were shipped?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (crowd VARCHAR, away_team VARCHAR)",
"role": "system"
},
{
"content": "How large was the crowd when Carlton was the away team?",
"role": "user"
},
{
"content": "SELECT COUNT(crowd) FROM table_name_26 WHERE away_team = \"carlton\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (crowd VARCHAR, away_team VARCHAR)<|im_end|>
<|im_start|>user
How large was the crowd when Carlton was the away team?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_21994729_3 (title VARCHAR, directed_by VARCHAR)",
"role": "system"
},
{
"content": "What are all the title directed by reginald hudlin",
"role": "user"
},
{
"content": "SELECT COUNT(title) FROM table_21994729_3 WHERE directed_by = \"Reginald Hudlin\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_21994729_3 (title VARCHAR, directed_by VARCHAR)<|im_end|>
<|im_start|>user
What are all the title directed by reginald hudlin<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (points VARCHAR, car_no VARCHAR)",
"role": "system"
},
{
"content": "How many points did car 20 score?",
"role": "user"
},
{
"content": "SELECT points FROM table_name_65 WHERE car_no = \"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_65 (points VARCHAR, car_no VARCHAR)<|im_end|>
<|im_start|>user
How many points did car 20 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_58 (total VARCHAR, rank VARCHAR, gold VARCHAR)",
"role": "system"
},
{
"content": "What's the sum of total where the rank is over 9 and the gold is less than 1?",
"role": "user"
},
{
"content": "SELECT COUNT(total) FROM table_name_58 WHERE rank > 9 AND gold < 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_58 (total VARCHAR, rank VARCHAR, gold VARCHAR)<|im_end|>
<|im_start|>user
What's the sum of total where the rank is over 9 and the gold is less than 1?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1307842_6 (gdp__billion_us$_ VARCHAR, gdp_per_capita__us$_ VARCHAR)",
"role": "system"
},
{
"content": "What was the gdp of the country with a gdp per capita of $18048?",
"role": "user"
},
{
"content": "SELECT gdp__billion_us$_ FROM table_1307842_6 WHERE gdp_per_capita__us$_ = 18048",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_1307842_6 (gdp__billion_us$_ VARCHAR, gdp_per_capita__us$_ VARCHAR)<|im_end|>
<|im_start|>user
What was the gdp of the country with a gdp per capita of $18048?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (rank INTEGER, title VARCHAR)",
"role": "system"
},
{
"content": "What is the rank of American Pie 2?",
"role": "user"
},
{
"content": "SELECT MIN(rank) FROM table_name_4 WHERE title = \"american pie 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_4 (rank INTEGER, title VARCHAR)<|im_end|>
<|im_start|>user
What is the rank of American Pie 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_6 (erp_w INTEGER, frequency_mhz INTEGER)",
"role": "system"
},
{
"content": "What is the ERP W number where the frequency is smaller than 91.1?",
"role": "user"
},
{
"content": "SELECT MAX(erp_w) FROM table_name_6 WHERE frequency_mhz < 91.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_6 (erp_w INTEGER, frequency_mhz INTEGER)<|im_end|>
<|im_start|>user
What is the ERP W number where the frequency is smaller than 91.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_13 (wins INTEGER, events VARCHAR)",
"role": "system"
},
{
"content": "What is the fewest wins for Thomas in events he had entered exactly 9 times?",
"role": "user"
},
{
"content": "SELECT MIN(wins) FROM table_name_13 WHERE events = 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_13 (wins INTEGER, events VARCHAR)<|im_end|>
<|im_start|>user
What is the fewest wins for Thomas in events he had entered exactly 9 times?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_12171145_1 (mens_doubles VARCHAR, womens_doubles VARCHAR)",
"role": "system"
},
{
"content": "Who is the mens doubles when womens doubles is anastasia chervyakova romina gabdullina?",
"role": "user"
},
{
"content": "SELECT mens_doubles FROM table_12171145_1 WHERE womens_doubles = \"Anastasia Chervyakova Romina Gabdullina\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_12171145_1 (mens_doubles VARCHAR, womens_doubles VARCHAR)<|im_end|>
<|im_start|>user
Who is the mens doubles when womens doubles is anastasia chervyakova romina gabdullina?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR, laps VARCHAR)",
"role": "system"
},
{
"content": "Who drove the maserati under 18 laps with an oil leak that had a grid of under 14?",
"role": "user"
},
{
"content": "SELECT driver FROM table_name_34 WHERE constructor = \"maserati\" AND laps < 18 AND grid < 14 AND time_retired = \"oil leak\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR, laps VARCHAR)<|im_end|>
<|im_start|>user
Who drove the maserati under 18 laps with an oil leak that had a grid of under 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 branch (membership_amount INTEGER, open_year VARCHAR, city VARCHAR)",
"role": "system"
},
{
"content": "Show minimum and maximum amount of memberships for all branches opened in 2011 or located at city London.",
"role": "user"
},
{
"content": "SELECT MIN(membership_amount), MAX(membership_amount) FROM branch WHERE open_year = 2011 OR city = 'London'",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE branch (membership_amount INTEGER, open_year VARCHAR, city VARCHAR)<|im_end|>
<|im_start|>user
Show minimum and maximum amount of memberships for all branches opened in 2011 or located at city London.<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_31 (elected VARCHAR, party VARCHAR, incumbent VARCHAR)",
"role": "system"
},
{
"content": "What was the year Elected of Republican Incumbent Dave Reichert?",
"role": "user"
},
{
"content": "SELECT elected FROM table_name_31 WHERE party = \"republican\" AND incumbent = \"dave reichert\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_31 (elected VARCHAR, party VARCHAR, incumbent VARCHAR)<|im_end|>
<|im_start|>user
What was the year Elected of Republican Incumbent Dave Reichert?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_7 (attendance INTEGER, record VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest number of people in attendance when the record was 9–26?",
"role": "user"
},
{
"content": "SELECT MIN(attendance) FROM table_name_7 WHERE record = \"9–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_name_7 (attendance INTEGER, record VARCHAR)<|im_end|>
<|im_start|>user
What is the lowest number of people in attendance when the record was 9–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_name_86 (city_of_license VARCHAR, class VARCHAR, identifier VARCHAR)",
"role": "system"
},
{
"content": "What city of license has A as a class, and cbec-fm as the identifier?",
"role": "user"
},
{
"content": "SELECT city_of_license FROM table_name_86 WHERE class = \"a\" AND identifier = \"cbec-fm\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (city_of_license VARCHAR, class VARCHAR, identifier VARCHAR)<|im_end|>
<|im_start|>user
What city of license has A as a class, and cbec-fm as the identifier?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (season INTEGER, driver VARCHAR)",
"role": "system"
},
{
"content": "What is the earliest season with driver Farad Bathena?",
"role": "user"
},
{
"content": "SELECT MIN(season) FROM table_name_34 WHERE driver = \"farad bathena\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (season INTEGER, driver VARCHAR)<|im_end|>
<|im_start|>user
What is the earliest season with driver Farad Bathena?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_49 (construction_completed VARCHAR, listed VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "What is the Construction that has a Listed 09/08/1983, and a Name of cecil lindsey?",
"role": "user"
},
{
"content": "SELECT construction_completed FROM table_name_49 WHERE listed = \"09/08/1983\" AND name = \"cecil lindsey\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_49 (construction_completed VARCHAR, listed VARCHAR, name VARCHAR)<|im_end|>
<|im_start|>user
What is the Construction that has a Listed 09/08/1983, and a Name of cecil lindsey?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (react INTEGER, name VARCHAR, lane VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest React, when Name is \"Candice Davis\", and when Lane is less than 3?",
"role": "user"
},
{
"content": "SELECT MIN(react) FROM table_name_79 WHERE name = \"candice davis\" AND lane < 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_79 (react INTEGER, name VARCHAR, lane VARCHAR)<|im_end|>
<|im_start|>user
What is the lowest React, when Name is "Candice Davis", and when Lane is less than 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_14465871_1 (unix_shell VARCHAR, powershell__cmdlet_ VARCHAR)",
"role": "system"
},
{
"content": "What are the names of all unix shell with PowerShell (Cmdlet) of select-string?",
"role": "user"
},
{
"content": "SELECT unix_shell FROM table_14465871_1 WHERE powershell__cmdlet_ = \"Select-String\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_14465871_1 (unix_shell VARCHAR, powershell__cmdlet_ VARCHAR)<|im_end|>
<|im_start|>user
What are the names of all unix shell with PowerShell (Cmdlet) of select-string?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22815568_13 (county VARCHAR, market_income_per_capita VARCHAR)",
"role": "system"
},
{
"content": "what is the county where the market income per capita is $25,006?",
"role": "user"
},
{
"content": "SELECT county FROM table_22815568_13 WHERE market_income_per_capita = \"$25,006\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_22815568_13 (county VARCHAR, market_income_per_capita VARCHAR)<|im_end|>
<|im_start|>user
what is the county where the market income per capita is $25,006?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (award VARCHAR, year VARCHAR, episode VARCHAR)",
"role": "system"
},
{
"content": "What award has a year earlier than 2004 and the episode shows —?",
"role": "user"
},
{
"content": "SELECT award FROM table_name_90 WHERE year < 2004 AND episode = \"—\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (award VARCHAR, year VARCHAR, episode VARCHAR)<|im_end|>
<|im_start|>user
What award has a year earlier than 2004 and the episode shows —?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (date VARCHAR, away_team VARCHAR)",
"role": "system"
},
{
"content": "What day did Geelong play as the away team?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_73 WHERE away_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_73 (date VARCHAR, away_team VARCHAR)<|im_end|>
<|im_start|>user
What day did Geelong play 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_75 (rounds VARCHAR, motorcycle VARCHAR)",
"role": "system"
},
{
"content": "Which round has the mv agusta f4 1000 mt?",
"role": "user"
},
{
"content": "SELECT rounds FROM table_name_75 WHERE motorcycle = \"mv agusta f4 1000 mt\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (rounds VARCHAR, motorcycle VARCHAR)<|im_end|>
<|im_start|>user
Which round has the mv agusta f4 1000 mt?<|im_end|>
|
[
{
"content": "You are an text to SQL query 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_4 (party VARCHAR, incumbent VARCHAR)",
"role": "system"
},
{
"content": "How many parties does william b. cravens represent?",
"role": "user"
},
{
"content": "SELECT COUNT(party) FROM table_1342292_4 WHERE incumbent = \"William B. Cravens\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query 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_4 (party VARCHAR, incumbent VARCHAR)<|im_end|>
<|im_start|>user
How many parties does william b. cravens represent?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1771753_3 (race_time VARCHAR, team VARCHAR, laps VARCHAR)",
"role": "system"
},
{
"content": "When 228 is the lap and chip ganassi racing is the team what is the race time?",
"role": "user"
},
{
"content": "SELECT race_time FROM table_1771753_3 WHERE team = \"Chip Ganassi Racing\" AND laps = \"228\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_1771753_3 (race_time VARCHAR, team VARCHAR, laps VARCHAR)<|im_end|>
<|im_start|>user
When 228 is the lap and chip ganassi racing is the team what is the race time?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_82 (player VARCHAR, college VARCHAR)",
"role": "system"
},
{
"content": "Which players college was Baylor?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_82 WHERE college = \"baylor\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (player VARCHAR, college VARCHAR)<|im_end|>
<|im_start|>user
Which players college was Baylor?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_52 (home VARCHAR, geust VARCHAR)",
"role": "system"
},
{
"content": "What is the home of fc st. gallen (asl) geust?",
"role": "user"
},
{
"content": "SELECT home FROM table_name_52 WHERE geust = \"fc st. gallen (asl)\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_52 (home VARCHAR, geust VARCHAR)<|im_end|>
<|im_start|>user
What is the home of fc st. gallen (asl) geust?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_85 (silver VARCHAR, total VARCHAR, bronze VARCHAR)",
"role": "system"
},
{
"content": "what is the total silver when total is 30 and bronze is more than 10?",
"role": "user"
},
{
"content": "SELECT COUNT(silver) FROM table_name_85 WHERE total = 30 AND bronze > 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_85 (silver VARCHAR, total VARCHAR, bronze VARCHAR)<|im_end|>
<|im_start|>user
what is the total silver when total is 30 and bronze is 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 table_20866024_2 (axle_ratio VARCHAR, model_designation VARCHAR)",
"role": "system"
},
{
"content": "What's the axle ratio of the model with model designation 97G00?",
"role": "user"
},
{
"content": "SELECT axle_ratio FROM table_20866024_2 WHERE model_designation = \"97G00\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_20866024_2 (axle_ratio VARCHAR, model_designation VARCHAR)<|im_end|>
<|im_start|>user
What's the axle ratio of the model with model designation 97G00?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (finish VARCHAR, player VARCHAR, total VARCHAR, to_par VARCHAR)",
"role": "system"
},
{
"content": "What was the finish with a total larger than 286, a to par of +4 and Bob Tway played?",
"role": "user"
},
{
"content": "SELECT finish FROM table_name_70 WHERE total > 286 AND to_par = \"+4\" AND player = \"bob tway\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (finish VARCHAR, player VARCHAR, total VARCHAR, to_par VARCHAR)<|im_end|>
<|im_start|>user
What was the finish with a total larger than 286, a to par of +4 and Bob Tway played?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_57 (difference VARCHAR, position VARCHAR, points VARCHAR)",
"role": "system"
},
{
"content": "What is the Difference with a position of less than 3, and, 17 points.",
"role": "user"
},
{
"content": "SELECT difference FROM table_name_57 WHERE position < 3 AND points = 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_57 (difference VARCHAR, position VARCHAR, points VARCHAR)<|im_end|>
<|im_start|>user
What is the Difference with a position of less than 3, and, 17 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_10 (no_of_clubs VARCHAR, team VARCHAR, games VARCHAR)",
"role": "system"
},
{
"content": "What is the number of clubs for Shenyang Ginde when there were more than 182 games?",
"role": "user"
},
{
"content": "SELECT COUNT(no_of_clubs) FROM table_name_10 WHERE team = \"shenyang ginde\" AND games > 182",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (no_of_clubs VARCHAR, team VARCHAR, games VARCHAR)<|im_end|>
<|im_start|>user
What is the number of clubs for Shenyang Ginde when there were more than 182 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_81 (outcome VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What was the outcome of the game that had a score of 3–6, 6–3, 6–0?",
"role": "user"
},
{
"content": "SELECT outcome FROM table_name_81 WHERE score = \"3–6, 6–3, 6–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_81 (outcome VARCHAR, score VARCHAR)<|im_end|>
<|im_start|>user
What was the outcome of the game that had a score of 3–6, 6–3, 6–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_59 (venue VARCHAR, competition VARCHAR)",
"role": "system"
},
{
"content": "What venue will hold the 2013 Concacaf Gold Cup competition?",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_59 WHERE competition = \"2013 concacaf gold cup\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (venue VARCHAR, competition VARCHAR)<|im_end|>
<|im_start|>user
What venue will hold the 2013 Concacaf Gold Cup competition?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (total INTEGER, bronze VARCHAR, nation VARCHAR, gold VARCHAR, rank VARCHAR)",
"role": "system"
},
{
"content": "What is the average Total that has a Gold of 0, when the rank is less than 16, the nation is Georgia and there is more than 2 for Bronze?",
"role": "user"
},
{
"content": "SELECT AVG(total) FROM table_name_70 WHERE gold = 0 AND rank < 16 AND nation = \"georgia\" AND bronze > 2",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_70 (total INTEGER, bronze VARCHAR, nation VARCHAR, gold VARCHAR, rank VARCHAR)<|im_end|>
<|im_start|>user
What is the average Total that has a Gold of 0, when the rank is less than 16, the nation is Georgia and there is more than 2 for Bronze?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2610582_2 (branding VARCHAR, power_kw__erp_ VARCHAR)",
"role": "system"
},
{
"content": "How many brandings are there where the Power kW (ERP) is 1kW (29.94kW ERP)?",
"role": "user"
},
{
"content": "SELECT COUNT(branding) FROM table_2610582_2 WHERE power_kw__erp_ = \"1kW (29.94kW ERP)\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_2610582_2 (branding VARCHAR, power_kw__erp_ VARCHAR)<|im_end|>
<|im_start|>user
How many brandings are there where the Power kW (ERP) is 1kW (29.94kW ERP)?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (game INTEGER, record VARCHAR, october VARCHAR)",
"role": "system"
},
{
"content": "Which Game has a Record of 5–3–1, and an October smaller than 29?",
"role": "user"
},
{
"content": "SELECT SUM(game) FROM table_name_80 WHERE record = \"5–3–1\" AND october < 29",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (game INTEGER, record VARCHAR, october VARCHAR)<|im_end|>
<|im_start|>user
Which Game has a Record of 5–3–1, and an October smaller than 29?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (pro_debut VARCHAR, tournaments VARCHAR, highest_rank VARCHAR)",
"role": "system"
},
{
"content": "What is Pro Debut, when Tournament is greater than 11, and when Highest Rank is \"Maegashira 1\"?",
"role": "user"
},
{
"content": "SELECT pro_debut FROM table_name_68 WHERE tournaments > 11 AND highest_rank = \"maegashira 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_68 (pro_debut VARCHAR, tournaments VARCHAR, highest_rank VARCHAR)<|im_end|>
<|im_start|>user
What is Pro Debut, when Tournament is greater than 11, and when Highest Rank is "Maegashira 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_33 (catalogue VARCHAR, date VARCHAR, region VARCHAR, format VARCHAR)",
"role": "system"
},
{
"content": "Which catalogue is from the UK region, and is on vinyl, and was dated in 1986?",
"role": "user"
},
{
"content": "SELECT catalogue FROM table_name_33 WHERE region = \"uk\" AND format = \"vinyl\" AND date = \"1986\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_33 (catalogue VARCHAR, date VARCHAR, region VARCHAR, format VARCHAR)<|im_end|>
<|im_start|>user
Which catalogue is from the UK region, and is on vinyl, and was dated in 1986?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_38 (result VARCHAR, attendance VARCHAR)",
"role": "system"
},
{
"content": "What was the result of the game that was attended by 80,886 people?",
"role": "user"
},
{
"content": "SELECT result FROM table_name_38 WHERE attendance = \"80,886\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_38 (result VARCHAR, attendance VARCHAR)<|im_end|>
<|im_start|>user
What was the result of the game that was attended by 80,886 people?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18424435_4 (_number VARCHAR, production_code VARCHAR)",
"role": "system"
},
{
"content": "What is the total number of episodes listed with a production code of 306?",
"role": "user"
},
{
"content": "SELECT COUNT(_number) FROM table_18424435_4 WHERE production_code = 306",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_18424435_4 (_number VARCHAR, production_code VARCHAR)<|im_end|>
<|im_start|>user
What is the total number of episodes listed with a production code of 306?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (winner VARCHAR, distance VARCHAR)",
"role": "system"
},
{
"content": "Who was the winner of the race that had a distance of 175.6km?",
"role": "user"
},
{
"content": "SELECT winner FROM table_name_70 WHERE distance = \"175.6km\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (winner VARCHAR, distance VARCHAR)<|im_end|>
<|im_start|>user
Who was the winner of the race that had a distance of 175.6km?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (Digital VARCHAR, owner VARCHAR)",
"role": "system"
},
{
"content": "What digital channel does Three Angels Broadcasting Network own?",
"role": "user"
},
{
"content": "SELECT Digital AS channel FROM table_name_16 WHERE owner = \"three angels broadcasting network\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (Digital VARCHAR, owner VARCHAR)<|im_end|>
<|im_start|>user
What digital channel does Three Angels Broadcasting Network own?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_69 (rank INTEGER, city VARCHAR, population VARCHAR)",
"role": "system"
},
{
"content": "What is the average rank of the city of el paso, which has a population greater than 672,538?",
"role": "user"
},
{
"content": "SELECT AVG(rank) FROM table_name_69 WHERE city = \"el paso\" AND population > 672 OFFSET 538",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_69 (rank INTEGER, city VARCHAR, population VARCHAR)<|im_end|>
<|im_start|>user
What is the average rank of the city of el paso, which has a population greater than 672,538?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_52 (home_team VARCHAR, away_team VARCHAR)",
"role": "system"
},
{
"content": "Who was the home team of the game where Footscray is the away team?",
"role": "user"
},
{
"content": "SELECT home_team AS score FROM table_name_52 WHERE away_team = \"footscray\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_52 (home_team VARCHAR, away_team VARCHAR)<|im_end|>
<|im_start|>user
Who was the home team of the game where Footscray 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_2279413_1 (pct_route_available VARCHAR, country VARCHAR)",
"role": "system"
},
{
"content": "In Tangier Zone, what is the PCT route availibility?",
"role": "user"
},
{
"content": "SELECT pct_route_available FROM table_2279413_1 WHERE country = \"Tangier Zone\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_2279413_1 (pct_route_available VARCHAR, country VARCHAR)<|im_end|>
<|im_start|>user
In Tangier Zone, what is the PCT route availibility?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (competition VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "what is the competition when the date is 16 january 1996?",
"role": "user"
},
{
"content": "SELECT competition FROM table_name_14 WHERE date = \"16 january 1996\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (competition VARCHAR, date VARCHAR)<|im_end|>
<|im_start|>user
what is the competition when the date is 16 january 1996?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (driver VARCHAR, points VARCHAR)",
"role": "system"
},
{
"content": "What is the name of the driver with 6 points?",
"role": "user"
},
{
"content": "SELECT driver FROM table_name_35 WHERE points = 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_35 (driver VARCHAR, points VARCHAR)<|im_end|>
<|im_start|>user
What is the name of the driver with 6 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_10335_1 (current_country_of_location VARCHAR, operational VARCHAR)",
"role": "system"
},
{
"content": "what's the current country of location with operational period of summer of 1941 to 28 june 1944",
"role": "user"
},
{
"content": "SELECT current_country_of_location FROM table_10335_1 WHERE operational = \"Summer of 1941 to 28 June 1944\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_10335_1 (current_country_of_location VARCHAR, operational VARCHAR)<|im_end|>
<|im_start|>user
what's the current country of location with operational period of summer of 1941 to 28 june 1944<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (population INTEGER, official_name VARCHAR, area_km_2 VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest population that has Big Hole Tract 8 (south) as the official name, with an area km 2 greater than 27.82?",
"role": "user"
},
{
"content": "SELECT MIN(population) FROM table_name_50 WHERE official_name = \"big hole tract 8 (south)\" AND area_km_2 > 27.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_50 (population INTEGER, official_name VARCHAR, area_km_2 VARCHAR)<|im_end|>
<|im_start|>user
What is the lowest population that has Big Hole Tract 8 (south) as the official name, with an area km 2 greater than 27.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_25058562_2 (height VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "Name the height for asko esna",
"role": "user"
},
{
"content": "SELECT height FROM table_25058562_2 WHERE player = \"Asko Esna\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_25058562_2 (height VARCHAR, player VARCHAR)<|im_end|>
<|im_start|>user
Name the height for asko esna<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (points_for VARCHAR, losing_bonus VARCHAR, points_against VARCHAR)",
"role": "system"
},
{
"content": "How many points did the club with a losing bonus of 2 and 300 points against have?",
"role": "user"
},
{
"content": "SELECT points_for FROM table_name_44 WHERE losing_bonus = \"2\" AND points_against = \"300\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (points_for VARCHAR, losing_bonus VARCHAR, points_against VARCHAR)<|im_end|>
<|im_start|>user
How many points did the club with a losing bonus of 2 and 300 points against have?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23214833_1 (capacity VARCHAR, team_captain VARCHAR)",
"role": "system"
},
{
"content": "How many people can attend games in the stadium of the team whose captain is Vasil Vasilev?",
"role": "user"
},
{
"content": "SELECT capacity FROM table_23214833_1 WHERE team_captain = \"Vasil Vasilev\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_23214833_1 (capacity VARCHAR, team_captain VARCHAR)<|im_end|>
<|im_start|>user
How many people can attend games in the stadium of the team whose captain is Vasil Vasilev?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (stuid VARCHAR, sex VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)",
"role": "system"
},
{
"content": "Find the number of female students (with F sex) living in Smith Hall",
"role": "user"
},
{
"content": "SELECT COUNT(*) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall' AND T1.sex = 'F'",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (stuid VARCHAR, sex VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)<|im_end|>
<|im_start|>user
Find the number of female students (with F sex) living in Smith Hall<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23285761_7 (record VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What was the record of the game played on January 5?",
"role": "user"
},
{
"content": "SELECT record FROM table_23285761_7 WHERE date = \"January 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_23285761_7 (record VARCHAR, date VARCHAR)<|im_end|>
<|im_start|>user
What was the record of the game played on January 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_7 (engine VARCHAR, year VARCHAR, points VARCHAR)",
"role": "system"
},
{
"content": "what is the engine for year less than 1959 and points more than 4?",
"role": "user"
},
{
"content": "SELECT engine FROM table_name_7 WHERE year < 1959 AND points > 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_7 (engine VARCHAR, year VARCHAR, points VARCHAR)<|im_end|>
<|im_start|>user
what is the engine for year less than 1959 and points more than 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 students (cell_mobile_number VARCHAR, first_name VARCHAR, last_name VARCHAR)",
"role": "system"
},
{
"content": "What is the mobile phone number of the student named Timmothy Ward ?",
"role": "user"
},
{
"content": "SELECT cell_mobile_number FROM students WHERE first_name = 'timmothy' AND last_name = 'ward'",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE students (cell_mobile_number VARCHAR, first_name VARCHAR, last_name VARCHAR)<|im_end|>
<|im_start|>user
What is the mobile phone number of the student named Timmothy Ward ?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2182562_2 (winnings VARCHAR, starts VARCHAR)",
"role": "system"
},
{
"content": "How high was the amount of winnings (in $) in the year with 15 starts?",
"role": "user"
},
{
"content": "SELECT winnings FROM table_2182562_2 WHERE starts = 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_2182562_2 (winnings VARCHAR, starts VARCHAR)<|im_end|>
<|im_start|>user
How high was the amount of winnings (in $) in the year with 15 starts?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_41 (team VARCHAR, best VARCHAR)",
"role": "system"
},
{
"content": "What Team had a 1:25.602 Best?",
"role": "user"
},
{
"content": "SELECT team FROM table_name_41 WHERE best = \"1:25.602\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_41 (team VARCHAR, best VARCHAR)<|im_end|>
<|im_start|>user
What Team had a 1:25.602 Best?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_15 (country VARCHAR, mountain VARCHAR, height__m_ VARCHAR, range VARCHAR)",
"role": "system"
},
{
"content": "Which Country has a Height (m) larger than 4100, and a Range of arsi mountains, and a Mountain of bada?",
"role": "user"
},
{
"content": "SELECT country FROM table_name_15 WHERE height__m_ > 4100 AND range = \"arsi mountains\" AND mountain = \"bada\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_15 (country VARCHAR, mountain VARCHAR, height__m_ VARCHAR, range VARCHAR)<|im_end|>
<|im_start|>user
Which Country has a Height (m) larger than 4100, and a Range of arsi mountains, and a Mountain of bada?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_27614707_1 (week__number VARCHAR, result VARCHAR)",
"role": "system"
},
{
"content": "What week number was the result bottom 3?",
"role": "user"
},
{
"content": "SELECT week__number FROM table_27614707_1 WHERE result = \"Bottom 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_27614707_1 (week__number VARCHAR, result VARCHAR)<|im_end|>
<|im_start|>user
What week number was the result bottom 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 party (YEAR VARCHAR, Governor VARCHAR)",
"role": "system"
},
{
"content": "In which distinct years was the governor \"Eliot Spitzer\"?",
"role": "user"
},
{
"content": "SELECT DISTINCT YEAR FROM party WHERE Governor = \"Eliot Spitzer\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE party (YEAR VARCHAR, Governor VARCHAR)<|im_end|>
<|im_start|>user
In which distinct years was the governor "Eliot Spitzer"?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (location VARCHAR, distance__km_ VARCHAR, rapid VARCHAR)",
"role": "system"
},
{
"content": "What location is less than 7.1 km away, and has a Rapid of ●?",
"role": "user"
},
{
"content": "SELECT location FROM table_name_77 WHERE distance__km_ < 7.1 AND rapid = \"●\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (location VARCHAR, distance__km_ VARCHAR, rapid VARCHAR)<|im_end|>
<|im_start|>user
What location is less than 7.1 km away, and has a Rapid 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_58 (driver___rider VARCHAR, car___motorcycle VARCHAR)",
"role": "system"
},
{
"content": "Which driver is Indian?",
"role": "user"
},
{
"content": "SELECT driver___rider FROM table_name_58 WHERE car___motorcycle = \"indian\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_58 (driver___rider VARCHAR, car___motorcycle VARCHAR)<|im_end|>
<|im_start|>user
Which driver is Indian?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (opposition VARCHAR, year VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "Which Opposition has a Year smaller than 1911, and a Venue of old trafford?",
"role": "user"
},
{
"content": "SELECT opposition FROM table_name_51 WHERE year < 1911 AND venue = \"old trafford\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (opposition VARCHAR, year VARCHAR, venue VARCHAR)<|im_end|>
<|im_start|>user
Which Opposition has a Year smaller than 1911, and a Venue of old trafford?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_14903627_1 (year VARCHAR, mens_doubles VARCHAR)",
"role": "system"
},
{
"content": "HOW MANY YEARS DID MENS DOUBLES PLAYER HEIKI SORGE MEELIS MAISTE PLAY?",
"role": "user"
},
{
"content": "SELECT COUNT(year) FROM table_14903627_1 WHERE mens_doubles = \"Heiki Sorge Meelis Maiste\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_14903627_1 (year VARCHAR, mens_doubles VARCHAR)<|im_end|>
<|im_start|>user
HOW MANY YEARS DID MENS DOUBLES PLAYER HEIKI SORGE MEELIS MAISTE PLAY?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_58 (record VARCHAR, high_points VARCHAR)",
"role": "system"
},
{
"content": "Which Record has a High points of hoffman (16)?",
"role": "user"
},
{
"content": "SELECT record FROM table_name_58 WHERE high_points = \"hoffman (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_58 (record VARCHAR, high_points VARCHAR)<|im_end|>
<|im_start|>user
Which Record has a High points of hoffman (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_1852650_1 (starting_from INTEGER, name_of_the_prabandham VARCHAR)",
"role": "system"
},
{
"content": "Name the starting from thiruvezhukkurrirukkai",
"role": "user"
},
{
"content": "SELECT MIN(starting_from) FROM table_1852650_1 WHERE name_of_the_prabandham = \"Thiruvezhukkurrirukkai\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_1852650_1 (starting_from INTEGER, name_of_the_prabandham VARCHAR)<|im_end|>
<|im_start|>user
Name the starting from thiruvezhukkurrirukkai<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (director VARCHAR, producer VARCHAR)",
"role": "system"
},
{
"content": "What is the name of the director who directed the movie that Raintree Pictures produced?",
"role": "user"
},
{
"content": "SELECT director FROM table_name_13 WHERE producer = \"raintree pictures\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (director VARCHAR, producer VARCHAR)<|im_end|>
<|im_start|>user
What is the name of the director who directed the movie that Raintree Pictures produced?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_9 (country VARCHAR, place VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "Which country has t6 as a place and 75-70=145 as the score?",
"role": "user"
},
{
"content": "SELECT country FROM table_name_9 WHERE place = \"t6\" AND score = 75 - 70 = 145",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_9 (country VARCHAR, place VARCHAR, score VARCHAR)<|im_end|>
<|im_start|>user
Which country has t6 as a place and 75-70=145 as the 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_23292220_7 (scores VARCHAR, episode VARCHAR)",
"role": "system"
},
{
"content": "Name the number of scores for episode 7x05",
"role": "user"
},
{
"content": "SELECT COUNT(scores) FROM table_23292220_7 WHERE episode = \"7x05\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_23292220_7 (scores VARCHAR, episode VARCHAR)<|im_end|>
<|im_start|>user
Name the number of scores for episode 7x05<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_29225103_2 (ep_winning_team VARCHAR, cp_winning_team VARCHAR, gm_winning_team VARCHAR)",
"role": "system"
},
{
"content": "Who was the EP winning team when the CP winning team was Dave Clark and the GM winning team was Stuart Northrup?",
"role": "user"
},
{
"content": "SELECT ep_winning_team FROM table_29225103_2 WHERE cp_winning_team = \"Dave Clark\" AND gm_winning_team = \"Stuart Northrup\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_29225103_2 (ep_winning_team VARCHAR, cp_winning_team VARCHAR, gm_winning_team VARCHAR)<|im_end|>
<|im_start|>user
Who was the EP winning team when the CP winning team was Dave Clark and the GM winning team was Stuart Northrup?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_13258806_2 (date VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "When was the record of 0-1 set?",
"role": "user"
},
{
"content": "SELECT date FROM table_13258806_2 WHERE record = \"0-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_13258806_2 (date VARCHAR, record VARCHAR)<|im_end|>
<|im_start|>user
When was the record of 0-1 set?<|im_end|>
|