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_16226584_1 (length_feet VARCHAR, length_meters VARCHAR)",
"role": "system"
},
{
"content": "How many feet in length are there when the length is 106.1 meters? ",
"role": "user"
},
{
"content": "SELECT COUNT(length_feet) FROM table_16226584_1 WHERE length_meters = \"106.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_16226584_1 (length_feet VARCHAR, length_meters VARCHAR)<|im_end|>
<|im_start|>user
How many feet in length are there when the length is 106.1 meters? <|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (division_southwest VARCHAR, division_north VARCHAR)",
"role": "system"
},
{
"content": "Who won Division Southwest when Madžari Solidarnost won Division North?",
"role": "user"
},
{
"content": "SELECT division_southwest FROM table_name_4 WHERE division_north = \"madžari solidarnost\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (division_southwest VARCHAR, division_north VARCHAR)<|im_end|>
<|im_start|>user
Who won Division Southwest when Madžari Solidarnost won Division North?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_12562214_1 (date__from_ VARCHAR, date__to_ VARCHAR)",
"role": "system"
},
{
"content": "what is the date (from) where date (to) is 1919?",
"role": "user"
},
{
"content": "SELECT date__from_ FROM table_12562214_1 WHERE date__to_ = \"1919\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_12562214_1 (date__from_ VARCHAR, date__to_ VARCHAR)<|im_end|>
<|im_start|>user
what is the date (from) where date (to) is 1919?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11963601_11 (location_attendance VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Where was the game on May 15 and how many were in attendance? ",
"role": "user"
},
{
"content": "SELECT location_attendance FROM table_11963601_11 WHERE date = \"May 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_11963601_11 (location_attendance VARCHAR, date VARCHAR)<|im_end|>
<|im_start|>user
Where was the game on May 15 and how many 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_10128185_2 (wales INTEGER, northern_england VARCHAR)",
"role": "system"
},
{
"content": "How many votes did Wales cast when Northern England cast 6?",
"role": "user"
},
{
"content": "SELECT MIN(wales) FROM table_10128185_2 WHERE northern_england = 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_10128185_2 (wales INTEGER, northern_england VARCHAR)<|im_end|>
<|im_start|>user
How many votes did Wales cast when Northern England cast 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_26375386_20 (couple VARCHAR, vote_percentage VARCHAR)",
"role": "system"
},
{
"content": "what couple had a vote percentage of 5.8%?",
"role": "user"
},
{
"content": "SELECT couple FROM table_26375386_20 WHERE vote_percentage = \"5.8%\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_26375386_20 (couple VARCHAR, vote_percentage VARCHAR)<|im_end|>
<|im_start|>user
what couple had a vote percentage of 5.8%?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_2 (top_25 INTEGER, wins INTEGER)",
"role": "system"
},
{
"content": "What is the lowest Top-25 with Wins less than 0?",
"role": "user"
},
{
"content": "SELECT MIN(top_25) FROM table_name_2 WHERE 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_2 (top_25 INTEGER, wins INTEGER)<|im_end|>
<|im_start|>user
What is the lowest Top-25 with Wins less than 0?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_41 (round INTEGER, overall VARCHAR, position VARCHAR, college VARCHAR)",
"role": "system"
},
{
"content": "What's the average round for the OT position from tulane college with an overall over 38?",
"role": "user"
},
{
"content": "SELECT AVG(round) FROM table_name_41 WHERE position = \"ot\" AND college = \"tulane\" AND overall > 38",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_41 (round INTEGER, overall VARCHAR, position VARCHAR, college VARCHAR)<|im_end|>
<|im_start|>user
What's the average round for the OT position from tulane college with an overall over 38?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15597975_2 (pa INTEGER, stolen_ends VARCHAR)",
"role": "system"
},
{
"content": "When the stolen ends equal 5 whats the amount of pa?",
"role": "user"
},
{
"content": "SELECT MAX(pa) FROM table_15597975_2 WHERE stolen_ends = 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_15597975_2 (pa INTEGER, stolen_ends VARCHAR)<|im_end|>
<|im_start|>user
When the stolen ends equal 5 whats the amount of pa?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (result VARCHAR, losses VARCHAR)",
"role": "system"
},
{
"content": "What is Result, when Losses is \"Did Not Qualify\"?",
"role": "user"
},
{
"content": "SELECT result FROM table_name_41 WHERE losses = \"did not qualify\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (result VARCHAR, losses VARCHAR)<|im_end|>
<|im_start|>user
What is Result, when Losses is "Did Not Qualify"?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (gfl_premierships VARCHAR, home_ground VARCHAR)",
"role": "system"
},
{
"content": "What's the GFL Premiership when the home ground was Leopold Memorial Park?",
"role": "user"
},
{
"content": "SELECT gfl_premierships FROM table_name_4 WHERE home_ground = \"leopold memorial park\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (gfl_premierships VARCHAR, home_ground VARCHAR)<|im_end|>
<|im_start|>user
What's the GFL Premiership when the home ground was Leopold Memorial Park?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (country VARCHAR, rank VARCHAR)",
"role": "system"
},
{
"content": "What country was rank 4?",
"role": "user"
},
{
"content": "SELECT country FROM table_name_43 WHERE rank = \"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_43 (country VARCHAR, rank VARCHAR)<|im_end|>
<|im_start|>user
What country was rank 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_17001658_5 (score VARCHAR, game VARCHAR)",
"role": "system"
},
{
"content": "What was the final score in game 15? ",
"role": "user"
},
{
"content": "SELECT score FROM table_17001658_5 WHERE game = 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_17001658_5 (score VARCHAR, game VARCHAR)<|im_end|>
<|im_start|>user
What was the final score in game 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 INVOICES (Product_ID VARCHAR)",
"role": "system"
},
{
"content": "What is the product ID of the most frequently ordered item on invoices?",
"role": "user"
},
{
"content": "SELECT Product_ID FROM INVOICES GROUP BY Product_ID 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 INVOICES (Product_ID VARCHAR)<|im_end|>
<|im_start|>user
What is the product ID of the most frequently ordered item on invoices?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (date VARCHAR, loss VARCHAR)",
"role": "system"
},
{
"content": "What date was the loss of ponson (4–3)?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_68 WHERE loss = \"ponson (4–3)\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_68 (date VARCHAR, loss VARCHAR)<|im_end|>
<|im_start|>user
What date was the loss of ponson (4–3)?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_68 (organized_by VARCHAR, church_name VARCHAR)",
"role": "system"
},
{
"content": "Who organized Alston Church?",
"role": "user"
},
{
"content": "SELECT organized_by FROM table_name_68 WHERE church_name = \"alston church\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (organized_by VARCHAR, church_name VARCHAR)<|im_end|>
<|im_start|>user
Who organized Alston Church?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (date_of_death VARCHAR, date_of_birth VARCHAR)",
"role": "system"
},
{
"content": "When did the person born 24 September 1851 pass away?",
"role": "user"
},
{
"content": "SELECT date_of_death FROM table_name_66 WHERE date_of_birth = \"24 september 1851\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (date_of_death VARCHAR, date_of_birth VARCHAR)<|im_end|>
<|im_start|>user
When did the person born 24 September 1851 pass away?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (bronze INTEGER, rank VARCHAR, silver VARCHAR)",
"role": "system"
},
{
"content": "what is the least bronze when the rank is 3 and silver is less than 2?",
"role": "user"
},
{
"content": "SELECT MIN(bronze) FROM table_name_3 WHERE rank = \"3\" AND silver < 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_3 (bronze INTEGER, rank VARCHAR, silver VARCHAR)<|im_end|>
<|im_start|>user
what is the least bronze when the rank is 3 and silver is less than 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_29 (grid INTEGER, driver VARCHAR)",
"role": "system"
},
{
"content": "What was the smallest grid for Prince bira?",
"role": "user"
},
{
"content": "SELECT MIN(grid) FROM table_name_29 WHERE driver = \"prince bira\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_29 (grid INTEGER, driver VARCHAR)<|im_end|>
<|im_start|>user
What was the smallest grid for Prince bira?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_10121127_1 (australian_role VARCHAR, un_operation_name VARCHAR)",
"role": "system"
},
{
"content": "What is Australia's role in the UN operation Unama?",
"role": "user"
},
{
"content": "SELECT australian_role FROM table_10121127_1 WHERE un_operation_name = \"UNAMA\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_10121127_1 (australian_role VARCHAR, un_operation_name VARCHAR)<|im_end|>
<|im_start|>user
What is Australia's role in the UN operation Unama?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (ntfa_div_1 VARCHAR, draws VARCHAR, wins VARCHAR)",
"role": "system"
},
{
"content": "What is the NTFA Div 1 team that has 15 wins and less than 1 draw?",
"role": "user"
},
{
"content": "SELECT ntfa_div_1 FROM table_name_30 WHERE draws < 1 AND wins = 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_30 (ntfa_div_1 VARCHAR, draws VARCHAR, wins VARCHAR)<|im_end|>
<|im_start|>user
What is the NTFA Div 1 team that has 15 wins and less than 1 draw?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (score VARCHAR, home_team VARCHAR)",
"role": "system"
},
{
"content": "What is the score when parkgate is at home?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_38 WHERE home_team = \"parkgate\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (score VARCHAR, home_team VARCHAR)<|im_end|>
<|im_start|>user
What is the score when parkgate is at home?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_14058433_4 (points_against VARCHAR, won VARCHAR)",
"role": "system"
},
{
"content": "what's the points against with won being 11",
"role": "user"
},
{
"content": "SELECT points_against FROM table_14058433_4 WHERE won = \"11\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_14058433_4 (points_against VARCHAR, won VARCHAR)<|im_end|>
<|im_start|>user
what's the points against with won being 11<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_25 (date VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "On what date was the Blue Jays record 60-56?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_25 WHERE record = \"60-56\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (date VARCHAR, record VARCHAR)<|im_end|>
<|im_start|>user
On what date was the Blue Jays record 60-56?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22355_50 (silver INTEGER)",
"role": "system"
},
{
"content": "What is the least number of silver medals won",
"role": "user"
},
{
"content": "SELECT MIN(silver) FROM table_22355_50",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_22355_50 (silver INTEGER)<|im_end|>
<|im_start|>user
What is the least number of silver medals won<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (language VARCHAR, service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)",
"role": "system"
},
{
"content": "Which language has Programming from India, general genre, a network of ptc punjabi and bell fibe tv service?",
"role": "user"
},
{
"content": "SELECT language FROM table_name_80 WHERE origin_of_programming = \"india\" AND genre = \"general\" AND network = \"ptc punjabi\" AND service = \"bell fibe tv\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (language VARCHAR, service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)<|im_end|>
<|im_start|>user
Which language has Programming from India, general genre, a network of ptc punjabi and bell fibe tv service?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (laps INTEGER, grid VARCHAR)",
"role": "system"
},
{
"content": "What's the most laps when grid is 16?",
"role": "user"
},
{
"content": "SELECT MAX(laps) FROM table_name_93 WHERE grid = 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_93 (laps INTEGER, grid VARCHAR)<|im_end|>
<|im_start|>user
What's the most laps when grid 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_name_64 (distance VARCHAR, pilot VARCHAR)",
"role": "system"
},
{
"content": "What is Distance, when Pilot is \"Stanislaw Wujczak\"?",
"role": "user"
},
{
"content": "SELECT distance FROM table_name_64 WHERE pilot = \"stanislaw wujczak\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (distance VARCHAR, pilot VARCHAR)<|im_end|>
<|im_start|>user
What is Distance, when Pilot is "Stanislaw Wujczak"?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_98 (title VARCHAR, tracks VARCHAR)",
"role": "system"
},
{
"content": "What movie has noxialicht as a track?",
"role": "user"
},
{
"content": "SELECT title FROM table_name_98 WHERE tracks = \"noxialicht\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_98 (title VARCHAR, tracks VARCHAR)<|im_end|>
<|im_start|>user
What movie has noxialicht as a track?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_29 (edges INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR)",
"role": "system"
},
{
"content": "Which Edges have a Dual Archimedean solid of truncated icosidodecahedron, and Vertices larger than 62?",
"role": "user"
},
{
"content": "SELECT MIN(edges) FROM table_name_29 WHERE dual_archimedean_solid = \"truncated icosidodecahedron\" AND vertices > 62",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_29 (edges INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR)<|im_end|>
<|im_start|>user
Which Edges have a Dual Archimedean solid of truncated icosidodecahedron, and Vertices larger than 62?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (played INTEGER, place INTEGER)",
"role": "system"
},
{
"content": "What is listed as the Highest Played and that has a Place that is larger than 10?",
"role": "user"
},
{
"content": "SELECT MAX(played) FROM table_name_9 WHERE place > 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_9 (played INTEGER, place INTEGER)<|im_end|>
<|im_start|>user
What is listed as the Highest Played and that has a Place that is larger 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_name_7 (draw INTEGER, played VARCHAR, lost VARCHAR)",
"role": "system"
},
{
"content": "What is the least ties when they played less than 14 games, and a lost less than 8 of them?",
"role": "user"
},
{
"content": "SELECT MIN(draw) FROM table_name_7 WHERE played < 14 AND lost < 8",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_7 (draw INTEGER, played VARCHAR, lost VARCHAR)<|im_end|>
<|im_start|>user
What is the least ties when they played less than 14 games, and a lost less than 8 of them?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_42 (gene VARCHAR, route_of_administration VARCHAR, status VARCHAR)",
"role": "system"
},
{
"content": "Which gene is ongoing and has an intramuscular route of administration?",
"role": "user"
},
{
"content": "SELECT gene FROM table_name_42 WHERE route_of_administration = \"intramuscular\" AND status = \"ongoing\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_42 (gene VARCHAR, route_of_administration VARCHAR, status VARCHAR)<|im_end|>
<|im_start|>user
Which gene is ongoing and has an intramuscular route of administration?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_91 (location VARCHAR, stadium VARCHAR)",
"role": "system"
},
{
"content": "Where is the Stadium of Gortakeegan located?",
"role": "user"
},
{
"content": "SELECT location FROM table_name_91 WHERE stadium = \"gortakeegan\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_91 (location VARCHAR, stadium VARCHAR)<|im_end|>
<|im_start|>user
Where is the Stadium of Gortakeegan located?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (points VARCHAR, played VARCHAR, club VARCHAR)",
"role": "system"
},
{
"content": "What is Points, when Played is \"20\", and when Club is \"Caldicot RFC\"?",
"role": "user"
},
{
"content": "SELECT points FROM table_name_64 WHERE played = \"20\" AND club = \"caldicot rfc\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (points VARCHAR, played VARCHAR, club VARCHAR)<|im_end|>
<|im_start|>user
What is Points, when Played is "20", and when Club is "Caldicot RFC"?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (attendance VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "What was the attendance when they played at Dallas Cowboys?",
"role": "user"
},
{
"content": "SELECT attendance FROM table_name_69 WHERE opponent = \"at dallas cowboys\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (attendance VARCHAR, opponent VARCHAR)<|im_end|>
<|im_start|>user
What was the attendance when they played at Dallas Cowboys?<|im_end|>
|
[
{
"content": "You are an text to SQL query 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 (camp VARCHAR, estimated_deaths VARCHAR)",
"role": "system"
},
{
"content": "what's the camp with estimated deaths of 600,000",
"role": "user"
},
{
"content": "SELECT camp FROM table_10335_1 WHERE estimated_deaths = \"600,000\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_10335_1 (camp VARCHAR, estimated_deaths VARCHAR)<|im_end|>
<|im_start|>user
what's the camp with estimated deaths of 600,000<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23274514_8 (date VARCHAR, location_attendance VARCHAR)",
"role": "system"
},
{
"content": "On what date was the attendance at TD Garden 18,624?",
"role": "user"
},
{
"content": "SELECT date FROM table_23274514_8 WHERE location_attendance = \"TD Garden 18,624\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_23274514_8 (date VARCHAR, location_attendance VARCHAR)<|im_end|>
<|im_start|>user
On what date was the attendance at TD Garden 18,624?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (total INTEGER, rank VARCHAR, bronze VARCHAR)",
"role": "system"
},
{
"content": "What is the sum of Total, when Rank is 8, and when Bronze is less than 1?",
"role": "user"
},
{
"content": "SELECT SUM(total) FROM table_name_95 WHERE rank = \"8\" AND bronze < 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_95 (total INTEGER, rank VARCHAR, bronze VARCHAR)<|im_end|>
<|im_start|>user
What is the sum of Total, when Rank is 8, and when Bronze is less than 1?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_2 (manuals VARCHAR, opus VARCHAR)",
"role": "system"
},
{
"content": "What are the manuals with an opus of 147?",
"role": "user"
},
{
"content": "SELECT manuals FROM table_name_2 WHERE opus = \"147\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_2 (manuals VARCHAR, opus VARCHAR)<|im_end|>
<|im_start|>user
What are the manuals with an opus of 147?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_75 (cancelable VARCHAR, attribute VARCHAR)",
"role": "system"
},
{
"content": "For the attribute of onpointerout, what is the cancelable?",
"role": "user"
},
{
"content": "SELECT cancelable FROM table_name_75 WHERE attribute = \"onpointerout\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (cancelable VARCHAR, attribute VARCHAR)<|im_end|>
<|im_start|>user
For the attribute of onpointerout, what is the cancelable?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18862490_2 (to_par VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "What score to par won in 1998?",
"role": "user"
},
{
"content": "SELECT to_par FROM table_18862490_2 WHERE year = 1998",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_18862490_2 (to_par VARCHAR, year VARCHAR)<|im_end|>
<|im_start|>user
What score to par won in 1998?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25342713_5 (steals VARCHAR, rebounds VARCHAR)",
"role": "system"
},
{
"content": "If the rebounds are at 87, what are the amount of steals?",
"role": "user"
},
{
"content": "SELECT steals FROM table_25342713_5 WHERE rebounds = 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_25342713_5 (steals VARCHAR, rebounds VARCHAR)<|im_end|>
<|im_start|>user
If the rebounds are at 87, what are the amount of steals?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15318779_1 (won INTEGER, team VARCHAR)",
"role": "system"
},
{
"content": "How many games did Palmeiras win?",
"role": "user"
},
{
"content": "SELECT MAX(won) FROM table_15318779_1 WHERE team = \"Palmeiras\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_15318779_1 (won INTEGER, team VARCHAR)<|im_end|>
<|im_start|>user
How many games did Palmeiras 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_name_21 (name VARCHAR, birth VARCHAR)",
"role": "system"
},
{
"content": "Who has a birth of 16 august 1401?",
"role": "user"
},
{
"content": "SELECT name FROM table_name_21 WHERE birth = \"16 august 1401\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (name VARCHAR, birth VARCHAR)<|im_end|>
<|im_start|>user
Who has a birth of 16 august 1401?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (status VARCHAR)",
"role": "system"
},
{
"content": "When the role is role what was the status?",
"role": "user"
},
{
"content": "SELECT status FROM table_name_14 WHERE \"role\" = \"role\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (status VARCHAR)<|im_end|>
<|im_start|>user
When the role is role what was the status?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (obesity_rank INTEGER, obese_children_and_adolescents VARCHAR)",
"role": "system"
},
{
"content": "What's the rank when the obese children and adolescent count is 14.2%?",
"role": "user"
},
{
"content": "SELECT SUM(obesity_rank) FROM table_name_74 WHERE obese_children_and_adolescents = \"14.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_74 (obesity_rank INTEGER, obese_children_and_adolescents VARCHAR)<|im_end|>
<|im_start|>user
What's the rank when the obese children and adolescent count is 14.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_18365784_3 (going_to VARCHAR, calling_at VARCHAR)",
"role": "system"
},
{
"content": "What was the train destination when it has a calling at Boston, Sleaford, Nottingham Victoria?",
"role": "user"
},
{
"content": "SELECT going_to FROM table_18365784_3 WHERE calling_at = \"Boston, Sleaford, Nottingham Victoria\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_18365784_3 (going_to VARCHAR, calling_at VARCHAR)<|im_end|>
<|im_start|>user
What was the train destination when it has a calling at Boston, Sleaford, Nottingham Victoria?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (money___ INTEGER, score VARCHAR)",
"role": "system"
},
{
"content": "What is the most money for the score 75-74-72-67=288?",
"role": "user"
},
{
"content": "SELECT MAX(money___) AS $__ FROM table_name_16 WHERE score = 75 - 74 - 72 - 67 = 288",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (money___ INTEGER, score VARCHAR)<|im_end|>
<|im_start|>user
What is the most money for the score 75-74-72-67=288?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (place VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What is the Place that has a Date of 22 august 2004?",
"role": "user"
},
{
"content": "SELECT place FROM table_name_92 WHERE date = \"22 august 2004\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (place VARCHAR, date VARCHAR)<|im_end|>
<|im_start|>user
What is the Place that has a Date of 22 august 2004?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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, b_score VARCHAR, gymnast VARCHAR)",
"role": "system"
},
{
"content": "What is the total when the B Score was 9.15 for Cheng Fei ( chn )?",
"role": "user"
},
{
"content": "SELECT AVG(total) FROM table_name_70 WHERE b_score = 9.15 AND gymnast = \"cheng fei ( chn )\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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, b_score VARCHAR, gymnast VARCHAR)<|im_end|>
<|im_start|>user
What is the total when the B Score was 9.15 for Cheng Fei ( chn )?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (silver INTEGER, bronze VARCHAR, rank VARCHAR, total VARCHAR)",
"role": "system"
},
{
"content": "On average, what is the number of silver medals for nations ranking higher than 7, with a total of 6 medals and fewer than 2 bronze medals?",
"role": "user"
},
{
"content": "SELECT AVG(silver) FROM table_name_38 WHERE rank > 7 AND total = 6 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_38 (silver INTEGER, bronze VARCHAR, rank VARCHAR, total VARCHAR)<|im_end|>
<|im_start|>user
On average, what is the number of silver medals for nations ranking higher than 7, with a total of 6 medals and fewer than 2 bronze medals?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_29 (score VARCHAR, date VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "What is the score of the game that was played on 29 November at State Sports Centre?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_29 WHERE date = \"29 november\" AND venue = \"state sports centre\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_29 (score VARCHAR, date VARCHAR, venue VARCHAR)<|im_end|>
<|im_start|>user
What is the score of the game that was played on 29 November at State Sports Centre?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (venue VARCHAR, result VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "what is the venue when the result is loss and the opponent is st george-illawarra dragons?",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_58 WHERE result = \"loss\" AND opponent = \"st george-illawarra dragons\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (venue VARCHAR, result VARCHAR, opponent VARCHAR)<|im_end|>
<|im_start|>user
what is the venue when the result is loss and the opponent is st george-illawarra dragons?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23014923_1 (season VARCHAR, minor__south__winners VARCHAR)",
"role": "system"
},
{
"content": "What is the season date if the minor (South) winners is Bristol Sanctuary XI?",
"role": "user"
},
{
"content": "SELECT season FROM table_23014923_1 WHERE minor__south__winners = \"Bristol Sanctuary XI\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_23014923_1 (season VARCHAR, minor__south__winners VARCHAR)<|im_end|>
<|im_start|>user
What is the season date if the minor (South) winners is Bristol Sanctuary XI?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_14929574_3 (series__number VARCHAR, us_viewers__million_ VARCHAR)",
"role": "system"
},
{
"content": "Which episode number drew in 3.35 million viewers in the United States?",
"role": "user"
},
{
"content": "SELECT COUNT(series__number) FROM table_14929574_3 WHERE us_viewers__million_ = \"3.35\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_14929574_3 (series__number VARCHAR, us_viewers__million_ VARCHAR)<|im_end|>
<|im_start|>user
Which episode number drew in 3.35 million viewers in the United States?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18173916_8 (wednesday VARCHAR, thursday VARCHAR)",
"role": "system"
},
{
"content": "which episode was Transmitted on wednesday if the episode of \"438 magic: the gathering mini masters tournament\" was transmitted on thursday? ",
"role": "user"
},
{
"content": "SELECT wednesday FROM table_18173916_8 WHERE thursday = \"438 Magic: The Gathering Mini Masters Tournament\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_18173916_8 (wednesday VARCHAR, thursday VARCHAR)<|im_end|>
<|im_start|>user
which episode was Transmitted on wednesday if the episode of "438 magic: the gathering mini masters tournament" was transmitted on thursday? <|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (venue VARCHAR, against VARCHAR, opposing_teams VARCHAR)",
"role": "system"
},
{
"content": "What is the venue with more than 3 against, and South Africa is the opposing team?",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_55 WHERE against > 3 AND opposing_teams = \"south africa\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_55 (venue VARCHAR, against VARCHAR, opposing_teams VARCHAR)<|im_end|>
<|im_start|>user
What is the venue with more than 3 against, and South Africa is the opposing 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_70 (opposition VARCHAR, social_democrats__a_ VARCHAR)",
"role": "system"
},
{
"content": "What opposition do 31.1% of Social Democrats have?",
"role": "user"
},
{
"content": "SELECT opposition FROM table_name_70 WHERE social_democrats__a_ = \"31.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_70 (opposition VARCHAR, social_democrats__a_ VARCHAR)<|im_end|>
<|im_start|>user
What opposition do 31.1% of Social Democrats have?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_30 (pick VARCHAR, name VARCHAR, round VARCHAR)",
"role": "system"
},
{
"content": "WHAT PICK HAD STEVE HAMILTON IN ROUND LARGER THAN 2?",
"role": "user"
},
{
"content": "SELECT COUNT(pick) FROM table_name_30 WHERE name = \"steve hamilton\" AND round > 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_30 (pick VARCHAR, name VARCHAR, round VARCHAR)<|im_end|>
<|im_start|>user
WHAT PICK HAD STEVE HAMILTON IN ROUND LARGER THAN 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_34 (bronze INTEGER, rank VARCHAR, silver VARCHAR)",
"role": "system"
},
{
"content": "How many bronzes were won for the country that had a larger than 3 rank and a silver win count above 0?",
"role": "user"
},
{
"content": "SELECT SUM(bronze) FROM table_name_34 WHERE rank > 3 AND silver > 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_34 (bronze INTEGER, rank VARCHAR, silver VARCHAR)<|im_end|>
<|im_start|>user
How many bronzes were won for the country that had a larger than 3 rank and a silver win count above 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_97 (year_born INTEGER, player VARCHAR, height VARCHAR)",
"role": "system"
},
{
"content": "When was radek necas with less than 2.04 height born?",
"role": "user"
},
{
"content": "SELECT AVG(year_born) FROM table_name_97 WHERE player = \"radek necas\" AND height < 2.04",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_97 (year_born INTEGER, player VARCHAR, height VARCHAR)<|im_end|>
<|im_start|>user
When was radek necas with less than 2.04 height born?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2263152_1 (version VARCHAR, features VARCHAR, distribution_mechanism VARCHAR)",
"role": "system"
},
{
"content": "If the distribution mechanism is windows nt 4.0 option pack Microsoft office 97 and the features is service release, what is the version?",
"role": "user"
},
{
"content": "SELECT version FROM table_2263152_1 WHERE features = \"Service release\" AND distribution_mechanism = \"Windows NT 4.0 Option Pack Microsoft Office 97\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_2263152_1 (version VARCHAR, features VARCHAR, distribution_mechanism VARCHAR)<|im_end|>
<|im_start|>user
If the distribution mechanism is windows nt 4.0 option pack Microsoft office 97 and the features is service release, what is the version?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (country VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "Which country has a score of 70-66=136?",
"role": "user"
},
{
"content": "SELECT country FROM table_name_31 WHERE score = 70 - 66 = 136",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (country VARCHAR, score VARCHAR)<|im_end|>
<|im_start|>user
Which country has a score of 70-66=136?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (branding VARCHAR, frequency VARCHAR)",
"role": "system"
},
{
"content": "What is the Branding of Frequency 00 94.5?",
"role": "user"
},
{
"content": "SELECT branding FROM table_name_70 WHERE frequency = \"00 94.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_70 (branding VARCHAR, frequency VARCHAR)<|im_end|>
<|im_start|>user
What is the Branding of Frequency 00 94.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_24620684_2 (vehicle VARCHAR, epa_rated_combined_fuel_economy VARCHAR)",
"role": "system"
},
{
"content": "When 102 mpg-e (33kw-hrs/100mi) is the epa rated combined fuel economy what is the vehicle type? ",
"role": "user"
},
{
"content": "SELECT vehicle FROM table_24620684_2 WHERE epa_rated_combined_fuel_economy = \"102 mpg-e (33kW-hrs/100mi)\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_24620684_2 (vehicle VARCHAR, epa_rated_combined_fuel_economy VARCHAR)<|im_end|>
<|im_start|>user
When 102 mpg-e (33kw-hrs/100mi) is the epa rated combined fuel economy what is the vehicle type? <|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_13 (placing VARCHAR, horse VARCHAR)",
"role": "system"
},
{
"content": "What place was the viewed horse?",
"role": "user"
},
{
"content": "SELECT placing FROM table_name_13 WHERE horse = \"viewed\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (placing VARCHAR, horse VARCHAR)<|im_end|>
<|im_start|>user
What place was the viewed horse?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (home VARCHAR, visitor VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "Which home team had a visitor of Chicago Black Hawks with a score of 2–3?",
"role": "user"
},
{
"content": "SELECT home FROM table_name_87 WHERE visitor = \"chicago black hawks\" AND score = \"2–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_87 (home VARCHAR, visitor VARCHAR, score VARCHAR)<|im_end|>
<|im_start|>user
Which home team had a visitor of Chicago Black Hawks with a score of 2–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_66 (assists VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "What is the assists for the year 1995?",
"role": "user"
},
{
"content": "SELECT assists FROM table_name_66 WHERE year = \"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_66 (assists VARCHAR, year VARCHAR)<|im_end|>
<|im_start|>user
What is the assists for the year 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_32 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "What is the average expenditures on R&D for Croatia after 2007?",
"role": "user"
},
{
"content": "SELECT AVG(expenditures_on_r) & d__billions_of_us$_, _ppp__ FROM table_name_32 WHERE country_region = \"croatia\" AND year > 2007",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_32 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR)<|im_end|>
<|im_start|>user
What is the average expenditures on R&D for Croatia after 2007?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (stadium VARCHAR, club VARCHAR)",
"role": "system"
},
{
"content": "Which stadium has Seongnam Ilhwa Chunma?",
"role": "user"
},
{
"content": "SELECT stadium FROM table_name_77 WHERE club = \"seongnam ilhwa chunma\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (stadium VARCHAR, club VARCHAR)<|im_end|>
<|im_start|>user
Which stadium has Seongnam Ilhwa Chunma?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18646111_13 (round_3 VARCHAR, class VARCHAR)",
"role": "system"
},
{
"content": "Name the total number of round 3 for class tt1",
"role": "user"
},
{
"content": "SELECT COUNT(round_3) FROM table_18646111_13 WHERE class = \"TT1\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_18646111_13 (round_3 VARCHAR, class VARCHAR)<|im_end|>
<|im_start|>user
Name the total number of round 3 for class tt1<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18047346_5 (tonnes VARCHAR, iata_code VARCHAR)",
"role": "system"
},
{
"content": "How many tonnes of cargo did the airport have with the IATA Code IND?",
"role": "user"
},
{
"content": "SELECT tonnes FROM table_18047346_5 WHERE iata_code = \"IND\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_18047346_5 (tonnes VARCHAR, iata_code VARCHAR)<|im_end|>
<|im_start|>user
How many tonnes of cargo did the airport have with the IATA Code IND?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2308381_2 (poles VARCHAR, avg_start VARCHAR)",
"role": "system"
},
{
"content": "Name the poles for avg start being 4.7",
"role": "user"
},
{
"content": "SELECT poles FROM table_2308381_2 WHERE avg_start = \"4.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_2308381_2 (poles VARCHAR, avg_start VARCHAR)<|im_end|>
<|im_start|>user
Name the poles for avg start being 4.7<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_51 (role VARCHAR, registration VARCHAR)",
"role": "system"
},
{
"content": "What is the role of the aircraft that has a registration of s5-hpb?",
"role": "user"
},
{
"content": "SELECT role FROM table_name_51 WHERE registration = \"s5-hpb\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (role VARCHAR, registration VARCHAR)<|im_end|>
<|im_start|>user
What is the role of the aircraft that has a registration of s5-hpb?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_84 (opened VARCHAR, major_series VARCHAR)",
"role": "system"
},
{
"content": "What shows for opened for the Nascar Major Series?",
"role": "user"
},
{
"content": "SELECT opened FROM table_name_84 WHERE major_series = \"nascar\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_84 (opened VARCHAR, major_series VARCHAR)<|im_end|>
<|im_start|>user
What shows for opened for the Nascar Major Series?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_21373283_3 (date VARCHAR, pole_position VARCHAR, circuit VARCHAR)",
"role": "system"
},
{
"content": "What date did Renger Van Der Zande have the pole position at Donington Park?",
"role": "user"
},
{
"content": "SELECT date FROM table_21373283_3 WHERE pole_position = \"Renger van der Zande\" AND circuit = \"Donington Park\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_21373283_3 (date VARCHAR, pole_position VARCHAR, circuit VARCHAR)<|im_end|>
<|im_start|>user
What date did Renger Van Der Zande have the pole position at Donington Park?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (net_yds INTEGER, long VARCHAR, start VARCHAR)",
"role": "system"
},
{
"content": "What is the average net yds for the player who had a long of 68 and started after 1984?",
"role": "user"
},
{
"content": "SELECT AVG(net_yds) FROM table_name_59 WHERE long = 68 AND start > 1984",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (net_yds INTEGER, long VARCHAR, start VARCHAR)<|im_end|>
<|im_start|>user
What is the average net yds for the player who had a long of 68 and started after 1984?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (game INTEGER, opponent VARCHAR, attendance VARCHAR)",
"role": "system"
},
{
"content": "Which Game has an Opponent of at kansas city chiefs, and an Attendance smaller than 40,213?",
"role": "user"
},
{
"content": "SELECT SUM(game) FROM table_name_60 WHERE opponent = \"at kansas city chiefs\" AND attendance < 40 OFFSET 213",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (game INTEGER, opponent VARCHAR, attendance VARCHAR)<|im_end|>
<|im_start|>user
Which Game has an Opponent of at kansas city chiefs, and an Attendance smaller than 40,213?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_63 (winner VARCHAR, series VARCHAR)",
"role": "system"
},
{
"content": "Who was the winner for ASTC round 8?",
"role": "user"
},
{
"content": "SELECT winner FROM table_name_63 WHERE series = \"astc round 8\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_63 (winner VARCHAR, series VARCHAR)<|im_end|>
<|im_start|>user
Who was the winner for ASTC round 8?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_12 (route INTEGER, elevation VARCHAR)",
"role": "system"
},
{
"content": "Elevation of 12,183 feet 3713 m is what average route?",
"role": "user"
},
{
"content": "SELECT AVG(route) FROM table_name_12 WHERE elevation = \"12,183 feet 3713 m\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (route INTEGER, elevation VARCHAR)<|im_end|>
<|im_start|>user
Elevation of 12,183 feet 3713 m is what average route?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (year VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "In what years did Salina Kosgei compete in Singapore?",
"role": "user"
},
{
"content": "SELECT COUNT(year) FROM table_name_70 WHERE venue = \"singapore\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (year VARCHAR, venue VARCHAR)<|im_end|>
<|im_start|>user
In what years did Salina Kosgei compete in Singapore?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_28019988_2 (written_by VARCHAR, us_viewers__million_ VARCHAR)",
"role": "system"
},
{
"content": "Who wrote the episode that 2.93 million viewers?",
"role": "user"
},
{
"content": "SELECT written_by FROM table_28019988_2 WHERE us_viewers__million_ = \"2.93\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_28019988_2 (written_by VARCHAR, us_viewers__million_ VARCHAR)<|im_end|>
<|im_start|>user
Who wrote the episode that 2.93 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_2208838_4 (played VARCHAR, points VARCHAR)",
"role": "system"
},
{
"content": "How many games were played by the player with 927 points?",
"role": "user"
},
{
"content": "SELECT played FROM table_2208838_4 WHERE points = 927",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_2208838_4 (played VARCHAR, points VARCHAR)<|im_end|>
<|im_start|>user
How many games were played by the player with 927 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_47 (tyre VARCHAR, engine_† VARCHAR, driver VARCHAR)",
"role": "system"
},
{
"content": "what is the tyre when the engine is asiatech at02 and the driver is alex yoong?",
"role": "user"
},
{
"content": "SELECT tyre FROM table_name_47 WHERE engine_† = \"asiatech at02\" AND driver = \"alex yoong\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_47 (tyre VARCHAR, engine_† VARCHAR, driver VARCHAR)<|im_end|>
<|im_start|>user
what is the tyre when the engine is asiatech at02 and the driver is alex yoong?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_29871617_1 (name VARCHAR, family_name VARCHAR)",
"role": "system"
},
{
"content": "What are the names listed in the family il-1f2?",
"role": "user"
},
{
"content": "SELECT name FROM table_29871617_1 WHERE family_name = \"IL-1F2\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_29871617_1 (name VARCHAR, family_name VARCHAR)<|im_end|>
<|im_start|>user
What are the names listed in the family il-1f2?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (goals_against INTEGER, position VARCHAR, points VARCHAR, club VARCHAR)",
"role": "system"
},
{
"content": "What is the highest Goals Against, when Points is greater than 25, when Club is \"SD Indautxu\", and when Position is greater than 3?",
"role": "user"
},
{
"content": "SELECT MAX(goals_against) FROM table_name_21 WHERE points > 25 AND club = \"sd indautxu\" AND position > 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_21 (goals_against INTEGER, position VARCHAR, points VARCHAR, club VARCHAR)<|im_end|>
<|im_start|>user
What is the highest Goals Against, when Points is greater than 25, when Club is "SD Indautxu", and when Position is greater 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_name_20 (tournament VARCHAR, score_in_the_final VARCHAR)",
"role": "system"
},
{
"content": "Tell me the tournament for score in the final of 1–6, 3–6",
"role": "user"
},
{
"content": "SELECT tournament FROM table_name_20 WHERE score_in_the_final = \"1–6, 3–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_20 (tournament VARCHAR, score_in_the_final VARCHAR)<|im_end|>
<|im_start|>user
Tell me the tournament for score in the final of 1–6, 3–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_51 (home_team VARCHAR, away_team VARCHAR)",
"role": "system"
},
{
"content": "Who was the home team that played against Armthorpe Welfare?",
"role": "user"
},
{
"content": "SELECT home_team FROM table_name_51 WHERE away_team = \"armthorpe welfare\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (home_team VARCHAR, away_team VARCHAR)<|im_end|>
<|im_start|>user
Who was the home team that played against Armthorpe Welfare?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_21223773_2 (position VARCHAR, matches_for_nqf VARCHAR)",
"role": "system"
},
{
"content": "If the matches for NQF is 2009, what is the position?",
"role": "user"
},
{
"content": "SELECT position FROM table_21223773_2 WHERE matches_for_nqf = \"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_21223773_2 (position VARCHAR, matches_for_nqf VARCHAR)<|im_end|>
<|im_start|>user
If the matches for NQF is 2009, what is the position?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (pronunciation_a VARCHAR, meaning_a VARCHAR)",
"role": "system"
},
{
"content": "Name the pronunciation for meaning of king",
"role": "user"
},
{
"content": "SELECT pronunciation_a FROM table_name_85 WHERE meaning_a = \"king\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (pronunciation_a VARCHAR, meaning_a VARCHAR)<|im_end|>
<|im_start|>user
Name the pronunciation for meaning of king<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (class VARCHAR)",
"role": "system"
},
{
"content": "What 1958 CIE is class s?",
"role": "user"
},
{
"content": "SELECT 1958 AS _cié FROM table_name_69 WHERE class = \"s\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (class VARCHAR)<|im_end|>
<|im_start|>user
What 1958 CIE is class s?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (home_team VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "What is the home team at princes park?",
"role": "user"
},
{
"content": "SELECT home_team FROM table_name_54 WHERE venue = \"princes park\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (home_team VARCHAR, venue VARCHAR)<|im_end|>
<|im_start|>user
What is the home team at princes park?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_17384764_1 (designation VARCHAR, experience VARCHAR)",
"role": "system"
},
{
"content": "How many faculty members have 20 years of experience? ",
"role": "user"
},
{
"content": "SELECT COUNT(designation) FROM table_17384764_1 WHERE experience = \"20 years\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_17384764_1 (designation VARCHAR, experience VARCHAR)<|im_end|>
<|im_start|>user
How many faculty members have 20 years of experience? <|im_end|>
|
[
{
"content": "You are an text to SQL query translator. 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 (game VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "What game has a 6-12-8 record?",
"role": "user"
},
{
"content": "SELECT game FROM table_name_65 WHERE record = \"6-12-8\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_65 (game VARCHAR, record VARCHAR)<|im_end|>
<|im_start|>user
What game has a 6-12-8 record?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_31 (position VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "What is Alexander Wronski's Position?",
"role": "user"
},
{
"content": "SELECT position FROM table_name_31 WHERE name = \"alexander wronski\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (position VARCHAR, name VARCHAR)<|im_end|>
<|im_start|>user
What is Alexander Wronski's Position?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15872814_3 (team VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Name the team for november 9",
"role": "user"
},
{
"content": "SELECT team FROM table_15872814_3 WHERE date = \"November 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_15872814_3 (team VARCHAR, date VARCHAR)<|im_end|>
<|im_start|>user
Name the team for november 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_4 (written_by VARCHAR, production_code VARCHAR)",
"role": "system"
},
{
"content": "Who wrote the episode that has the production code ad1c05?",
"role": "user"
},
{
"content": "SELECT written_by FROM table_name_4 WHERE production_code = \"ad1c05\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. 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 (written_by VARCHAR, production_code VARCHAR)<|im_end|>
<|im_start|>user
Who wrote the episode that has the production code ad1c05?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_67 (kickoff__et_ VARCHAR, result VARCHAR)",
"role": "system"
},
{
"content": "Which Kickoff (ET) has a Result of w 34–23?",
"role": "user"
},
{
"content": "SELECT kickoff__et_ FROM table_name_67 WHERE result = \"w 34–23\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_67 (kickoff__et_ VARCHAR, result VARCHAR)<|im_end|>
<|im_start|>user
Which Kickoff (ET) has a Result of w 34–23?<|im_end|>
|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_8 (saturday VARCHAR, thursday VARCHAR)",
"role": "system"
},
{
"content": "Which Saturday has a Thursday of 木曜日 mokuyōbi",
"role": "user"
},
{
"content": "SELECT saturday FROM table_name_8 WHERE thursday = \"木曜日 mokuyōbi\"",
"role": "assistant"
}
] | <|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_8 (saturday VARCHAR, thursday VARCHAR)<|im_end|>
<|im_start|>user
Which Saturday has a Thursday of 木曜日 mokuyōbi<|im_end|>
|