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 member (Name VARCHAR, Country VARCHAR)",
"role": "system"
},
{
"content": "Show the names of members whose country is \"United States\" or \"Canada\".",
"role": "user"
},
{
"content": "SELECT Name FROM member WHERE Country = \"United States\" OR Country = \"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_7 (game VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "What game was in 2011?",
"role": "user"
},
{
"content": "SELECT game FROM table_name_7 WHERE year = 2011",
"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_20466963_13 (guest_4 VARCHAR, guest_2 VARCHAR)",
"role": "system"
},
{
"content": "Name the guest 4 for steve lamacq",
"role": "user"
},
{
"content": "SELECT guest_4 FROM table_20466963_13 WHERE guest_2 = \"Steve Lamacq\"",
"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_178398_1 (sub_parish__sogn_ VARCHAR, location_of_the_church VARCHAR)",
"role": "system"
},
{
"content": "What is the sub-parish of the church located in Fortun? ",
"role": "user"
},
{
"content": "SELECT sub_parish__sogn_ FROM table_178398_1 WHERE location_of_the_church = \"Fortun\"",
"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_34 (nationality VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What nationality is Gerry Methe?",
"role": "user"
},
{
"content": "SELECT nationality FROM table_name_34 WHERE player = \"gerry methe\"",
"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 (position VARCHAR, pick VARCHAR)",
"role": "system"
},
{
"content": "What position does pick 113 play?",
"role": "user"
},
{
"content": "SELECT position FROM table_name_96 WHERE pick = 113",
"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 songs (title VARCHAR, songid VARCHAR); CREATE TABLE albums (aid VARCHAR, title VARCHAR); CREATE TABLE tracklists (albumid VARCHAR, songid VARCHAR)",
"role": "system"
},
{
"content": "What are the songs in album \"A Kiss Before You Go: Live in Hamburg\"?",
"role": "user"
},
{
"content": "SELECT T3.title FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid = T2.albumid JOIN songs AS T3 ON T2.songid = T3.songid WHERE T1.title = \"A Kiss Before You Go: Live in Hamburg\"",
"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 (club VARCHAR, head_coach VARCHAR)",
"role": "system"
},
{
"content": "What club does Manuel Fernandes coach?",
"role": "user"
},
{
"content": "SELECT club FROM table_name_88 WHERE head_coach = \"manuel fernandes\"",
"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 instructor (ID VARCHAR); CREATE TABLE teaches (ID VARCHAR)",
"role": "system"
},
{
"content": "Find the names of all instructors who have taught some course and the course_id.",
"role": "user"
},
{
"content": "SELECT name, course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID = T2.ID",
"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_25042332_16 (median_income___intl INTEGER, region VARCHAR)",
"role": "system"
},
{
"content": "What is the median income of Maule?",
"role": "user"
},
{
"content": "SELECT MIN(median_income___intl) AS $__ FROM table_25042332_16 WHERE region = \"Maule\"",
"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 player (Residence VARCHAR)",
"role": "system"
},
{
"content": "Show the residences that have at least two players.",
"role": "user"
},
{
"content": "SELECT Residence FROM player GROUP BY Residence 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_62 (authority VARCHAR, decile VARCHAR, roll VARCHAR)",
"role": "system"
},
{
"content": "What Authority has a decile greater than 5, with a roll of 170?",
"role": "user"
},
{
"content": "SELECT authority FROM table_name_62 WHERE decile > 5 AND roll = 170",
"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 (location VARCHAR, authors VARCHAR)",
"role": "system"
},
{
"content": "What is the location of the authors of Molnar?",
"role": "user"
},
{
"content": "SELECT location FROM table_name_65 WHERE authors = \"molnar\"",
"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_85 (money___ VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What is the amount of money with a score of 67-71-70-71=279?",
"role": "user"
},
{
"content": "SELECT COUNT(money___) AS $__ FROM table_name_85 WHERE score = 67 - 71 - 70 - 71 = 279",
"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_75 (date_of_vacancy VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "What is the vacancy date of Dundee?",
"role": "user"
},
{
"content": "SELECT date_of_vacancy FROM table_name_75 WHERE team = \"dundee\"",
"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_75 (date VARCHAR, opponent VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "What was the game of the game against the White Sox with a record of 81-48?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_75 WHERE opponent = \"white sox\" AND record = \"81-48\"",
"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 (date VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "When did the venue of round 3 happen?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_23 WHERE venue = \"round 3\"",
"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_37 (title VARCHAR, length VARCHAR)",
"role": "system"
},
{
"content": "Which title is 3:43 long?",
"role": "user"
},
{
"content": "SELECT title FROM table_name_37 WHERE length = \"3:43\"",
"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 (province VARCHAR, icao VARCHAR)",
"role": "system"
},
{
"content": "which Province has a ICAO of vmmc?",
"role": "user"
},
{
"content": "SELECT province FROM table_name_56 WHERE icao = \"vmmc\"",
"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_11602313_4 (frequency VARCHAR, model_number VARCHAR)",
"role": "system"
},
{
"content": "What frequency is the pentium dual-core t3200?",
"role": "user"
},
{
"content": "SELECT frequency FROM table_11602313_4 WHERE model_number = \"Pentium Dual-Core T3200\"",
"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_26263954_1 (english VARCHAR, kunrei_shiki VARCHAR)",
"role": "system"
},
{
"content": "how many number of english when kunrei-shiki is otya",
"role": "user"
},
{
"content": "SELECT COUNT(english) FROM table_26263954_1 WHERE kunrei_shiki = \"otya\"",
"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 Apartment_Bookings (Id VARCHAR)",
"role": "system"
},
{
"content": "How many apartment bookings are there in total?",
"role": "user"
},
{
"content": "SELECT COUNT(*) FROM Apartment_Bookings",
"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 Restaurant (Rating VARCHAR, ResName VARCHAR)",
"role": "system"
},
{
"content": "What is the rating of the restaurant Subway?",
"role": "user"
},
{
"content": "SELECT Rating FROM Restaurant WHERE ResName = \"Subway\"",
"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 (population INTEGER, area_km_2 VARCHAR, official_name VARCHAR)",
"role": "system"
},
{
"content": "What is the Population of the New Bandon Parish with an Area km 2 larger than 326.76?",
"role": "user"
},
{
"content": "SELECT MAX(population) FROM table_name_97 WHERE area_km_2 > 326.76 AND official_name = \"new bandon\"",
"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_13023925_2 (date VARCHAR, week VARCHAR)",
"role": "system"
},
{
"content": "What was the date of the game in week 14?",
"role": "user"
},
{
"content": "SELECT date FROM table_13023925_2 WHERE week = 14",
"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 (bronze INTEGER, nation VARCHAR, total VARCHAR)",
"role": "system"
},
{
"content": "How much Bronze has a Nation of mexico, and a Total larger than 1?",
"role": "user"
},
{
"content": "SELECT SUM(bronze) FROM table_name_58 WHERE nation = \"mexico\" AND total > 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_23215145_2 (team VARCHAR)",
"role": "system"
},
{
"content": "If the team is Worcester, what is the 2005-2006 points?",
"role": "user"
},
{
"content": "SELECT 2005 AS _06_points FROM table_23215145_2 WHERE team = \"Worcester\"",
"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_6 (location_attendance VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "What is the location and attendance of the game with a 3-1-0 record?",
"role": "user"
},
{
"content": "SELECT location_attendance FROM table_name_6 WHERE record = \"3-1-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_2201724_1 (year INTEGER)",
"role": "system"
},
{
"content": "What is Fred Stolle's final year of competing in a championship? ",
"role": "user"
},
{
"content": "SELECT MAX(year) FROM table_2201724_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_49 (melbourne VARCHAR, gold_coast VARCHAR, adelaide VARCHAR, auckland VARCHAR)",
"role": "system"
},
{
"content": "Name the melbourne for adelaide of no with auckland of yes and gold coast of yes",
"role": "user"
},
{
"content": "SELECT melbourne FROM table_name_49 WHERE adelaide = \"no\" AND auckland = \"yes\" AND gold_coast = \"no\"",
"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 (venue VARCHAR, home_team VARCHAR)",
"role": "system"
},
{
"content": "Where was the game played where the home team was Collingwood?",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_29 WHERE home_team = \"collingwood\"",
"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 (byes VARCHAR, against VARCHAR, losses VARCHAR, sunrayia_fl VARCHAR)",
"role": "system"
},
{
"content": "What are the total byes for the Red Cliffs with more than 4 losses and more than 2422 against?",
"role": "user"
},
{
"content": "SELECT COUNT(byes) FROM table_name_78 WHERE losses > 4 AND sunrayia_fl = \"red cliffs\" AND against > 2422",
"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 (date VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What's the date the score was 379?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_5 WHERE score = \"379\"",
"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 (catalog__number VARCHAR, label VARCHAR, region VARCHAR)",
"role": "system"
},
{
"content": "What is the catalog number of the album whose label is Atlantic Records and region is the United States?",
"role": "user"
},
{
"content": "SELECT catalog__number FROM table_name_8 WHERE label = \"atlantic records\" AND region = \"united states\"",
"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_48 (date VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "Which date has a Score of 6β4, 6β3?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_48 WHERE score = \"6β4, 6β3\"",
"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 (team__number2 VARCHAR)",
"role": "system"
},
{
"content": "What is the 2nd leg of emelec team 2?",
"role": "user"
},
{
"content": "SELECT 2 AS nd_leg FROM table_name_66 WHERE team__number2 = \"emelec\"",
"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_20 (original_air_date INTEGER, series_number VARCHAR)",
"role": "system"
},
{
"content": "What was the original air date of series number 10?",
"role": "user"
},
{
"content": "SELECT AVG(original_air_date) FROM table_name_20 WHERE series_number = 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_75 (player VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "Who scored 69-71=140?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_75 WHERE score = 69 - 71 = 140",
"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_72 (score VARCHAR, money___$__ VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What is the score of player darren clarke, who has $112,500?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_72 WHERE money___$__ = \"112,500\" AND player = \"darren clarke\"",
"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 (rank INTEGER, games VARCHAR, season VARCHAR)",
"role": "system"
},
{
"content": "Name the least rank when games are more than 34 and the season is 2009-10",
"role": "user"
},
{
"content": "SELECT MIN(rank) FROM table_name_98 WHERE games > 34 AND season = \"2009-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_7 (ground VARCHAR, away VARCHAR)",
"role": "system"
},
{
"content": "What is the Ground with an Away that is central blues?",
"role": "user"
},
{
"content": "SELECT ground FROM table_name_7 WHERE away = \"central blues\"",
"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_32 (record_company VARCHAR, conductor VARCHAR)",
"role": "system"
},
{
"content": "What record company has robert craft conducting?",
"role": "user"
},
{
"content": "SELECT record_company FROM table_name_32 WHERE conductor = \"robert craft\"",
"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_2731431_1 (elevation__m_ INTEGER, location VARCHAR, peak VARCHAR)",
"role": "system"
},
{
"content": "What is the elevation for the peak wildspitze in Austria?",
"role": "user"
},
{
"content": "SELECT MIN(elevation__m_) FROM table_2731431_1 WHERE location = \"Austria\" AND peak = \"Wildspitze\"",
"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 (place VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "In what place did Darren Clarke finish?",
"role": "user"
},
{
"content": "SELECT place FROM table_name_23 WHERE player = \"darren clarke\"",
"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_40 (reg_gp INTEGER, player VARCHAR, rd__number VARCHAR)",
"role": "system"
},
{
"content": "How many reg GP for rick vaive in round 1?",
"role": "user"
},
{
"content": "SELECT SUM(reg_gp) FROM table_name_40 WHERE player = \"rick vaive\" AND rd__number > 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_40 (week INTEGER, date VARCHAR)",
"role": "system"
},
{
"content": "What is the latest week with the date of november 5, 1995?",
"role": "user"
},
{
"content": "SELECT MAX(week) FROM table_name_40 WHERE date = \"november 5, 1995\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1213511_6 (nationality VARCHAR, position VARCHAR)",
"role": "system"
},
{
"content": "What country does the goaltender come from?",
"role": "user"
},
{
"content": "SELECT nationality FROM table_1213511_6 WHERE position = \"Goaltender\"",
"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_2668416_7 (party VARCHAR, incumbent VARCHAR)",
"role": "system"
},
{
"content": "What is the party when the incumbent is samuel smith?",
"role": "user"
},
{
"content": "SELECT party FROM table_2668416_7 WHERE incumbent = \"Samuel Smith\"",
"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_39 (Box VARCHAR, home_team VARCHAR)",
"role": "system"
},
{
"content": "What was the box score during a home game of the Adelaide 36ers?",
"role": "user"
},
{
"content": "SELECT Box AS score FROM table_name_39 WHERE home_team = \"adelaide 36ers\"",
"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_53 (manufacturer VARCHAR, rider VARCHAR, laps VARCHAR, grid VARCHAR)",
"role": "system"
},
{
"content": "Which manufacturer has more than 28 laps and less than 9 grids with jeremy mcwilliams?",
"role": "user"
},
{
"content": "SELECT manufacturer FROM table_name_53 WHERE laps < 28 AND grid < 9 AND rider = \"jeremy mcwilliams\"",
"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 (date VARCHAR, record VARCHAR, visitor VARCHAR, points VARCHAR)",
"role": "system"
},
{
"content": "What date does visitor team Toronto score less than 49 points and has record of 18-17-7?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_73 WHERE visitor = \"toronto\" AND points < 49 AND record = \"18-17-7\"",
"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 (match VARCHAR, points VARCHAR)",
"role": "system"
},
{
"content": "What is the Match with Points that are 24?",
"role": "user"
},
{
"content": "SELECT match FROM table_name_11 WHERE points = 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_14856023_18 (points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR)",
"role": "system"
},
{
"content": "Name the points classification for mark renshaw and team csc",
"role": "user"
},
{
"content": "SELECT points_classification FROM table_14856023_18 WHERE general_classification = \"Mark Renshaw\" AND team_classification = \"Team CSC\"",
"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_46 (rounds VARCHAR, driver VARCHAR)",
"role": "system"
},
{
"content": "How many rounds did shirley van der lof go?",
"role": "user"
},
{
"content": "SELECT rounds FROM table_name_46 WHERE driver = \"shirley van der lof\"",
"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_41 (away_team VARCHAR)",
"role": "system"
},
{
"content": "I want the away team score for away team of fitzroy",
"role": "user"
},
{
"content": "SELECT away_team AS score FROM table_name_41 WHERE away_team = \"fitzroy\"",
"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 (remixed_by VARCHAR, year INTEGER)",
"role": "system"
},
{
"content": "Who remixed the version after 1999?",
"role": "user"
},
{
"content": "SELECT remixed_by FROM table_name_97 WHERE year > 1999",
"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_61 (cuts_made INTEGER, wins VARCHAR, top_25 VARCHAR, top_5 VARCHAR)",
"role": "system"
},
{
"content": "Name the most cuts made with top-25 more than 4 and top 5 of 1 with wins more than 0",
"role": "user"
},
{
"content": "SELECT MAX(cuts_made) FROM table_name_61 WHERE top_25 > 4 AND top_5 = 1 AND wins > 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_92 (position VARCHAR, class VARCHAR, laps VARCHAR)",
"role": "system"
},
{
"content": "The driver in class A with 125 laps is in what position?",
"role": "user"
},
{
"content": "SELECT position FROM table_name_92 WHERE class = \"a\" AND laps = 125",
"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_44 (circuit VARCHAR, winning_constructor VARCHAR)",
"role": "system"
},
{
"content": "Which circuit was Delage the winning constructor for?",
"role": "user"
},
{
"content": "SELECT circuit FROM table_name_44 WHERE winning_constructor = \"delage\"",
"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 (attendance VARCHAR, away_team VARCHAR)",
"role": "system"
},
{
"content": "How many people attended the game against away team Cambridge City?",
"role": "user"
},
{
"content": "SELECT attendance FROM table_name_98 WHERE away_team = \"cambridge city\"",
"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_81 (bronze VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR)",
"role": "system"
},
{
"content": "How many bronzes for the nation with over 20 total, under 26 golds, and over 0 silvers?",
"role": "user"
},
{
"content": "SELECT COUNT(bronze) FROM table_name_81 WHERE silver > 0 AND total > 20 AND gold < 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_59 (attendance INTEGER, result VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest attendance of a game that has the result of 2-0?",
"role": "user"
},
{
"content": "SELECT MIN(attendance) FROM table_name_59 WHERE result = \"2-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_37 (capacity INTEGER, stadium VARCHAR, highest VARCHAR)",
"role": "system"
},
{
"content": "What's the capacity that has the highest greater than 1,763 and is at Hampden Park?",
"role": "user"
},
{
"content": "SELECT MIN(capacity) FROM table_name_37 WHERE stadium = \"hampden park\" AND highest > 1 OFFSET 763",
"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_6 (gold_coast VARCHAR, perth VARCHAR, adelaide VARCHAR, auckland VARCHAR)",
"role": "system"
},
{
"content": "What is the result for Gold Coast when Adelaide and Perth are yes, but Auckland is no?",
"role": "user"
},
{
"content": "SELECT gold_coast FROM table_name_6 WHERE adelaide = \"yes\" AND auckland = \"no\" AND perth = \"yes\"",
"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_23915_4 (translation VARCHAR, ipa___sΓ£o_paulo__ VARCHAR)",
"role": "system"
},
{
"content": "What is the original of the ipa ( sΓ£o paulo ) translation dΙΜΛΛtΙiΙ£Ι ΛtΙΜΚΜ―Μ ΙΜΛmadΙ ΛsuΙ Ι¦Γ΅ΜΛmΙnΙ?",
"role": "user"
},
{
"content": "SELECT translation FROM table_23915_4 WHERE ipa___sΓ£o_paulo__ = \"dΙΜΛΛtΙiΙ£Ι ΛtΙΜΚΜ―Μ ΙΜΛmadΙ ΛsuΙ Ι¦Γ΅ΜΛmΙnΙ\"",
"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_70 (high_rebounds VARCHAR, game VARCHAR)",
"role": "system"
},
{
"content": "What is the High rebounds of a Game with 56?",
"role": "user"
},
{
"content": "SELECT high_rebounds FROM table_name_70 WHERE game = 56",
"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": "Which team calls VFL Park their home?",
"role": "user"
},
{
"content": "SELECT home_team FROM table_name_96 WHERE venue = \"vfl 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_49 (total__kg_ VARCHAR, snatch VARCHAR, clean_ VARCHAR, _jerk VARCHAR)",
"role": "system"
},
{
"content": "What is the total associated with a Clean & jerk of 135, and a Snatch of 115?",
"role": "user"
},
{
"content": "SELECT total__kg_ FROM table_name_49 WHERE clean_ & _jerk = 135 AND snatch = 115",
"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 club (clublocation VARCHAR)",
"role": "system"
},
{
"content": "How many clubs are located at \"HHH\"?",
"role": "user"
},
{
"content": "SELECT COUNT(*) FROM club WHERE clublocation = \"HHH\"",
"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_1463383_1 (social_democratic VARCHAR, left_bloc VARCHAR)",
"role": "system"
},
{
"content": "What percentages of social democratic correspond to a 5.5% left bloc?",
"role": "user"
},
{
"content": "SELECT social_democratic FROM table_1463383_1 WHERE left_bloc = \"5.5%\"",
"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_46 (date VARCHAR, tournament VARCHAR)",
"role": "system"
},
{
"content": "On what date was the Transitions Championship?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_46 WHERE tournament = \"transitions championship\"",
"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_53 (total VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "How many Total has a Player of dave stockton?",
"role": "user"
},
{
"content": "SELECT COUNT(total) FROM table_name_53 WHERE player = \"dave stockton\"",
"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_1137718_2 (rd INTEGER, date VARCHAR)",
"role": "system"
},
{
"content": "Which rd. occurred on 22 October?",
"role": "user"
},
{
"content": "SELECT MIN(rd) FROM table_1137718_2 WHERE date = \"22 October\"",
"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_25380472_2 (opponent VARCHAR, game_site VARCHAR)",
"role": "system"
},
{
"content": "In game site AOL Arena, who are all the opponents?",
"role": "user"
},
{
"content": "SELECT opponent FROM table_25380472_2 WHERE game_site = \"AOL Arena\"",
"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 (returned_on VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "Which Returned On has a Year of 2011?",
"role": "user"
},
{
"content": "SELECT returned_on FROM table_name_87 WHERE year = 2011",
"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 (races VARCHAR, points VARCHAR)",
"role": "system"
},
{
"content": "Which races did they accumulate at least 125 points?",
"role": "user"
},
{
"content": "SELECT races FROM table_name_38 WHERE points = \"125\"",
"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 (driver VARCHAR, date VARCHAR, race VARCHAR)",
"role": "system"
},
{
"content": "Which Driver has a Date of 16th september 1951, and a Race of dns?",
"role": "user"
},
{
"content": "SELECT driver FROM table_name_8 WHERE date = \"16th september 1951\" AND race = \"dns\"",
"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_32 (representative VARCHAR, presentation_of_credentials VARCHAR)",
"role": "system"
},
{
"content": "Who is the representative with a presentation of credentials date on February 23, 1854?",
"role": "user"
},
{
"content": "SELECT representative FROM table_name_32 WHERE presentation_of_credentials = \"february 23, 1854\"",
"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_69 (wins INTEGER, points VARCHAR)",
"role": "system"
},
{
"content": "Name the least wins for 6 points",
"role": "user"
},
{
"content": "SELECT MIN(wins) FROM table_name_69 WHERE points = 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_23285849_7 (high_points VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "Who had the most points in the game where the score was w 97β92 (ot)?",
"role": "user"
},
{
"content": "SELECT high_points FROM table_23285849_7 WHERE score = \"W 97β92 (OT)\"",
"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_68 (venue VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What is the Venue, when the Score is 56-4?",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_68 WHERE score = \"56-4\"",
"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_20 (date VARCHAR, game INTEGER)",
"role": "system"
},
{
"content": "What date was there a game larger than 17?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_20 WHERE game > 17",
"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_1342149_24 (result VARCHAR, district VARCHAR)",
"role": "system"
},
{
"content": "Name the result for mississippi 2",
"role": "user"
},
{
"content": "SELECT result FROM table_1342149_24 WHERE district = \"Mississippi 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_16489766_2 (administrative_population__2010_ INTEGER, chinese VARCHAR)",
"role": "system"
},
{
"content": "What is the maximum administrative population of the city with Chinese translation ζζ?",
"role": "user"
},
{
"content": "SELECT MAX(administrative_population__2010_) FROM table_16489766_2 WHERE chinese = \"ζζ\"",
"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 (episode_no VARCHAR, original_airdate VARCHAR)",
"role": "system"
},
{
"content": "What is the episode number of the episode that originally aired on February 4, 2008?",
"role": "user"
},
{
"content": "SELECT episode_no FROM table_name_23 WHERE original_airdate = \"february 4, 2008\"",
"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_24850630_4 (group VARCHAR, race VARCHAR)",
"role": "system"
},
{
"content": "What was the group in the British Champion Stakes? ",
"role": "user"
},
{
"content": "SELECT group FROM table_24850630_4 WHERE race = \"British Champion Stakes\"",
"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_22 (place VARCHAR, country VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "Can you tell me the Place that has the Country of australia, and the Player of ian baker-finch?",
"role": "user"
},
{
"content": "SELECT place FROM table_name_22 WHERE country = \"australia\" AND player = \"ian baker-finch\"",
"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_27698941_6 (score VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "What is the score for the game with the record of 3β12?",
"role": "user"
},
{
"content": "SELECT score FROM table_27698941_6 WHERE record = \"3β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_88 (numbers__quantity_ordered_ VARCHAR, make__model VARCHAR)",
"role": "system"
},
{
"content": "Which Numbers (Quantity Ordered) have a Make/ Model of eldorado national passport?",
"role": "user"
},
{
"content": "SELECT numbers__quantity_ordered_ FROM table_name_88 WHERE make__model = \"eldorado national passport\"",
"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 (status VARCHAR, opposing_team VARCHAR)",
"role": "system"
},
{
"content": "What status has gauteng falcons as the opposing team?",
"role": "user"
},
{
"content": "SELECT status FROM table_name_2 WHERE opposing_team = \"gauteng falcons\"",
"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_25246990_5 (us_viewers__millions_ VARCHAR, written_by VARCHAR)",
"role": "system"
},
{
"content": "How many U.S. viewers were there for the episode written by Lazar Saric & Jed Spingarn?",
"role": "user"
},
{
"content": "SELECT us_viewers__millions_ FROM table_25246990_5 WHERE written_by = \"Lazar Saric & Jed Spingarn\"",
"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_50 (win_average INTEGER, races_ridden VARCHAR, nationality VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "What is the average win as a percentage of German racer Rudi Altig, who has ridden in over 79 races?",
"role": "user"
},
{
"content": "SELECT AVG(win_average) FROM table_name_50 WHERE nationality = \"german\" AND name = \"rudi altig\" AND races_ridden > 79",
"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_22 (music VARCHAR, score VARCHAR, style VARCHAR)",
"role": "system"
},
{
"content": "Which Music has a Score of 30 (10, 10, 10), and a Style of cha-cha-cha?",
"role": "user"
},
{
"content": "SELECT music FROM table_name_22 WHERE score = \"30 (10, 10, 10)\" AND style = \"cha-cha-cha\"",
"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_39 (car__number INTEGER, driver VARCHAR, pos VARCHAR)",
"role": "system"
},
{
"content": "Which Car # has a Driver of ryan newman, and a Position larger than 10?",
"role": "user"
},
{
"content": "SELECT MIN(car__number) FROM table_name_39 WHERE driver = \"ryan newman\" AND pos > 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_2791668_1 (title VARCHAR, directed_by VARCHAR, no_in_season VARCHAR)",
"role": "system"
},
{
"content": "what is the name of the episode whose director is Michael Pressman and the number of that episode in that season is less than 10.0? ",
"role": "user"
},
{
"content": "SELECT title FROM table_2791668_1 WHERE directed_by = \"Michael Pressman\" AND no_in_season < 10.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_1140082_2 (constructor VARCHAR, race VARCHAR)",
"role": "system"
},
{
"content": "What is the constructor of the Swedish Grand Prix?",
"role": "user"
},
{
"content": "SELECT constructor FROM table_1140082_2 WHERE race = \"Swedish Grand Prix\"",
"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 (rank INTEGER, name VARCHAR)",
"role": "system"
},
{
"content": "What is the highest rank for Josefin Lillhage?",
"role": "user"
},
{
"content": "SELECT MAX(rank) FROM table_name_54 WHERE name = \"josefin lillhage\"",
"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_25800134_12 (title VARCHAR, airdate VARCHAR)",
"role": "system"
},
{
"content": "How many episode titles aired on September 25, 1967?",
"role": "user"
},
{
"content": "SELECT COUNT(title) FROM table_25800134_12 WHERE airdate = \"September 25, 1967\"",
"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_26 (outcome VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What was the outcome on 2 December 2012?",
"role": "user"
},
{
"content": "SELECT outcome FROM table_name_26 WHERE date = \"2 december 2012\"",
"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_10 (set_1 VARCHAR, set_3 VARCHAR)",
"role": "system"
},
{
"content": "What is the score for set 1 when the score for set 3 is 22β25?",
"role": "user"
},
{
"content": "SELECT set_1 FROM table_name_10 WHERE set_3 = \"22β25\"",
"role": "assistant"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.