messages
listlengths
3
3
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_60 (points INTEGER, position VARCHAR, lost VARCHAR)", "role": "system" }, { "content": "Which Points is the highest one that has a Position of 1, and a Lost smaller than 0?", "role": "user" }, { "content": "SELECT MAX(points) FROM table_name_60 WHERE position = 1 AND lost < 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_25341765_1 (us_viewers__million_ VARCHAR, directed_by VARCHAR)", "role": "system" }, { "content": "How many millions of viewers did the episode directed by Jeffrey Blitz have?", "role": "user" }, { "content": "SELECT us_viewers__million_ FROM table_25341765_1 WHERE directed_by = \"Jeffrey Blitz\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (song VARCHAR, total_points VARCHAR, jury__points_ VARCHAR)", "role": "system" }, { "content": "What is the song with more than 9 points and 44 (11) jury (points)?", "role": "user" }, { "content": "SELECT song FROM table_name_55 WHERE total_points > 9 AND jury__points_ = \"44 (11)\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_24 (against VARCHAR, opposing_team VARCHAR)", "role": "system" }, { "content": "What was the Against when the Opposing Team was sheffield wednesday?", "role": "user" }, { "content": "SELECT against FROM table_name_24 WHERE opposing_team = \"sheffield wednesday\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_47 (home_team VARCHAR, away_team VARCHAR)", "role": "system" }, { "content": "What home team played against Fleetwood Town?", "role": "user" }, { "content": "SELECT home_team FROM table_name_47 WHERE away_team = \"fleetwood town\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (yards INTEGER, game_time VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Game time of 2nd quarter (0:00), and a Date of november 8, 1971 has how many average yards?", "role": "user" }, { "content": "SELECT AVG(yards) FROM table_name_2 WHERE game_time = \"2nd quarter (0:00)\" AND date = \"november 8, 1971\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (branding VARCHAR, power VARCHAR, location VARCHAR)", "role": "system" }, { "content": "What is the Branding of the Iloilo City Frequency with a Power of 10 Kw?", "role": "user" }, { "content": "SELECT branding FROM table_name_38 WHERE power = \"10 kw\" AND location = \"iloilo 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_18 (driver VARCHAR, chassis VARCHAR, tyre VARCHAR, rounds VARCHAR)", "role": "system" }, { "content": "Which driver has a G tyre, rounds of 2-12 and a M7A chassis?", "role": "user" }, { "content": "SELECT driver FROM table_name_18 WHERE tyre = \"g\" AND rounds = \"2-12\" AND chassis = \"m7a\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (place VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What place did Don Whitt finish?", "role": "user" }, { "content": "SELECT place FROM table_name_79 WHERE player = \"don whitt\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE airports (city VARCHAR, country VARCHAR)", "role": "system" }, { "content": "How many airports are there per city in the United States? Order the cities by decreasing number of airports.", "role": "user" }, { "content": "SELECT COUNT(*), city FROM airports WHERE country = 'United States' GROUP BY city ORDER BY COUNT(*) DESC", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (played VARCHAR, tries_for VARCHAR)", "role": "system" }, { "content": "What was the played with 38 tries?", "role": "user" }, { "content": "SELECT played FROM table_name_55 WHERE tries_for = \"38\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (to_par INTEGER, country VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What is the lowest to par of a player from australia with a score of 76-70-75-72=293?", "role": "user" }, { "content": "SELECT MIN(to_par) FROM table_name_96 WHERE country = \"australia\" AND score = 76 - 70 - 75 - 72 = 293", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (average_score INTEGER, artist VARCHAR)", "role": "system" }, { "content": "What is the highest score for Black Milk?", "role": "user" }, { "content": "SELECT MAX(average_score) FROM table_name_29 WHERE artist = \"black milk\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (gold INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR)", "role": "system" }, { "content": "The United States, with a total medal count of less than 171, and a bronze medal count less than 9, has how many gold medals?", "role": "user" }, { "content": "SELECT MAX(gold) FROM table_name_1 WHERE total < 171 AND nation = \"united states\" AND bronze < 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_12094609_1 (swimsuit VARCHAR, average VARCHAR)", "role": "system" }, { "content": " what's the swimsuit where average is 8.670", "role": "user" }, { "content": "SELECT swimsuit FROM table_12094609_1 WHERE average = \"8.670\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (year VARCHAR, time VARCHAR)", "role": "system" }, { "content": "What year has the time of 55:29:20?", "role": "user" }, { "content": "SELECT COUNT(year) FROM table_name_16 WHERE time = \"55:29:20\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_66 (result VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What was the result of the December 15, 2002 game?", "role": "user" }, { "content": "SELECT result FROM table_name_66 WHERE date = \"december 15, 2002\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (time VARCHAR, opponent VARCHAR, record VARCHAR)", "role": "system" }, { "content": "What was time of the game against the Royals with a record of 81–73?", "role": "user" }, { "content": "SELECT time FROM table_name_4 WHERE opponent = \"royals\" AND record = \"81–73\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Financial_transactions (transaction_amount INTEGER)", "role": "system" }, { "content": "What is the average and total transaction amount?", "role": "user" }, { "content": "SELECT AVG(transaction_amount), SUM(transaction_amount) FROM Financial_transactions", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (goals_for INTEGER, goal_difference VARCHAR, goals_against VARCHAR, club VARCHAR)", "role": "system" }, { "content": "What is teh average amount of goals for club real avilés cf, which has more than 59 goals against and a -10 goal difference?", "role": "user" }, { "content": "SELECT AVG(goals_for) FROM table_name_53 WHERE goals_against > 59 AND club = \"real avilés cf\" AND goal_difference > -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_78 (method VARCHAR, round VARCHAR, record VARCHAR)", "role": "system" }, { "content": "What's the method for a record of 4-2 and round smaller than 3?", "role": "user" }, { "content": "SELECT method FROM table_name_78 WHERE round < 3 AND record = \"4-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_2 (gold VARCHAR, event VARCHAR, silver VARCHAR)", "role": "system" }, { "content": "Who received gold when the event is time trial details and silver is simon richardson great britain (gbr)?", "role": "user" }, { "content": "SELECT gold FROM table_name_2 WHERE event = \"time trial details\" AND silver = \"simon richardson great britain (gbr)\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (title VARCHAR, doctor VARCHAR, published VARCHAR)", "role": "system" }, { "content": "What title was published on November 2001 and has a 1st Doctor?", "role": "user" }, { "content": "SELECT title FROM table_name_99 WHERE doctor = \"1st\" AND published = \"november 2001\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_45 (surface VARCHAR, partner VARCHAR)", "role": "system" }, { "content": "Which Surface has a Partner of galina voskoboeva?", "role": "user" }, { "content": "SELECT surface FROM table_name_45 WHERE partner = \"galina voskoboeva\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_14945881_1 (date VARCHAR, week VARCHAR)", "role": "system" }, { "content": "Name the date when week is 9", "role": "user" }, { "content": "SELECT date FROM table_14945881_1 WHERE week = 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_19 (wins VARCHAR, starts VARCHAR, top_5 VARCHAR)", "role": "system" }, { "content": "Can you tell me the Wins that has the Starts larger than 1, and the Top 5 of 3?", "role": "user" }, { "content": "SELECT wins FROM table_name_19 WHERE starts > 1 AND top_5 = 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_31 (tournament VARCHAR, extra VARCHAR)", "role": "system" }, { "content": "In what tournament was there an extra of 400 m hurdles?", "role": "user" }, { "content": "SELECT tournament FROM table_name_31 WHERE extra = \"400 m hurdles\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1140116_5 (winning_driver VARCHAR, race_name VARCHAR)", "role": "system" }, { "content": "Which driver won the race xiv eläintarhanajot?", "role": "user" }, { "content": "SELECT winning_driver FROM table_1140116_5 WHERE race_name = \"XIV Eläintarhanajot\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_86 (result VARCHAR, game VARCHAR)", "role": "system" }, { "content": "Which Result has a Game of game 1?", "role": "user" }, { "content": "SELECT result FROM table_name_86 WHERE game = \"game 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_229059_2 (country VARCHAR, champion VARCHAR)", "role": "system" }, { "content": "How many different countries did the champion Se Ri Pak (2) represent?", "role": "user" }, { "content": "SELECT COUNT(country) FROM table_229059_2 WHERE champion = \"Se Ri Pak (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_13336122_5 (original_air_date VARCHAR, written_by VARCHAR)", "role": "system" }, { "content": "what is the original air date for the episoe written by vanessa reisen?", "role": "user" }, { "content": "SELECT original_air_date FROM table_13336122_5 WHERE written_by = \"Vanessa Reisen\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_95 (title VARCHAR, result VARCHAR, director VARCHAR, survey VARCHAR, year VARCHAR)", "role": "system" }, { "content": "What is the title for the Murex D'or survey, after 2005, Said Elmarouk as director, and was nominated?", "role": "user" }, { "content": "SELECT title FROM table_name_95 WHERE survey = \"murex d'or\" AND year > 2005 AND director = \"said elmarouk\" AND result = \"nominated\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (points INTEGER, position VARCHAR, played VARCHAR)", "role": "system" }, { "content": "Which Points is the highest one that has a Position of 5, and a Played smaller than 18?", "role": "user" }, { "content": "SELECT MAX(points) FROM table_name_80 WHERE position = 5 AND played < 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_43 (time VARCHAR, heat VARCHAR, nationality VARCHAR)", "role": "system" }, { "content": "What's Australia's time in the heat more than 4?", "role": "user" }, { "content": "SELECT time FROM table_name_43 WHERE heat > 4 AND nationality = \"australia\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23286223_5 (game VARCHAR, high_rebounds VARCHAR)", "role": "system" }, { "content": "What's the number of the game in which Carlos Boozer (8) did the high rebounds?", "role": "user" }, { "content": "SELECT game FROM table_23286223_5 WHERE high_rebounds = \"Carlos Boozer (8)\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_16 (home_team VARCHAR)", "role": "system" }, { "content": "What was Fitzroy's score when they were the home team?", "role": "user" }, { "content": "SELECT home_team AS score FROM table_name_16 WHERE home_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_9 (total INTEGER, nation VARCHAR)", "role": "system" }, { "content": "How many total medals for the netherlands?", "role": "user" }, { "content": "SELECT SUM(total) FROM table_name_9 WHERE nation = \"netherlands\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23575917_7 (scores VARCHAR, lees_team VARCHAR)", "role": "system" }, { "content": "If the lees team is Clare Balding and Miranda Hart, what was the score?", "role": "user" }, { "content": "SELECT scores FROM table_23575917_7 WHERE lees_team = \"Clare Balding and Miranda Hart\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (date VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "What was the date of the game against North Carolina?", "role": "user" }, { "content": "SELECT date FROM table_name_10 WHERE opponent = \"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_14 (place VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What is Anders Forsbrand's Place?", "role": "user" }, { "content": "SELECT place FROM table_name_14 WHERE player = \"anders forsbrand\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE country (country_id VARCHAR, country VARCHAR); CREATE TABLE city (country_id VARCHAR)", "role": "system" }, { "content": "How many cities are in Australia?", "role": "user" }, { "content": "SELECT COUNT(*) FROM city AS T1 JOIN country AS T2 ON T1.country_id = T2.country_id WHERE T2.country = 'Australia'", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE people (Party VARCHAR)", "role": "system" }, { "content": "Show different parties of people along with the number of people in each party.", "role": "user" }, { "content": "SELECT Party, COUNT(*) FROM people GROUP BY 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_27823359_1 (written_by VARCHAR, season__number VARCHAR)", "role": "system" }, { "content": "Who wrote episode 23 in the season?", "role": "user" }, { "content": "SELECT written_by FROM table_27823359_1 WHERE season__number = \"23\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_14960574_6 (italian_voice_actor VARCHAR, german_voice_actor VARCHAR)", "role": "system" }, { "content": "Name the italian voice actor for dirk fenselau", "role": "user" }, { "content": "SELECT italian_voice_actor FROM table_14960574_6 WHERE german_voice_actor = \"Dirk Fenselau\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_12226390_2 (written_by VARCHAR, no_in_series VARCHAR)", "role": "system" }, { "content": "Who wrote the episode 14 in series?", "role": "user" }, { "content": "SELECT written_by FROM table_12226390_2 WHERE no_in_series = 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_32 (date VARCHAR, attendance VARCHAR)", "role": "system" }, { "content": "On what Date was the Attendance 73,405?", "role": "user" }, { "content": "SELECT date FROM table_name_32 WHERE attendance = \"73,405\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (score VARCHAR, competition VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What is the Score of West Asian Games 2005 on 10 dec 2005?", "role": "user" }, { "content": "SELECT score FROM table_name_44 WHERE competition = \"west asian games 2005\" AND date = \"10 dec 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 Maintenance_Engineers (first_name VARCHAR, last_name VARCHAR, other_details VARCHAR, engineer_id VARCHAR); CREATE TABLE Engineer_Skills (engineer_id VARCHAR, skill_id VARCHAR); CREATE TABLE Skills (skill_description VARCHAR, skill_id VARCHAR)", "role": "system" }, { "content": "List all every engineer's first name, last name, details and coresponding skill description.", "role": "user" }, { "content": "SELECT T1.first_name, T1.last_name, T1.other_details, T3.skill_description FROM Maintenance_Engineers AS T1 JOIN Engineer_Skills AS T2 ON T1.engineer_id = T2.engineer_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_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_name_1 (production_code VARCHAR, original_air_date VARCHAR, season__number VARCHAR, series__number VARCHAR)", "role": "system" }, { "content": "What is the production code of the episode before season 8, with a series number less than 31, and aired on September 21, 1995?", "role": "user" }, { "content": "SELECT production_code FROM table_name_1 WHERE season__number < 8 AND series__number < 31 AND original_air_date = \"september 21, 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_name_70 (coding VARCHAR, variant_id VARCHAR)", "role": "system" }, { "content": "Which 5'utr splice's coding is 1a 2, when the Variant id is abd'1a 2?", "role": "user" }, { "content": "SELECT 5 AS ’utr_splice FROM table_name_70 WHERE coding = \"1a 2\" AND variant_id = \"abd'1a 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_85 (competition VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What competition has a Score of 7–0?", "role": "user" }, { "content": "SELECT competition FROM table_name_85 WHERE score = \"7–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_95 (date VARCHAR, away_team VARCHAR)", "role": "system" }, { "content": "When was the game played that had Rochdale as the away team?", "role": "user" }, { "content": "SELECT date FROM table_name_95 WHERE away_team = \"rochdale\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_47 (opponent VARCHAR, res VARCHAR, time VARCHAR)", "role": "system" }, { "content": "Who was the opponent in the bout that led to a win in a time of 1:21?", "role": "user" }, { "content": "SELECT opponent FROM table_name_47 WHERE res = \"win\" AND time = \"1: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_81 (winning_horse VARCHAR, winning_jockey VARCHAR)", "role": "system" }, { "content": "Who is the jockey for the winning horse Rafael Bejarano?", "role": "user" }, { "content": "SELECT winning_horse FROM table_name_81 WHERE winning_jockey = \"rafael bejarano\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE manufacturer (open_year VARCHAR, name VARCHAR, num_of_shops VARCHAR)", "role": "system" }, { "content": "Which manufacturer has the most number of shops? List its name and year of opening.", "role": "user" }, { "content": "SELECT open_year, name FROM manufacturer ORDER BY num_of_shops DESC LIMIT 1", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_43 (country VARCHAR, class VARCHAR, qualifying_grand_prix VARCHAR)", "role": "system" }, { "content": "What is Country, when Class is \"15 meters\", and when Qualifying Grand Prix is \"Soaring Grand Prix Of United Kingdom\"?", "role": "user" }, { "content": "SELECT country FROM table_name_43 WHERE class = \"15 meters\" AND qualifying_grand_prix = \"soaring grand prix of united kingdom\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (entrant VARCHAR, chassis VARCHAR)", "role": "system" }, { "content": "Which entrant had a chassis of March CG891?", "role": "user" }, { "content": "SELECT entrant FROM table_name_20 WHERE chassis = \"march cg891\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (date VARCHAR, venue VARCHAR)", "role": "system" }, { "content": "Which Date has a Venue of junction oval?", "role": "user" }, { "content": "SELECT date FROM table_name_39 WHERE venue = \"junction oval\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_77 (technical INTEGER, athlete VARCHAR, total VARCHAR)", "role": "system" }, { "content": "What is the technical number for Jiang Tingting & Jiang Wenwen, and the total was more than 96.334?", "role": "user" }, { "content": "SELECT MAX(technical) FROM table_name_77 WHERE athlete = \"jiang tingting & jiang wenwen\" AND total > 96.334", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_71 (player VARCHAR, years_for_grizzlies VARCHAR, nationality VARCHAR, position VARCHAR)", "role": "system" }, { "content": "Who was the 1999-2002 Years for Grizzlies small forward Player who was from the United States?", "role": "user" }, { "content": "SELECT player FROM table_name_71 WHERE nationality = \"united states\" AND position = \"small forward\" AND years_for_grizzlies = \"1999-2002\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (total VARCHAR, set_2 VARCHAR, score VARCHAR, set_3 VARCHAR)", "role": "system" }, { "content": "What is the total of the 3-0 score with a set 2 of 25-12 and a set 3 of 25-18?", "role": "user" }, { "content": "SELECT total FROM table_name_16 WHERE score = \"3-0\" AND set_3 = \"25-18\" AND set_2 = \"25-12\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_4 (match_report VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What is the match report from the game played on 25 april 2009?", "role": "user" }, { "content": "SELECT match_report FROM table_name_4 WHERE date = \"25 april 2009\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_76 (byes INTEGER, wins VARCHAR, draws VARCHAR, mininera_dfl VARCHAR)", "role": "system" }, { "content": "WHAT ARE THE BYES WITH A DRAWS OF 1, SMW ROVERS, AND WINS LARGER THAN 6?", "role": "user" }, { "content": "SELECT AVG(byes) FROM table_name_76 WHERE draws = 1 AND mininera_dfl = \"smw rovers\" AND wins > 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_26914854_3 (position_in_table VARCHAR, date_of_vacancy VARCHAR)", "role": "system" }, { "content": "What is the position in table when the date of vacancy was 4 january 2011?", "role": "user" }, { "content": "SELECT position_in_table FROM table_26914854_3 WHERE date_of_vacancy = \"4 January 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_59 (opponent VARCHAR, week VARCHAR, stadium VARCHAR)", "role": "system" }, { "content": "Who was the opposing team at Schaefer Stadium later in the season than week 7?", "role": "user" }, { "content": "SELECT opponent FROM table_name_59 WHERE week > 7 AND stadium = \"schaefer 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_81 (translation VARCHAR, unit VARCHAR)", "role": "system" }, { "content": "What is the translation of chetvert?", "role": "user" }, { "content": "SELECT translation FROM table_name_81 WHERE unit = \"chetvert\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22835602_1 (directed_by VARCHAR, viewers__in_millions_ VARCHAR)", "role": "system" }, { "content": "List all directors from episodes with viewership of 1.945 million.", "role": "user" }, { "content": "SELECT directed_by FROM table_22835602_1 WHERE viewers__in_millions_ = \"1.945\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (player VARCHAR, cfl_team VARCHAR)", "role": "system" }, { "content": "which player played on Team Hamilton?", "role": "user" }, { "content": "SELECT player FROM table_name_33 WHERE cfl_team = \"hamilton\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (round VARCHAR, event VARCHAR)", "role": "system" }, { "content": "What round did the match go to when the event was Bars - Moscow vs St. Petersburg?", "role": "user" }, { "content": "SELECT round FROM table_name_92 WHERE event = \"bars - moscow vs st. petersburg\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_27 (term_in_office VARCHAR, member VARCHAR, party VARCHAR, state VARCHAR)", "role": "system" }, { "content": "Name the term in office for liberal and state of sa for ian mclachlan", "role": "user" }, { "content": "SELECT term_in_office FROM table_name_27 WHERE party = \"liberal\" AND state = \"sa\" AND member = \"ian mclachlan\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (grid VARCHAR, time_retired VARCHAR)", "role": "system" }, { "content": "What is the grid with a +6.8359 time/retired?", "role": "user" }, { "content": "SELECT grid FROM table_name_53 WHERE time_retired = \"+6.8359\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_254234_1 (area³ INTEGER, density² VARCHAR)", "role": "system" }, { "content": "What is the area of the province with a density of 533.59?", "role": "user" }, { "content": "SELECT MAX(area³) FROM table_254234_1 WHERE density² = \"533.59\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_24 (circuit VARCHAR, date VARCHAR, length VARCHAR)", "role": "system" }, { "content": "Which circuit was held on May 7 for 1 hour?", "role": "user" }, { "content": "SELECT circuit FROM table_name_24 WHERE date = \"may 7\" AND length = \"1 hour\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23575917_2 (scores VARCHAR, lees_team VARCHAR)", "role": "system" }, { "content": "Name the scores for michael buerk and russell howard", "role": "user" }, { "content": "SELECT scores FROM table_23575917_2 WHERE lees_team = \"Michael Buerk and Russell Howard\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (pick INTEGER, position VARCHAR)", "role": "system" }, { "content": "What is the sum of the pick of the lw position player?", "role": "user" }, { "content": "SELECT SUM(pick) FROM table_name_25 WHERE position = \"lw\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (draws INTEGER, goal_difference VARCHAR, points VARCHAR, wins VARCHAR)", "role": "system" }, { "content": "What is the highest draws that have 31 for points, wins greater than 12, with a goal difference less than 11?", "role": "user" }, { "content": "SELECT MAX(draws) FROM table_name_8 WHERE points = 31 AND wins > 12 AND goal_difference < 11", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (date VARCHAR, goal VARCHAR)", "role": "system" }, { "content": "What was the date of the game with 6 goals?", "role": "user" }, { "content": "SELECT date FROM table_name_61 WHERE goal = 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_21 (record VARCHAR, week VARCHAR, attendance VARCHAR)", "role": "system" }, { "content": "What was the record of the game after Week 6 with an attendance larger than 52,560?", "role": "user" }, { "content": "SELECT record FROM table_name_21 WHERE week > 6 AND attendance > 52 OFFSET 560", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (label VARCHAR, date VARCHAR, catalog VARCHAR)", "role": "system" }, { "content": "Which Label has a Date smaller than 2008, and a Catalog of fall cd 006?", "role": "user" }, { "content": "SELECT label FROM table_name_82 WHERE date < 2008 AND catalog = \"fall cd 006\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_17 (party VARCHAR, left_office VARCHAR, portfolio VARCHAR)", "role": "system" }, { "content": "What is Party, when Left Office is \"23 April 2005\", when Portfolio is \"Minister of Reforms and Devolutions\"?", "role": "user" }, { "content": "SELECT party FROM table_name_17 WHERE left_office = \"23 april 2005\" AND portfolio = \"minister of reforms and devolutions\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1557974_1 (ring_name VARCHAR, current_rank VARCHAR)", "role": "system" }, { "content": "Which ring names are currently ranked f0 jūryō 3 west?", "role": "user" }, { "content": "SELECT ring_name FROM table_1557974_1 WHERE current_rank = \"f0 Jūryō 3 West\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (date VARCHAR, home_team VARCHAR)", "role": "system" }, { "content": "What date did Footscray play at home?", "role": "user" }, { "content": "SELECT date FROM table_name_92 WHERE home_team = \"footscray\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2004733_2 (population__2000_ VARCHAR, barangay VARCHAR)", "role": "system" }, { "content": "How many people lived in san gabriel in the year 2000?", "role": "user" }, { "content": "SELECT COUNT(population__2000_) FROM table_2004733_2 WHERE barangay = \"San Gabriel\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_14649522_1 (college VARCHAR, position VARCHAR, pick__number VARCHAR)", "role": "system" }, { "content": "Which college was the wide receiver whose pick was less than 130.0 picked from?", "role": "user" }, { "content": "SELECT college FROM table_14649522_1 WHERE position = \"Wide Receiver\" AND pick__number < 130.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_31 (democratic_alternative VARCHAR, polling_institute VARCHAR)", "role": "system" }, { "content": "What is the value of the Democratic Alternative for the poll released by Malta Today?", "role": "user" }, { "content": "SELECT democratic_alternative FROM table_name_31 WHERE polling_institute = \"malta today\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_52 (place INTEGER, total VARCHAR, average VARCHAR)", "role": "system" }, { "content": "What is the smallest place number when the total is 16 and average is less than 16?", "role": "user" }, { "content": "SELECT MIN(place) FROM table_name_52 WHERE total = 16 AND average < 16", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_13 (goals VARCHAR, caps VARCHAR, player VARCHAR)", "role": "system" }, { "content": "How many goals occurred for Stein Huysegems when the caps value is more than 8?", "role": "user" }, { "content": "SELECT goals FROM table_name_13 WHERE caps > 8 AND player = \"stein huysegems\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (class VARCHAR, part_2 VARCHAR)", "role": "system" }, { "content": "Which class has a part 2 of halp warþ?", "role": "user" }, { "content": "SELECT class FROM table_name_14 WHERE part_2 = \"halp warþ\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (final_ladder_position VARCHAR, finals_qualification VARCHAR, teams VARCHAR)", "role": "system" }, { "content": "What's the ladder position when team is less than 10 and the Finals qualifications were DNQ?", "role": "user" }, { "content": "SELECT final_ladder_position FROM table_name_75 WHERE finals_qualification = \"dnq\" AND teams < 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_5 (daytime VARCHAR, saturday VARCHAR, name VARCHAR)", "role": "system" }, { "content": "Name the Daytime which has Saturday of yes and a Name of exmouth?", "role": "user" }, { "content": "SELECT daytime FROM table_name_5 WHERE saturday = \"yes\" AND name = \"exmouth\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1242447_1 (strongs_transliteration VARCHAR, english_spelling VARCHAR)", "role": "system" }, { "content": "How many strongs transliteration of the english spelling of the work jehojakin?", "role": "user" }, { "content": "SELECT COUNT(strongs_transliteration) FROM table_1242447_1 WHERE english_spelling = \"Jehojakin\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (capacity INTEGER, team VARCHAR)", "role": "system" }, { "content": "Can you tell me the highest Capacity that has the Team of torpedo?", "role": "user" }, { "content": "SELECT MAX(capacity) FROM table_name_66 WHERE team = \"torpedo\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_10321124_1 (salmonella VARCHAR, shigella VARCHAR)", "role": "system" }, { "content": "what's the salmonella with shigella being ipgc", "role": "user" }, { "content": "SELECT salmonella FROM table_10321124_1 WHERE shigella = \"IpgC\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (year INTEGER, start INTEGER)", "role": "system" }, { "content": "Name the most year with start more than 2", "role": "user" }, { "content": "SELECT MAX(year) FROM table_name_59 WHERE start > 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_27714573_1 (written_by VARCHAR, production_code_s_ VARCHAR)", "role": "system" }, { "content": "who are the writers of the episode whose production code(s) is 225560? ", "role": "user" }, { "content": "SELECT written_by FROM table_27714573_1 WHERE production_code_s_ = 225560", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_95 (studio VARCHAR, director VARCHAR)", "role": "system" }, { "content": "What studio is director David Fincher from?", "role": "user" }, { "content": "SELECT studio FROM table_name_95 WHERE director = \"david fincher\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (title VARCHAR, no_in_series INTEGER)", "role": "system" }, { "content": "What are the titles for episodes prior to episode 4?", "role": "user" }, { "content": "SELECT title FROM table_name_29 WHERE no_in_series < 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_2 (attendance INTEGER, result VARCHAR, week VARCHAR)", "role": "system" }, { "content": "Which Attendance has a Result of w 24-14, and a Week smaller than 7?", "role": "user" }, { "content": "SELECT SUM(attendance) FROM table_name_2 WHERE result = \"w 24-14\" AND week < 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_77 (airport VARCHAR, country VARCHAR)", "role": "system" }, { "content": "What airport is in Vietnam?", "role": "user" }, { "content": "SELECT airport FROM table_name_77 WHERE country = \"vietnam\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (partnering VARCHAR, opponents_in_final VARCHAR)", "role": "system" }, { "content": "Who is the partnering that had the opponents of Marcelo Melo André Sá?", "role": "user" }, { "content": "SELECT partnering FROM table_name_29 WHERE opponents_in_final = \"marcelo melo andré sá\"", "role": "assistant" } ]