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_1368649_9 (year_s_ INTEGER, spokesperson VARCHAR)",
"role": "system"
},
{
"content": "What year was Thierry Beccaro the spokesperson?",
"role": "user"
},
{
"content": "SELECT MIN(year_s_) FROM table_1368649_9 WHERE spokesperson = \"Thierry Beccaro\"",
"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_13169136_1 (year INTEGER)",
"role": "system"
},
{
"content": "What is the most recent year?",
"role": "user"
},
{
"content": "SELECT MAX(year) FROM table_13169136_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_26108103_2 (year INTEGER)",
"role": "system"
},
{
"content": "What was the earliest year?",
"role": "user"
},
{
"content": "SELECT MIN(year) FROM table_26108103_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_17516967_1 (preliminary VARCHAR, state VARCHAR)",
"role": "system"
},
{
"content": "Name the preliminary for north carolina",
"role": "user"
},
{
"content": "SELECT preliminary FROM table_17516967_1 WHERE state = \"North Carolina\"",
"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_64 (score VARCHAR, result VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "For the match against Arema Malang that ended in a draw, what was the final score?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_64 WHERE result = \"draw\" AND opponent = \"arema malang\"",
"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 (week VARCHAR, attendance VARCHAR)",
"role": "system"
},
{
"content": "What week was the Bye attendance week?",
"role": "user"
},
{
"content": "SELECT week FROM table_name_20 WHERE attendance = \"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_13258851_2 (date VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "What was the date of the game against Kansas City Chiefs?",
"role": "user"
},
{
"content": "SELECT date FROM table_13258851_2 WHERE opponent = \"Kansas City Chiefs\"",
"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_13700749_1 (language_s_ VARCHAR, film_title VARCHAR)",
"role": "system"
},
{
"content": "What are all the languages for tsotsi?",
"role": "user"
},
{
"content": "SELECT language_s_ FROM table_13700749_1 WHERE film_title = \"Tsotsi\"",
"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 (goals_against INTEGER, goal_difference VARCHAR, position VARCHAR, points VARCHAR, goals_for VARCHAR)",
"role": "system"
},
{
"content": "Which Goals against has Points smaller than 26, and Goals for smaller than 38, and a Position larger than 14, and a Goal Difference smaller than -32?",
"role": "user"
},
{
"content": "SELECT MAX(goals_against) FROM table_name_65 WHERE points < 26 AND goals_for < 38 AND position > 14 AND goal_difference < -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_56 (score VARCHAR, tie_no VARCHAR)",
"role": "system"
},
{
"content": "What was the score for the game with a tie no of 1?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_56 WHERE tie_no = \"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_21 (country VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What is the country with a 66-70-69=205 score?",
"role": "user"
},
{
"content": "SELECT country FROM table_name_21 WHERE score = 66 - 70 - 69 = 205",
"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 (week VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "Tell me the week for record of 0-1",
"role": "user"
},
{
"content": "SELECT week FROM table_name_19 WHERE record = \"0-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 (system VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "Which system is named mess?",
"role": "user"
},
{
"content": "SELECT system FROM table_name_80 WHERE name = \"mess\"",
"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 (points_for VARCHAR, try_bonus VARCHAR)",
"role": "system"
},
{
"content": "What is the points when the try bonus is 1?",
"role": "user"
},
{
"content": "SELECT points_for FROM table_name_83 WHERE try_bonus = \"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 organizations (organization_name VARCHAR)",
"role": "system"
},
{
"content": "Find the name of organizations whose names contain \"Party\".",
"role": "user"
},
{
"content": "SELECT organization_name FROM organizations WHERE organization_name LIKE \"%Party%\"",
"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_24039173_1 (captain VARCHAR, location VARCHAR)",
"role": "system"
},
{
"content": "Who is the captain in Chaguaramas?",
"role": "user"
},
{
"content": "SELECT captain FROM table_24039173_1 WHERE location = \"Chaguaramas\"",
"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 (location VARCHAR, copies_per_particle VARCHAR, protein VARCHAR)",
"role": "system"
},
{
"content": "Which location has a copies per particle of 0 and a protein of nsp3?",
"role": "user"
},
{
"content": "SELECT location FROM table_name_68 WHERE copies_per_particle = \"0\" AND protein = \"nsp3\"",
"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 (last_match VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR)",
"role": "system"
},
{
"content": "What is the name of the last match that had a sacked manner of departure and a geninho outgoing manner?",
"role": "user"
},
{
"content": "SELECT last_match FROM table_name_8 WHERE manner_of_departure = \"sacked\" AND outgoing_manager = \"geninho\"",
"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 (position VARCHAR, competition VARCHAR)",
"role": "system"
},
{
"content": "In what position did Salina Kosgei finish in the Tokyo Marathon?",
"role": "user"
},
{
"content": "SELECT position FROM table_name_23 WHERE competition = \"tokyo marathon\"",
"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_261931_2 (institution VARCHAR, nickname VARCHAR)",
"role": "system"
},
{
"content": "Which institution's nickname is the Polar Bears?",
"role": "user"
},
{
"content": "SELECT institution FROM table_261931_2 WHERE nickname = \"Polar Bears\"",
"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 (result VARCHAR, year VARCHAR, category VARCHAR)",
"role": "system"
},
{
"content": "What was album of the year after 2009?",
"role": "user"
},
{
"content": "SELECT result FROM table_name_99 WHERE year > 2009 AND category = \"album of the year\"",
"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 (place__posición_ INTEGER, points__pts_ VARCHAR, played__pj_ VARCHAR)",
"role": "system"
},
{
"content": "What was the top place with over 24 points and more than 14 played?",
"role": "user"
},
{
"content": "SELECT MAX(place__posición_) FROM table_name_41 WHERE points__pts_ > 24 AND played__pj_ > 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_35 (crowd INTEGER, away_team VARCHAR)",
"role": "system"
},
{
"content": "With a North Melbourne away team, what is the average crowd?",
"role": "user"
},
{
"content": "SELECT AVG(crowd) FROM table_name_35 WHERE away_team = \"north melbourne\"",
"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 (production_time VARCHAR, number_built VARCHAR, model VARCHAR)",
"role": "system"
},
{
"content": "What's the production time with more than 2.737 built and a 280s model?",
"role": "user"
},
{
"content": "SELECT production_time FROM table_name_59 WHERE number_built > 2.737 AND model = \"280s\"",
"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_2528382_5 (year INTEGER, music_director VARCHAR)",
"role": "system"
},
{
"content": "What year did Naushad Direct the Music?",
"role": "user"
},
{
"content": "SELECT MAX(year) FROM table_2528382_5 WHERE music_director = \"Naushad\"",
"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_12828723_3 (lost VARCHAR, try_bonus VARCHAR, points_for VARCHAR)",
"role": "system"
},
{
"content": "what's the loss with try bonus being 5 and points for being 390",
"role": "user"
},
{
"content": "SELECT lost FROM table_12828723_3 WHERE try_bonus = \"5\" AND points_for = \"390\"",
"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 (clubname VARCHAR)",
"role": "system"
},
{
"content": "What are the names of all clubs?",
"role": "user"
},
{
"content": "SELECT clubname FROM club",
"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 (method VARCHAR, round VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "Round of 1, and a Record of 10–2 had what method?",
"role": "user"
},
{
"content": "SELECT method FROM table_name_88 WHERE round = \"1\" AND record = \"10–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_91 (winning_team VARCHAR, sport VARCHAR)",
"role": "system"
},
{
"content": "What winning team has volleyball as the sport?",
"role": "user"
},
{
"content": "SELECT winning_team FROM table_name_91 WHERE sport = \"volleyball\"",
"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 WINE (Appelation VARCHAR, year VARCHAR); CREATE TABLE APPELLATIONS (Area VARCHAR, Appelation VARCHAR)",
"role": "system"
},
{
"content": "What is the area of the appelation that produces the highest number of wines before the year of 2010?",
"role": "user"
},
{
"content": "SELECT T1.Area FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation GROUP BY T2.Appelation HAVING T2.year < 2010 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_25085059_3 (pick__number VARCHAR, cfl_team VARCHAR)",
"role": "system"
},
{
"content": "How many draft picks were for Winnipeg blue bombers?",
"role": "user"
},
{
"content": "SELECT COUNT(pick__number) FROM table_25085059_3 WHERE cfl_team = \"Winnipeg Blue Bombers\"",
"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 (drawn INTEGER, lost VARCHAR, coach VARCHAR)",
"role": "system"
},
{
"content": "How many Drawn did Coach Francis Cummins have with less than 4 Lost?",
"role": "user"
},
{
"content": "SELECT SUM(drawn) FROM table_name_99 WHERE lost < 4 AND coach = \"francis cummins\"",
"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_89 (result VARCHAR, opponent_number VARCHAR)",
"role": "system"
},
{
"content": "What is the result for opponent TCU?",
"role": "user"
},
{
"content": "SELECT result FROM table_name_89 WHERE opponent_number = \"tcu\"",
"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_82 (receptions VARCHAR, avg_g VARCHAR)",
"role": "system"
},
{
"content": "How many times is avg/g 2?",
"role": "user"
},
{
"content": "SELECT COUNT(receptions) FROM table_name_82 WHERE avg_g = 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_22839669_12 (total_wins INTEGER)",
"role": "system"
},
{
"content": "What is the maximum total wins he had for any year? ",
"role": "user"
},
{
"content": "SELECT MAX(total_wins) FROM table_22839669_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_33 (number_of_seasons_in_liga_mx INTEGER, club VARCHAR, number_of_seasons_in_top_division VARCHAR)",
"role": "system"
},
{
"content": "What is the highest Number of seasons in Liga MX for Club cruz azul, when their season in the top division is higher than 68?",
"role": "user"
},
{
"content": "SELECT MAX(number_of_seasons_in_liga_mx) FROM table_name_33 WHERE club = \"cruz azul\" AND number_of_seasons_in_top_division > 68",
"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 (discipline VARCHAR, championship VARCHAR)",
"role": "system"
},
{
"content": "What was the discipline for the euroboss championship?",
"role": "user"
},
{
"content": "SELECT discipline FROM table_name_59 WHERE championship = \"euroboss\"",
"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 (name VARCHAR, kanji VARCHAR)",
"role": "system"
},
{
"content": "Which name has a Kanji of 朧?",
"role": "user"
},
{
"content": "SELECT name FROM table_name_77 WHERE kanji = \"朧\"",
"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 (home_team VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "Which home team played at Princes Park?",
"role": "user"
},
{
"content": "SELECT home_team FROM table_name_67 WHERE venue = \"princes 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_16 (crowd VARCHAR, home_team VARCHAR)",
"role": "system"
},
{
"content": "How many people were at the game where the home team was South Melbourne?",
"role": "user"
},
{
"content": "SELECT crowd FROM table_name_16 WHERE home_team = \"south melbourne\"",
"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_60 (total INTEGER, gold VARCHAR)",
"role": "system"
},
{
"content": "Which Total has Gold of 2?",
"role": "user"
},
{
"content": "SELECT MAX(total) FROM table_name_60 WHERE gold = 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_15331868_1 (position INTEGER, difference VARCHAR)",
"role": "system"
},
{
"content": "What is the smalledt position when the difference was 6?",
"role": "user"
},
{
"content": "SELECT MIN(position) FROM table_15331868_1 WHERE difference = \"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_73 (english_translation VARCHAR, traditional_chinese VARCHAR)",
"role": "system"
},
{
"content": "What is the english translation of the traditional Chinese word, 哀郢?",
"role": "user"
},
{
"content": "SELECT english_translation FROM table_name_73 WHERE traditional_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_1404414_2 (capital VARCHAR, population_census_2009 VARCHAR)",
"role": "system"
},
{
"content": "What capital has a population of 596268?",
"role": "user"
},
{
"content": "SELECT capital FROM table_1404414_2 WHERE population_census_2009 = 596268",
"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 (team VARCHAR, home_run VARCHAR)",
"role": "system"
},
{
"content": "Which team has a Home Run of 27?",
"role": "user"
},
{
"content": "SELECT team FROM table_name_18 WHERE home_run = 27",
"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 (label VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What is the Label that shows on april 7, 1967?",
"role": "user"
},
{
"content": "SELECT label FROM table_name_77 WHERE date = \"april 7, 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_15 (high_rebounds VARCHAR, location_attendance VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What is High Rebounds, when Location Attendance is \"Madison Square Garden Unknown\", and when Date is \"May 18\"?",
"role": "user"
},
{
"content": "SELECT high_rebounds FROM table_name_15 WHERE location_attendance = \"madison square garden unknown\" AND date = \"may 18\"",
"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_1 (name VARCHAR, roll VARCHAR, years VARCHAR)",
"role": "system"
},
{
"content": "Which name has a Roll larger than 297, and Years of 7–13?",
"role": "user"
},
{
"content": "SELECT name FROM table_name_1 WHERE roll > 297 AND years = \"7–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_5 (lead VARCHAR, event VARCHAR)",
"role": "system"
},
{
"content": "Who was the lead for the 2008 WCC?",
"role": "user"
},
{
"content": "SELECT lead FROM table_name_5 WHERE event = \"2008 wcc\"",
"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 (cover_date VARCHAR, story_title VARCHAR)",
"role": "system"
},
{
"content": "What is the Cover Date of the Story Title Spacehikers (Part 2)?",
"role": "user"
},
{
"content": "SELECT cover_date FROM table_name_59 WHERE story_title = \"spacehikers (part 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_35 (score VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "What is the Score with a Team with @ houston?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_35 WHERE team = \"@ houston\"",
"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 (date VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "What date was a game played at Headingley Stadium?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_67 WHERE venue = \"headingley stadium\"",
"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 (bowling_style VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What is Damien Martyn's bowling style?",
"role": "user"
},
{
"content": "SELECT bowling_style FROM table_name_49 WHERE player = \"damien martyn\"",
"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 (label VARCHAR, country_of_release VARCHAR, title VARCHAR)",
"role": "system"
},
{
"content": "What was the label for Shake Your Groove Thing in USA?",
"role": "user"
},
{
"content": "SELECT label FROM table_name_59 WHERE country_of_release = \"usa\" AND title = \"shake your groove thing\"",
"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 (pName VARCHAR, HS INTEGER)",
"role": "system"
},
{
"content": "What are the names of players whose training hours is between 500 and 1500?",
"role": "user"
},
{
"content": "SELECT pName FROM Player WHERE HS BETWEEN 500 AND 1500",
"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_2076595_1 (enrollment__2009_ INTEGER, location_s_ VARCHAR)",
"role": "system"
},
{
"content": "What is the minimum enrollment for Plainfield?",
"role": "user"
},
{
"content": "SELECT MIN(enrollment__2009_) FROM table_2076595_1 WHERE location_s_ = \"Plainfield\"",
"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_30 (rank INTEGER, goalkeeper VARCHAR)",
"role": "system"
},
{
"content": "What is the sum of Rank when Pat Onstad was the goalkeeper?",
"role": "user"
},
{
"content": "SELECT SUM(rank) FROM table_name_30 WHERE goalkeeper = \"pat onstad\"",
"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 (drawn INTEGER, points_for INTEGER)",
"role": "system"
},
{
"content": "What is the highest drawn for points over 545?",
"role": "user"
},
{
"content": "SELECT MAX(drawn) FROM table_name_81 WHERE points_for > 545",
"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_30 (zone INTEGER, champion VARCHAR)",
"role": "system"
},
{
"content": "Which Zone has a Champion of surozh sudak?",
"role": "user"
},
{
"content": "SELECT SUM(zone) FROM table_name_30 WHERE champion = \"surozh sudak\"",
"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 (format VARCHAR, frequency VARCHAR)",
"role": "system"
},
{
"content": "What is FM 99.9's Format?",
"role": "user"
},
{
"content": "SELECT format FROM table_name_78 WHERE frequency = \"fm 99.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_55 (start VARCHAR, rank VARCHAR)",
"role": "system"
},
{
"content": "Which start has 4 as a rank?",
"role": "user"
},
{
"content": "SELECT start FROM table_name_55 WHERE rank = \"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_21302_1 (former_name VARCHAR, population__2005_ VARCHAR)",
"role": "system"
},
{
"content": "With the population in 2005 of 572, what is the former name?",
"role": "user"
},
{
"content": "SELECT former_name FROM table_21302_1 WHERE population__2005_ = 572",
"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 (week INTEGER, result VARCHAR)",
"role": "system"
},
{
"content": "In what Week was the Result W 24-17?",
"role": "user"
},
{
"content": "SELECT MAX(week) FROM table_name_65 WHERE result = \"w 24-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_1805191_14 (district VARCHAR, first_elected VARCHAR)",
"role": "system"
},
{
"content": "What is the district when the first elected was in 1986?",
"role": "user"
},
{
"content": "SELECT district FROM table_1805191_14 WHERE first_elected = 1986",
"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_2266762_1 (date VARCHAR, average_speed__mph_ VARCHAR)",
"role": "system"
},
{
"content": "On how many dates was the average speed of the race 91.033 MPH?",
"role": "user"
},
{
"content": "SELECT COUNT(date) FROM table_2266762_1 WHERE average_speed__mph_ = \"91.033\"",
"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_60 (result VARCHAR, horse VARCHAR, event VARCHAR)",
"role": "system"
},
{
"content": "What is the result for the Toscane Horse in the freestyle test?",
"role": "user"
},
{
"content": "SELECT result FROM table_name_60 WHERE horse = \"toscane\" AND event = \"freestyle test\"",
"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_11157122_5 (longest_run VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What was Eric Dickerson's longest run?",
"role": "user"
},
{
"content": "SELECT COUNT(longest_run) FROM table_11157122_5 WHERE player = \"Eric Dickerson\"",
"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 (score VARCHAR, set_1 VARCHAR)",
"role": "system"
},
{
"content": "What is the score for Set 1 at 19:21?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_59 WHERE set_1 = \"19:21\"",
"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_1 (top_5 INTEGER, cuts_made INTEGER)",
"role": "system"
},
{
"content": "what is the average top-5 when the cuts made is more than 34?",
"role": "user"
},
{
"content": "SELECT AVG(top_5) FROM table_name_1 WHERE cuts_made > 34",
"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 (home_team VARCHAR, crowd INTEGER)",
"role": "system"
},
{
"content": "Who was the home team at the game with a crowd larger than 32,576?",
"role": "user"
},
{
"content": "SELECT home_team AS score FROM table_name_20 WHERE crowd > 32 OFFSET 576",
"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 (january VARCHAR, opponent VARCHAR, game VARCHAR)",
"role": "system"
},
{
"content": "What is the total number in January when the St. Louis Blues had a game smaller than 42?",
"role": "user"
},
{
"content": "SELECT COUNT(january) FROM table_name_83 WHERE opponent = \"st. louis blues\" AND game < 42",
"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_33 (casualties VARCHAR, sunk_by… VARCHAR)",
"role": "system"
},
{
"content": "What were the casualties of the ship sunk by u-125?",
"role": "user"
},
{
"content": "SELECT casualties FROM table_name_33 WHERE sunk_by… = \"u-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 (murder INTEGER, year INTEGER)",
"role": "system"
},
{
"content": "How many total murders happened after 2011?",
"role": "user"
},
{
"content": "SELECT SUM(murder) FROM table_name_44 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_4 (grid VARCHAR, driver VARCHAR)",
"role": "system"
},
{
"content": "Tell me the total number of Grid for Rubens Barrichello",
"role": "user"
},
{
"content": "SELECT COUNT(grid) FROM table_name_4 WHERE driver = \"rubens barrichello\"",
"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 (points_against VARCHAR, tries_against VARCHAR)",
"role": "system"
},
{
"content": "What is the number of points against when the tries against was 53?",
"role": "user"
},
{
"content": "SELECT points_against FROM table_name_19 WHERE tries_against = \"53\"",
"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 (clubdesc VARCHAR, clubname VARCHAR)",
"role": "system"
},
{
"content": "Find the description of the club \"Pen and Paper Gaming\".",
"role": "user"
},
{
"content": "SELECT clubdesc FROM club WHERE clubname = \"Pen and Paper Gaming\"",
"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 (year VARCHAR, gauge VARCHAR)",
"role": "system"
},
{
"content": "In what Year is the Gauge 2 ft 6 in?",
"role": "user"
},
{
"content": "SELECT year FROM table_name_22 WHERE gauge = \"2 ft 6 in\"",
"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 (grid INTEGER, laps VARCHAR, points VARCHAR, driver VARCHAR)",
"role": "system"
},
{
"content": "Tell me the least Grid with points more than 11 and drivers being sébastien bourdais with laps less than 67",
"role": "user"
},
{
"content": "SELECT MIN(grid) FROM table_name_96 WHERE points > 11 AND driver = \"sébastien bourdais\" AND laps < 67",
"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 (high_rebounds VARCHAR, high_assists VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "What is the High rebounds with a High assists with bryant (7), and a Team of @ utah?",
"role": "user"
},
{
"content": "SELECT high_rebounds FROM table_name_9 WHERE high_assists = \"bryant (7)\" AND team = \"@ utah\"",
"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 (region VARCHAR, format VARCHAR, catalog VARCHAR)",
"role": "system"
},
{
"content": "What is the region for Catalog amlh 66078 in stereo lp format?",
"role": "user"
},
{
"content": "SELECT region FROM table_name_49 WHERE format = \"stereo lp\" AND catalog = \"amlh 66078\"",
"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 (year__ceremony_ VARCHAR, category VARCHAR, actor_actress VARCHAR)",
"role": "system"
},
{
"content": "What is the year when sigourney weaver was nominated for best actress?",
"role": "user"
},
{
"content": "SELECT year__ceremony_ FROM table_name_26 WHERE category = \"best actress\" AND actor_actress = \"sigourney weaver\"",
"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 (week INTEGER, result VARCHAR)",
"role": "system"
},
{
"content": "What is the Week of the game with a Result of L 24-0?",
"role": "user"
},
{
"content": "SELECT MAX(week) FROM table_name_44 WHERE result = \"l 24-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_49 (Id VARCHAR)",
"role": "system"
},
{
"content": "Who held the same position in 2014 that Danielle Button held in 2013?",
"role": "user"
},
{
"content": "SELECT 2014 FROM table_name_49 WHERE 2013 = \"danielle button\"",
"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 (venue VARCHAR, competition VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "Where were the Mediterranean games after 2005?",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_79 WHERE competition = \"mediterranean games\" AND year > 2005",
"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_23397386_2 (viewers__millions_ VARCHAR, rating VARCHAR)",
"role": "system"
},
{
"content": "How many million viewers watched the episode that had a 2.6/7 rating/share (18-49)",
"role": "user"
},
{
"content": "SELECT viewers__millions_ FROM table_23397386_2 WHERE rating / SHARE(18 AS –49) = 2.6 / 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 APPELLATIONS (Appelation VARCHAR, County VARCHAR); CREATE TABLE WINE (Name VARCHAR, Appelation VARCHAR, price VARCHAR)",
"role": "system"
},
{
"content": "What are the wines that have prices lower than 50 and have appelations in Monterey county?",
"role": "user"
},
{
"content": "SELECT T2.Name FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation WHERE T1.County = \"Monterey\" AND T2.price < 50",
"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 (freight_carried_s_tonne INTEGER, year VARCHAR, road_closed VARCHAR, super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR)",
"role": "system"
},
{
"content": "What is the smallest amount of freight carried on the road that closed on March 31 and reached super B capacity on February 17 after 2011?",
"role": "user"
},
{
"content": "SELECT MIN(freight_carried_s_tonne) FROM table_name_80 WHERE road_closed = \"march 31\" AND super_b_capacity_reached_[_citation_needed_] = \"february 17\" AND 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_65 (crowd INTEGER, away_team VARCHAR)",
"role": "system"
},
{
"content": "What was the lowest crowd size when Carlton was the away team.",
"role": "user"
},
{
"content": "SELECT MIN(crowd) FROM table_name_65 WHERE away_team = \"carlton\"",
"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_23292220_7 (seans_team VARCHAR, first_broadcast VARCHAR)",
"role": "system"
},
{
"content": "Name the seans team being 13 november 2008",
"role": "user"
},
{
"content": "SELECT seans_team FROM table_23292220_7 WHERE first_broadcast = \"13 November 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_name_49 (winner VARCHAR, circuit VARCHAR)",
"role": "system"
},
{
"content": "Who won at the Barbagallo Raceway circuit?",
"role": "user"
},
{
"content": "SELECT winner FROM table_name_49 WHERE circuit = \"barbagallo raceway\"",
"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_25 (round VARCHAR, status VARCHAR, song VARCHAR)",
"role": "system"
},
{
"content": "Which round status is in with this song: 叶良俊 - 爱你不是爱给别人看?",
"role": "user"
},
{
"content": "SELECT round FROM table_name_25 WHERE status = \"in\" AND song = \"叶良俊 - 爱你不是爱给别人看\"",
"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 (Id VARCHAR)",
"role": "system"
},
{
"content": "Who attended the school in 2008, that Deandria Hill attended in 2005?",
"role": "user"
},
{
"content": "SELECT 2008 FROM table_name_15 WHERE 2005 = \"deandria hill\"",
"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 (kerry_number INTEGER, others_number VARCHAR, bush_number VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest Kerry#, when Others# is \"106\", and when Bush# is less than 3,188?",
"role": "user"
},
{
"content": "SELECT MIN(kerry_number) FROM table_name_38 WHERE others_number = 106 AND bush_number < 3 OFFSET 188",
"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_42 (try_diff VARCHAR, points_against VARCHAR)",
"role": "system"
},
{
"content": "What is Try Diff, when Points Against is 213?",
"role": "user"
},
{
"content": "SELECT try_diff FROM table_name_42 WHERE points_against = \"213\"",
"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 (programming VARCHAR, channel VARCHAR)",
"role": "system"
},
{
"content": "Which Programming has a Channel of 35.4?",
"role": "user"
},
{
"content": "SELECT programming FROM table_name_14 WHERE channel = 35.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_20174050_1 (format VARCHAR, title VARCHAR)",
"role": "system"
},
{
"content": "What's the format of the audio book titled The Mind Robber?",
"role": "user"
},
{
"content": "SELECT format FROM table_20174050_1 WHERE title = \"The Mind Robber\"",
"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_23379776_5 (location VARCHAR, name_of_role VARCHAR)",
"role": "system"
},
{
"content": "How many locations for name of role as Xiao Gui 小鬼?",
"role": "user"
},
{
"content": "SELECT COUNT(location) FROM table_23379776_5 WHERE name_of_role = \"Xiao Gui 小鬼\"",
"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, club VARCHAR)",
"role": "system"
},
{
"content": "Which venue hosted the Dixie Derby Girls?",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_68 WHERE club = \"dixie derby girls\"",
"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_12275654_1 (mens_doubles VARCHAR, mens_singles VARCHAR)",
"role": "system"
},
{
"content": "Who won the men's double when Chou Tien-Chen won the men's single?",
"role": "user"
},
{
"content": "SELECT mens_doubles FROM table_12275654_1 WHERE mens_singles = \"Chou Tien-chen\"",
"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_20573232_1 (nader_percentage VARCHAR, obama_percentage VARCHAR)",
"role": "system"
},
{
"content": "What is Nader's percentage when Obama is 44.6%?",
"role": "user"
},
{
"content": "SELECT nader_percentage FROM table_20573232_1 WHERE obama_percentage = \"44.6%\"",
"role": "assistant"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.