messages
listlengths 3
3
|
---|
[
{
"content": "You are an text to SQL query translator. 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 (released INTEGER, pieces VARCHAR, number VARCHAR)",
"role": "system"
},
{
"content": "What was the earliest year with 339 pieces and a number smaller than 7198?",
"role": "user"
},
{
"content": "SELECT MIN(released) FROM table_name_15 WHERE pieces = 339 AND number < 7198",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (work VARCHAR, category VARCHAR)",
"role": "system"
},
{
"content": "What was nominated for the Best Movie category?",
"role": "user"
},
{
"content": "SELECT work FROM table_name_54 WHERE category = \"best movie\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_24364690_1 (federal_subjects VARCHAR)",
"role": "system"
},
{
"content": "What is the minimum 2007 USD in Kabardino-Balkaria?",
"role": "user"
},
{
"content": "SELECT MIN(2007 AS __usd_) FROM table_24364690_1 WHERE federal_subjects = \"Kabardino-Balkaria\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (venue VARCHAR, event VARCHAR, tournament VARCHAR)",
"role": "system"
},
{
"content": "What was the venue of the 400 M Hurdles for the Olympic Games?",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_35 WHERE event = \"400 m hurdles\" AND tournament = \"olympic games\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL 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_orders (order_id VARCHAR, order_status VARCHAR); CREATE TABLE order_items (order_quantity INTEGER, order_id VARCHAR)",
"role": "system"
},
{
"content": "What is the total number of products that are in orders with status \"Cancelled\"?",
"role": "user"
},
{
"content": "SELECT SUM(t2.order_quantity) FROM customer_orders AS t1 JOIN order_items AS t2 ON t1.order_id = t2.order_id WHERE t1.order_status = \"Cancelled\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (score VARCHAR, loss VARCHAR)",
"role": "system"
},
{
"content": "What was the score of the game that had a loss of Embree (1-2)?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_98 WHERE loss = \"embree (1-2)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (snatch VARCHAR)",
"role": "system"
},
{
"content": "Who has 187kg and a Snatch of Clean & Jerk?",
"role": "user"
},
{
"content": "SELECT 187 AS kg FROM table_name_79 WHERE snatch = \"clean & jerk\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Parts (part_name VARCHAR, part_id VARCHAR); CREATE TABLE Part_Faults (part_id VARCHAR)",
"role": "system"
},
{
"content": "Which parts have more than 2 faults? Show the part name and id.",
"role": "user"
},
{
"content": "SELECT T1.part_name, T1.part_id FROM Parts AS T1 JOIN Part_Faults AS T2 ON T1.part_id = T2.part_id GROUP BY T1.part_id HAVING COUNT(*) > 2",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (league VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What is the league of player ian schultz?",
"role": "user"
},
{
"content": "SELECT league FROM table_name_7 WHERE player = \"ian schultz\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (top_10 INTEGER, tournament VARCHAR, top_25 VARCHAR)",
"role": "system"
},
{
"content": "What is the highest top-10 that has a u.s. open for the tournament, and a top-25 greater than 12?",
"role": "user"
},
{
"content": "SELECT MAX(top_10) FROM table_name_49 WHERE tournament = \"u.s. open\" AND top_25 > 12",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (week_2 VARCHAR, week_1 VARCHAR)",
"role": "system"
},
{
"content": "What Week 2 has a Week 1 of crystal beddows?",
"role": "user"
},
{
"content": "SELECT week_2 FROM table_name_66 WHERE week_1 = \"crystal beddows\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (time VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "What was the Time in the Mina Clavero 2 Stage?",
"role": "user"
},
{
"content": "SELECT time FROM table_name_74 WHERE name = \"mina clavero 2\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_16384648_2 (capacity INTEGER, team_nickname VARCHAR)",
"role": "system"
},
{
"content": "For the flyers, what's the minimum capacity? ",
"role": "user"
},
{
"content": "SELECT MIN(capacity) FROM table_16384648_2 WHERE team_nickname = \"Flyers\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (player VARCHAR, total VARCHAR, to_par VARCHAR)",
"role": "system"
},
{
"content": "Total smaller than 285, and a To par larger than 1 belongs to what player?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_29 WHERE total < 285 AND to_par > 1",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_29289372_1 (population__2010_ VARCHAR, income_classification VARCHAR, city_municipality VARCHAR)",
"role": "system"
},
{
"content": "When itogon, benguet is the city/municipality and 1st class is the income classification how many measurements of population in 2010?",
"role": "user"
},
{
"content": "SELECT COUNT(population__2010_) FROM table_29289372_1 WHERE income_classification = \"1st Class\" AND city_municipality = \"Itogon, Benguet\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (total VARCHAR, finish VARCHAR)",
"role": "system"
},
{
"content": "Name the total number of total with finish of t45",
"role": "user"
},
{
"content": "SELECT COUNT(total) FROM table_name_7 WHERE finish = \"t45\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (round VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What is the round on 26 August 1995?",
"role": "user"
},
{
"content": "SELECT round FROM table_name_52 WHERE date = \"26 august 1995\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_21501511_1 (week__number VARCHAR, theme VARCHAR)",
"role": "system"
},
{
"content": "What week was themed disco?",
"role": "user"
},
{
"content": "SELECT week__number FROM table_21501511_1 WHERE theme = \"Disco\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_14070062_3 (points VARCHAR, try_bonus VARCHAR)",
"role": "system"
},
{
"content": "How many points does the club with a try bonus of 10 have? ",
"role": "user"
},
{
"content": "SELECT points FROM table_14070062_3 WHERE try_bonus = \"10\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (elmers_end VARCHAR, bingham_road VARCHAR)",
"role": "system"
},
{
"content": "What is the Elmers End with a 09:54 Bingham Road?",
"role": "user"
},
{
"content": "SELECT elmers_end FROM table_name_65 WHERE bingham_road = \"09:54\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (player VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Which player is associated with the date July 6, 1949?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_93 WHERE date = \"july 6, 1949\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_18 (draw INTEGER, artist VARCHAR)",
"role": "system"
},
{
"content": "How many draws feature artist wendy fierce?",
"role": "user"
},
{
"content": "SELECT SUM(draw) FROM table_name_18 WHERE artist = \"wendy fierce\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_27781212_1 (winnings VARCHAR, driver VARCHAR)",
"role": "system"
},
{
"content": "how many winnings does jeff gordon have?",
"role": "user"
},
{
"content": "SELECT winnings FROM table_27781212_1 WHERE driver = \"Jeff Gordon\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_83 (high_assists VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "What is High Assists, when Team is \"@ Milwaukee\"?",
"role": "user"
},
{
"content": "SELECT high_assists FROM table_name_83 WHERE team = \"@ milwaukee\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_233830_1 (horizontal_order VARCHAR, channels VARCHAR)",
"role": "system"
},
{
"content": "If the channels is wxyzrstuvpq, what is the horizontal order?",
"role": "user"
},
{
"content": "SELECT horizontal_order FROM table_233830_1 WHERE channels = \"WXYZRSTUVPQ\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (round INTEGER, position VARCHAR)",
"role": "system"
},
{
"content": "Which Round is the highest one that has a Position of running back?",
"role": "user"
},
{
"content": "SELECT MAX(round) FROM table_name_14 WHERE position = \"running back\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (draw INTEGER, points VARCHAR, goals_conceded VARCHAR)",
"role": "system"
},
{
"content": "Name the the highest Draw which has Points of 22 and Goals Conceded smaller than 26?",
"role": "user"
},
{
"content": "SELECT MAX(draw) FROM table_name_13 WHERE points = \"22\" AND goals_conceded < 26",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_221653_1 (bleeding_time VARCHAR, condition VARCHAR)",
"role": "system"
},
{
"content": "What is the bleeding time for the disseminated intravascular coagulation condition?",
"role": "user"
},
{
"content": "SELECT COUNT(bleeding_time) FROM table_221653_1 WHERE condition = \"Disseminated intravascular coagulation\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (tonnage INTEGER, flag VARCHAR)",
"role": "system"
},
{
"content": "What is the Tonnage of the ship from Canada?",
"role": "user"
},
{
"content": "SELECT MAX(tonnage) FROM table_name_73 WHERE flag = \"canada\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_17 (goals_for INTEGER, goals_against VARCHAR, position VARCHAR, wins VARCHAR)",
"role": "system"
},
{
"content": "Which Goals for has a Position smaller than 16, and Wins smaller than 19, and Goals against smaller than 32?",
"role": "user"
},
{
"content": "SELECT MIN(goals_for) FROM table_name_17 WHERE position < 16 AND wins < 19 AND goals_against < 32",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (surface VARCHAR, partner VARCHAR)",
"role": "system"
},
{
"content": "What surface did Ruxandra Dragomir play on?",
"role": "user"
},
{
"content": "SELECT surface FROM table_name_13 WHERE partner = \"ruxandra dragomir\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, silver VARCHAR)",
"role": "system"
},
{
"content": "Which Total has a Rank of 4, and a Silver larger than 2?",
"role": "user"
},
{
"content": "SELECT MIN(total) FROM table_name_11 WHERE rank = \"4\" AND silver > 2",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_94 (launched VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "when was garibaldets (гарибальдиец) launched?",
"role": "user"
},
{
"content": "SELECT launched FROM table_name_94 WHERE name = \"garibaldets (гарибальдиец)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15001681_1 (womens_doubles VARCHAR, year VARCHAR, womens_singles VARCHAR, mens_doubles VARCHAR)",
"role": "system"
},
{
"content": "In the year 2006, the womens singles had no competition and the mens doubles were roland hilti kilian pfister, what were the womens doubles",
"role": "user"
},
{
"content": "SELECT womens_doubles FROM table_15001681_1 WHERE womens_singles = \"no competition\" AND mens_doubles = \"Roland Hilti Kilian Pfister\" AND year = 2006",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE election (Committee VARCHAR, Party VARCHAR); CREATE TABLE party (Party_ID VARCHAR, Party VARCHAR)",
"role": "system"
},
{
"content": "Which committees have delegates from both democratic party and liberal party?",
"role": "user"
},
{
"content": "SELECT T1.Committee FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T2.Party = \"Democratic\" INTERSECT SELECT T1.Committee FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T2.Party = \"Liberal\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (method VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "What method has randy couture as the opponent?",
"role": "user"
},
{
"content": "SELECT method FROM table_name_15 WHERE opponent = \"randy couture\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (population INTEGER, country_territory_entity VARCHAR, rank VARCHAR)",
"role": "system"
},
{
"content": "Name the most population for seychelles and rank less than 13",
"role": "user"
},
{
"content": "SELECT MAX(population) FROM table_name_8 WHERE country_territory_entity = \"seychelles\" AND rank < 13",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (club_team VARCHAR, player VARCHAR, overall VARCHAR, round VARCHAR)",
"role": "system"
},
{
"content": "What Club team has an average of 8, plays kaj linna, and has an overall larger than 131?",
"role": "user"
},
{
"content": "SELECT club_team FROM table_name_97 WHERE overall > 131 AND round = 8 AND player = \"kaj linna\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_24901152_2 (surface VARCHAR, championship VARCHAR)",
"role": "system"
},
{
"content": "When us open (2) is the championship what is the surface?",
"role": "user"
},
{
"content": "SELECT surface FROM table_24901152_2 WHERE championship = \"US Open (2)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_18 (runner_up VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "Name the Runner-up of a Year in 1963?",
"role": "user"
},
{
"content": "SELECT runner_up FROM table_name_18 WHERE year = 1963",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (date VARCHAR, game_site VARCHAR)",
"role": "system"
},
{
"content": "What date has a Game site of bye?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_77 WHERE game_site = \"bye\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (events INTEGER, top_25 INTEGER)",
"role": "system"
},
{
"content": "What is the event average for a top-25 smaller than 0?",
"role": "user"
},
{
"content": "SELECT AVG(events) FROM table_name_84 WHERE top_25 < 0",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (losses VARCHAR, byes INTEGER)",
"role": "system"
},
{
"content": "What is the total number of losses for teams with more than 0 byes?",
"role": "user"
},
{
"content": "SELECT COUNT(losses) FROM table_name_43 WHERE byes > 0",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (score VARCHAR, visitor VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "What is the score of the game with the chicago black hawks as the visitor and a 3-1 record?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_45 WHERE visitor = \"chicago black hawks\" AND record = \"3-1\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_19 (against INTEGER, draw VARCHAR, played VARCHAR)",
"role": "system"
},
{
"content": "What is the total against with 1 draw and less than 8 played?",
"role": "user"
},
{
"content": "SELECT SUM(against) FROM table_name_19 WHERE draw = 1 AND played < 8",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (year VARCHAR, performer_s_ VARCHAR)",
"role": "system"
},
{
"content": "How many years was Louis Armstrong performing?",
"role": "user"
},
{
"content": "SELECT COUNT(year) FROM table_name_51 WHERE performer_s_ = \"louis armstrong\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_19457_1 (villages VARCHAR, state_region VARCHAR)",
"role": "system"
},
{
"content": "How many villages are there in the Magway region?",
"role": "user"
},
{
"content": "SELECT villages FROM table_19457_1 WHERE state_region = \"Magway Region\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (winner VARCHAR, team VARCHAR, circuit VARCHAR)",
"role": "system"
},
{
"content": "Who was the winner for Peter Jackson Racing at Mallala Motor Sport Park?",
"role": "user"
},
{
"content": "SELECT winner FROM table_name_9 WHERE team = \"peter jackson racing\" AND circuit = \"mallala motor sport park\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (year INTEGER, position VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "What's the year in 5th position that happened in Osaka, Japan?",
"role": "user"
},
{
"content": "SELECT MIN(year) FROM table_name_92 WHERE position = \"5th\" AND venue = \"osaka, japan\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_11 (nationality VARCHAR, round VARCHAR)",
"role": "system"
},
{
"content": "What was the nationality for the player in Round 1?",
"role": "user"
},
{
"content": "SELECT nationality FROM table_name_11 WHERE round = 1",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_88 (result VARCHAR, race VARCHAR)",
"role": "system"
},
{
"content": "What is the result of the ajc craven plate (wfa) race?",
"role": "user"
},
{
"content": "SELECT result FROM table_name_88 WHERE race = \"ajc craven plate (wfa)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_62 (attendance VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "How many people attended the game whose score was 1-1?",
"role": "user"
},
{
"content": "SELECT attendance FROM table_name_62 WHERE record = \"1-1\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (track INTEGER, original_album VARCHAR)",
"role": "system"
},
{
"content": "Which track has the original album turbulent indigo?",
"role": "user"
},
{
"content": "SELECT AVG(track) FROM table_name_59 WHERE original_album = \"turbulent indigo\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (division VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "Which division do the Toronto Raptors belong in?",
"role": "user"
},
{
"content": "SELECT division FROM table_name_87 WHERE team = \"toronto raptors\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_27922491_11 (average VARCHAR, runs VARCHAR)",
"role": "system"
},
{
"content": "What is the average for the player with 313 runs?",
"role": "user"
},
{
"content": "SELECT average FROM table_27922491_11 WHERE runs = 313",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (pick INTEGER, player VARCHAR)",
"role": "system"
},
{
"content": "Which pick was used on Ian Hazlett?",
"role": "user"
},
{
"content": "SELECT MIN(pick) FROM table_name_8 WHERE player = \"ian hazlett\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (province VARCHAR, party VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Which province had a liberal party member on December 31, 2006?",
"role": "user"
},
{
"content": "SELECT province FROM table_name_38 WHERE party = \"liberal\" AND date = \"december 31, 2006\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (lost VARCHAR, tries_for VARCHAR)",
"role": "system"
},
{
"content": "Which Lost has a Tries for of 75?",
"role": "user"
},
{
"content": "SELECT lost FROM table_name_78 WHERE tries_for = \"75\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR)",
"role": "system"
},
{
"content": "What is Score in The Final, when Opponent in The Final is \"John McEnroe\", and when Championship is \"Los Angeles , U.S.\"?",
"role": "user"
},
{
"content": "SELECT score_in_the_final FROM table_name_98 WHERE opponent_in_the_final = \"john mcenroe\" AND championship = \"los angeles , u.s.\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (round VARCHAR, opponents VARCHAR)",
"role": "system"
},
{
"content": "Name the round for southampton opponents",
"role": "user"
},
{
"content": "SELECT round FROM table_name_43 WHERE opponents = \"southampton\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (nepalis_admitted INTEGER, bangladeshis_admitted INTEGER)",
"role": "system"
},
{
"content": "What was the most Nepalis admitted when fewer than 1,896 Bangladeshis were admitted?",
"role": "user"
},
{
"content": "SELECT MAX(nepalis_admitted) FROM table_name_67 WHERE bangladeshis_admitted < 1 OFFSET 896",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (caps VARCHAR, date_of_birth__age_ VARCHAR)",
"role": "system"
},
{
"content": "How many caps have a Date of Birth (Age) of 15 july 1981?",
"role": "user"
},
{
"content": "SELECT COUNT(caps) FROM table_name_49 WHERE date_of_birth__age_ = \"15 july 1981\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (crowd INTEGER, away_team VARCHAR)",
"role": "system"
},
{
"content": "Which match where Hawthorn was the away team had the largest crowd?",
"role": "user"
},
{
"content": "SELECT MAX(crowd) FROM table_name_58 WHERE away_team = \"hawthorn\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_28062822_3 (height VARCHAR, represent VARCHAR)",
"role": "system"
},
{
"content": "What was the height of representative #6?",
"role": "user"
},
{
"content": "SELECT height FROM table_28062822_3 WHERE represent = 6",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (icao VARCHAR, airport VARCHAR)",
"role": "system"
},
{
"content": "Name the ICAO for julius nyerere international airport",
"role": "user"
},
{
"content": "SELECT icao FROM table_name_79 WHERE airport = \"julius nyerere international airport\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (year VARCHAR, award VARCHAR, nominee VARCHAR)",
"role": "system"
},
{
"content": "In what year was Terry Johnson nominated for a Tony award?",
"role": "user"
},
{
"content": "SELECT COUNT(year) FROM table_name_63 WHERE award = \"tony award\" AND nominee = \"terry johnson\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (team VARCHAR, high_points VARCHAR)",
"role": "system"
},
{
"content": "What is Team, when High Points is \"Tracy McGrady (24)\"?",
"role": "user"
},
{
"content": "SELECT team FROM table_name_49 WHERE high_points = \"tracy mcgrady (24)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (pop__2010_ INTEGER, geo_id VARCHAR, longitude VARCHAR)",
"role": "system"
},
{
"content": "What is the highest 2010 population having GEO ID of 3802763220 and longitude over -98.936777?",
"role": "user"
},
{
"content": "SELECT MAX(pop__2010_) FROM table_name_58 WHERE geo_id = 3802763220 AND longitude > -98.936777",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Student_Enrolment (semester_name VARCHAR, semester_id VARCHAR); CREATE TABLE Semesters (semester_name VARCHAR, semester_id VARCHAR)",
"role": "system"
},
{
"content": "Which semesters do not have any student enrolled? List the semester name.",
"role": "user"
},
{
"content": "SELECT semester_name FROM Semesters WHERE NOT semester_id IN (SELECT semester_id FROM Student_Enrolment)",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2509202_2 (combaya_municipality VARCHAR, quiabaya_municipality VARCHAR)",
"role": "system"
},
{
"content": "When the quiabaya municipality is 2 what is the combaya municipality?",
"role": "user"
},
{
"content": "SELECT combaya_municipality FROM table_2509202_2 WHERE quiabaya_municipality = \"2\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Highschooler (grade VARCHAR)",
"role": "system"
},
{
"content": "Which grade has the most high schoolers?",
"role": "user"
},
{
"content": "SELECT grade FROM Highschooler GROUP BY grade ORDER BY COUNT(*) DESC LIMIT 1",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (artist_s_ VARCHAR, book_title VARCHAR)",
"role": "system"
},
{
"content": "what artist has a book called cyberella",
"role": "user"
},
{
"content": "SELECT artist_s_ FROM table_name_80 WHERE book_title = \"cyberella\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_18 (round VARCHAR, winning_manufacturer VARCHAR, circuit VARCHAR)",
"role": "system"
},
{
"content": "What was the final number for the winning manufacturer with Mercedes-benz, and a circuit of hockenheimring?",
"role": "user"
},
{
"content": "SELECT COUNT(round) FROM table_name_18 WHERE winning_manufacturer = \"mercedes-benz\" AND circuit = \"hockenheimring\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_23 (round VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "What is the Round din Ullevaal?",
"role": "user"
},
{
"content": "SELECT round FROM table_name_23 WHERE venue = \"ullevaal\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (crowd VARCHAR, away_team VARCHAR)",
"role": "system"
},
{
"content": "What was the crowd size for the game at Footscray?",
"role": "user"
},
{
"content": "SELECT COUNT(crowd) FROM table_name_2 WHERE away_team = \"footscray\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (score VARCHAR, opponent VARCHAR, time VARCHAR, location VARCHAR)",
"role": "system"
},
{
"content": "What was the score of the 7:00pm game at Scotiabank Place against the Philadelphia Flyers?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_12 WHERE time = \"7:00pm\" AND location = \"scotiabank place\" AND opponent = \"philadelphia flyers\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (date VARCHAR, away_team VARCHAR)",
"role": "system"
},
{
"content": "On what date is Footscray the away team?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_59 WHERE away_team = \"footscray\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_14342210_6 (extra_points INTEGER)",
"role": "system"
},
{
"content": "What is the least amount of extra points made in by a player?",
"role": "user"
},
{
"content": "SELECT MIN(extra_points) FROM table_14342210_6",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_99 (money___ INTEGER, player VARCHAR)",
"role": "system"
},
{
"content": "What's the sum of money ($) that angela park has won?",
"role": "user"
},
{
"content": "SELECT SUM(money___) AS $__ FROM table_name_99 WHERE player = \"angela park\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18328569_1 (round VARCHAR, winners_from_previous_round VARCHAR)",
"role": "system"
},
{
"content": "What is the round where winners from the previous round totals 8?",
"role": "user"
},
{
"content": "SELECT round FROM table_18328569_1 WHERE winners_from_previous_round = \"8\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18888159_1 (country VARCHAR, events VARCHAR)",
"role": "system"
},
{
"content": "Name the country for 22 events",
"role": "user"
},
{
"content": "SELECT country FROM table_18888159_1 WHERE events = 22",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (event VARCHAR, games VARCHAR, sport VARCHAR)",
"role": "system"
},
{
"content": "What wrestling event was participated in during the 2008 Beijing games?",
"role": "user"
},
{
"content": "SELECT event FROM table_name_28 WHERE games = \"2008 beijing\" AND sport = \"wrestling\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_5 (dob VARCHAR, surname VARCHAR)",
"role": "system"
},
{
"content": "When is Biddle's DOB?",
"role": "user"
},
{
"content": "SELECT dob FROM table_name_5 WHERE surname = \"biddle\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_29033869_3 (round INTEGER, opponent VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What is the round number of the round against melbourne on saturday, 4 april 2:10pm?",
"role": "user"
},
{
"content": "SELECT MIN(round) FROM table_29033869_3 WHERE opponent = \"Melbourne\" AND date = \"Saturday, 4 April 2:10pm\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE papers (Id VARCHAR)",
"role": "system"
},
{
"content": "How many papers are published in total?",
"role": "user"
},
{
"content": "SELECT COUNT(*) FROM papers",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2508633_6 (position VARCHAR, college VARCHAR)",
"role": "system"
},
{
"content": "Name the position for delaware",
"role": "user"
},
{
"content": "SELECT position FROM table_2508633_6 WHERE college = \"Delaware\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (name VARCHAR, pennant_number VARCHAR)",
"role": "system"
},
{
"content": "Which Name has a Pennant number of f82?",
"role": "user"
},
{
"content": "SELECT name FROM table_name_56 WHERE pennant_number = \"f82\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE products_booked (product_id VARCHAR, booked_amount INTEGER); CREATE TABLE Products_for_hire (product_id VARCHAR, booked_amount INTEGER)",
"role": "system"
},
{
"content": "How many products are never booked with amount higher than 200?",
"role": "user"
},
{
"content": "SELECT COUNT(*) FROM Products_for_hire WHERE NOT product_id IN (SELECT product_id FROM products_booked WHERE booked_amount > 200)",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_26362472_1 (election_date VARCHAR, province VARCHAR)",
"role": "system"
},
{
"content": "What are the election date for elections held in the province of Albacete?",
"role": "user"
},
{
"content": "SELECT election_date FROM table_26362472_1 WHERE province = \"Albacete\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_94 (population INTEGER, region INTEGER)",
"role": "system"
},
{
"content": "What is the smallest population in a region greater than 9?",
"role": "user"
},
{
"content": "SELECT MIN(population) FROM table_name_94 WHERE region > 9",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (points VARCHAR, engine VARCHAR, chassis VARCHAR)",
"role": "system"
},
{
"content": "How many points did the Ford V8 with a Tyrrell 007 have?",
"role": "user"
},
{
"content": "SELECT points FROM table_name_3 WHERE engine = \"ford v8\" AND chassis = \"tyrrell 007\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (total VARCHAR, nation VARCHAR, silver VARCHAR)",
"role": "system"
},
{
"content": "How many totals does Chile have when the number of silvers is more than 0?",
"role": "user"
},
{
"content": "SELECT COUNT(total) FROM table_name_73 WHERE nation = \"chile\" AND silver > 0",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Drama_Workshop_Groups (Marketing_Region_Code VARCHAR)",
"role": "system"
},
{
"content": "What is the marketing region code that has the most drama workshop groups?",
"role": "user"
},
{
"content": "SELECT Marketing_Region_Code FROM Drama_Workshop_Groups GROUP BY Marketing_Region_Code ORDER BY COUNT(*) DESC LIMIT 1",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_96 (home_team VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "What was the home team's score when they played at Lake Oval?",
"role": "user"
},
{
"content": "SELECT home_team AS score FROM table_name_96 WHERE venue = \"lake oval\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (home VARCHAR, country VARCHAR)",
"role": "system"
},
{
"content": "Where in Sweden is the home of the Swedish team?",
"role": "user"
},
{
"content": "SELECT home FROM table_name_14 WHERE country = \"sweden\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_78 (date VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "When was there a game at Kardinia Park?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_78 WHERE venue = \"kardinia park\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_88 (heat VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "How many heats does Julia Wilkinson have?",
"role": "user"
},
{
"content": "SELECT COUNT(heat) FROM table_name_88 WHERE name = \"julia wilkinson\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE mountain (height INTEGER)",
"role": "system"
},
{
"content": "What are the maximum and average height of the mountains?",
"role": "user"
},
{
"content": "SELECT MAX(height), AVG(height) FROM mountain",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_19169116_6 (high_rebounds VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "how many games with high rebounds where in february 26",
"role": "user"
},
{
"content": "SELECT COUNT(high_rebounds) FROM table_19169116_6 WHERE date = \"February 26\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (artist VARCHAR, draw INTEGER)",
"role": "system"
},
{
"content": "Which artist has a draw greater than 15?",
"role": "user"
},
{
"content": "SELECT artist FROM table_name_58 WHERE draw > 15",
"role": "assistant"
}
] |