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_62 (percentage_of_votes VARCHAR, number_of_votes_received VARCHAR)", "role": "system" }, { "content": "What percentage of the vote was 1,255,153 of received votes?", "role": "user" }, { "content": "SELECT percentage_of_votes FROM table_name_62 WHERE number_of_votes_received = \"1,255,153\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_97 (location VARCHAR, method VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "Which location has a method of decision and Nikos Tsoukalas for an opponent?", "role": "user" }, { "content": "SELECT location FROM table_name_97 WHERE method = \"decision\" AND opponent = \"nikos tsoukalas\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_19072602_1 (score VARCHAR, team_europe VARCHAR)", "role": "system" }, { "content": "What was the score when Tore Torgersen played for Team Europe?", "role": "user" }, { "content": "SELECT score FROM table_19072602_1 WHERE team_europe = \"Tore Torgersen\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_37 (result VARCHAR, award VARCHAR, nominee VARCHAR)", "role": "system" }, { "content": "What was the result of the Award of Drama desk award nominee Tom Hewitt.", "role": "user" }, { "content": "SELECT result FROM table_name_37 WHERE award = \"drama desk award\" AND nominee = \"tom hewitt\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (year_of_issue INTEGER, thickness VARCHAR)", "role": "system" }, { "content": "Which Year of Issue has a Thickness of 1.42mm?", "role": "user" }, { "content": "SELECT MAX(year_of_issue) FROM table_name_52 WHERE thickness = \"1.42mm\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_46 (enrollment INTEGER, location VARCHAR)", "role": "system" }, { "content": "What is the lowest enrollment that has Lafayette as the location?", "role": "user" }, { "content": "SELECT MIN(enrollment) FROM table_name_46 WHERE location = \"lafayette\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (score VARCHAR, team VARCHAR)", "role": "system" }, { "content": "For the game with team of @ Chicago, what was the final score?", "role": "user" }, { "content": "SELECT score FROM table_name_19 WHERE team = \"@ chicago\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (ground VARCHAR, round VARCHAR)", "role": "system" }, { "content": "Which ground's round was 33?", "role": "user" }, { "content": "SELECT ground FROM table_name_17 WHERE round = \"33\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18102421_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)", "role": "system" }, { "content": "How many millions of U.S. viewers watched the episode directed by Allison Liddi-Brown? ", "role": "user" }, { "content": "SELECT us_viewers__millions_ FROM table_18102421_2 WHERE directed_by = \"Allison Liddi-Brown\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (engine VARCHAR, team VARCHAR)", "role": "system" }, { "content": "What is the engine for the Machinists Union Racing team?", "role": "user" }, { "content": "SELECT engine FROM table_name_79 WHERE team = \"machinists union racing\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (points_for VARCHAR, points_against VARCHAR)", "role": "system" }, { "content": "what's the points total when points against was points against?", "role": "user" }, { "content": "SELECT points_for FROM table_name_8 WHERE points_against = \"points against\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (round INTEGER, position VARCHAR, pick__number VARCHAR, overall VARCHAR)", "role": "system" }, { "content": "What is the highest round with a pick# of 11, a position of offensive tackle, and overall less than 414?", "role": "user" }, { "content": "SELECT MAX(round) FROM table_name_24 WHERE pick__number = 11 AND overall < 414 AND position = \"offensive tackle\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_90 (venue VARCHAR, home_team VARCHAR)", "role": "system" }, { "content": "What venue had south melbourne as the home team?", "role": "user" }, { "content": "SELECT venue FROM table_name_90 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_19630743_2 (no VARCHAR, runner_s__up VARCHAR)", "role": "system" }, { "content": "What is the total number of John Merrick as a runner up?", "role": "user" }, { "content": "SELECT COUNT(no) FROM table_19630743_2 WHERE runner_s__up = \"John Merrick\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_37 (round INTEGER, pick VARCHAR)", "role": "system" }, { "content": "What is the total round with pick of 109?", "role": "user" }, { "content": "SELECT SUM(round) FROM table_name_37 WHERE pick = 109", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (finish VARCHAR, country VARCHAR)", "role": "system" }, { "content": "What is the finish of Australia?", "role": "user" }, { "content": "SELECT finish FROM table_name_52 WHERE 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 table_20967430_4 (directed_by VARCHAR, original_air_date VARCHAR)", "role": "system" }, { "content": "Who directed the episode that originally aired on March 18, 1988?", "role": "user" }, { "content": "SELECT directed_by FROM table_20967430_4 WHERE original_air_date = \"March 18, 1988\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (lost INTEGER, position INTEGER)", "role": "system" }, { "content": "What is the largest value for lost with a position greater than 10?", "role": "user" }, { "content": "SELECT MAX(lost) FROM table_name_89 WHERE position > 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_38 (draws INTEGER, goals_against VARCHAR, losses VARCHAR)", "role": "system" }, { "content": "What is the total draw count with 52 goals and less than 15 losses?", "role": "user" }, { "content": "SELECT SUM(draws) FROM table_name_38 WHERE goals_against = 52 AND losses < 15", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_20217811_1 (green VARCHAR, electorate VARCHAR)", "role": "system" }, { "content": "Name the green for otaki", "role": "user" }, { "content": "SELECT green FROM table_20217811_1 WHERE electorate = \"Otaki\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_202365_2 (а_а_ VARCHAR, a VARCHAR, ҕь_ҕь_ VARCHAR, ʁʲ_ɣʲ VARCHAR)", "role": "system" }, { "content": "what is а а [a] when ҕь ҕь [ʁʲ/ɣʲ] is ш ш [ʂʃ]?", "role": "user" }, { "content": "SELECT а_а_[a] FROM table_202365_2 WHERE ҕь_ҕь_[ʁʲ_ɣʲ] = \"Ш ш [ʂʃ]\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_72 (placings VARCHAR, total VARCHAR, name VARCHAR)", "role": "system" }, { "content": "How many placings did Jacqueline du Bief earn where her total score is greater than 131.26?", "role": "user" }, { "content": "SELECT placings FROM table_name_72 WHERE total > 131.26 AND name = \"jacqueline du bief\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (status VARCHAR, floors VARCHAR, year VARCHAR)", "role": "system" }, { "content": "What is the status of the building with less than 18 floors and later than 2013?", "role": "user" }, { "content": "SELECT status FROM table_name_18 WHERE floors < 18 AND year > 2013", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (language VARCHAR, number VARCHAR)", "role": "system" }, { "content": "Which Language has a Number of 553 633?", "role": "user" }, { "content": "SELECT language FROM table_name_64 WHERE number = \"553 633\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11959669_6 (team VARCHAR, location_attendance VARCHAR)", "role": "system" }, { "content": "What is the team when location attendance is us airways center 18,422?", "role": "user" }, { "content": "SELECT team FROM table_11959669_6 WHERE location_attendance = \"US Airways Center 18,422\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_19722233_5 (assists VARCHAR, points VARCHAR)", "role": "system" }, { "content": "how many assists did the player who scored 251 points make", "role": "user" }, { "content": "SELECT assists FROM table_19722233_5 WHERE points = 251", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_6 (opening_date VARCHAR, classification VARCHAR, theatre VARCHAR)", "role": "system" }, { "content": "What is the opening date of the musical at the adelphi theatre?", "role": "user" }, { "content": "SELECT opening_date FROM table_name_6 WHERE classification = \"musical\" AND theatre = \"adelphi theatre\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE trip (id VARCHAR, duration VARCHAR)", "role": "system" }, { "content": "What are the ids and durations of the trips with the top 3 durations?", "role": "user" }, { "content": "SELECT id, duration FROM trip ORDER BY duration DESC LIMIT 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_28621502_1 (asia VARCHAR, title VARCHAR)", "role": "system" }, { "content": "How many of Asian release statuses does Uno HD have?", "role": "user" }, { "content": "SELECT COUNT(asia) FROM table_28621502_1 WHERE title = \"UNO HD\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (to_par VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What was the TO par for the player who scored 70-68-74-70=282?", "role": "user" }, { "content": "SELECT to_par FROM table_name_26 WHERE score = 70 - 68 - 74 - 70 = 282", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_27700375_8 (high_assists VARCHAR, team VARCHAR)", "role": "system" }, { "content": "Who got high assists for team @ Indiana?", "role": "user" }, { "content": "SELECT high_assists FROM table_27700375_8 WHERE team = \"@ Indiana\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (game INTEGER, record VARCHAR)", "role": "system" }, { "content": "Name the least game for record of 1-0-2", "role": "user" }, { "content": "SELECT MIN(game) FROM table_name_24 WHERE record = \"1-0-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_34 (opponent VARCHAR, record VARCHAR)", "role": "system" }, { "content": "What opponents have a record of 90-70?", "role": "user" }, { "content": "SELECT opponent FROM table_name_34 WHERE record = \"90-70\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_28037619_2 (title VARCHAR, written_by VARCHAR)", "role": "system" }, { "content": "What is the name of the episode written by David Matthews?", "role": "user" }, { "content": "SELECT title FROM table_28037619_2 WHERE written_by = \"David Matthews\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (player VARCHAR, school VARCHAR)", "role": "system" }, { "content": "Which Player attended George Washington High School?", "role": "user" }, { "content": "SELECT player FROM table_name_8 WHERE school = \"george washington high school\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_6 (years VARCHAR, roll VARCHAR, area VARCHAR)", "role": "system" }, { "content": "Murupara has a roll greater than 296 for what years?", "role": "user" }, { "content": "SELECT years FROM table_name_6 WHERE roll > 296 AND area = \"murupara\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE phone (Carrier VARCHAR, Memory_in_G INTEGER)", "role": "system" }, { "content": "List the distinct carriers of phones with memories bigger than 32.", "role": "user" }, { "content": "SELECT DISTINCT Carrier FROM phone WHERE Memory_in_G > 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_96 (year INTEGER, hessen VARCHAR, saar VARCHAR, main VARCHAR, rhein VARCHAR)", "role": "system" }, { "content": "What is the smallest year for a Main of Eintracht Frankfurt, Rhein of Waldhof Mannheim, Sarr of FK Pirmasens, and Hessen of Wormatia Worms?", "role": "user" }, { "content": "SELECT MIN(year) FROM table_name_96 WHERE main = \"eintracht frankfurt\" AND rhein = \"waldhof mannheim\" AND saar = \"fk pirmasens\" AND hessen = \"wormatia worms\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (score VARCHAR, player VARCHAR, country VARCHAR, year VARCHAR, margin_of_victory VARCHAR)", "role": "system" }, { "content": "Which Score has a Year larger than 1980, and a Margin of victory of 2 strokes, and a Country of united states, and a Player of jim furyk?", "role": "user" }, { "content": "SELECT score FROM table_name_68 WHERE year > 1980 AND margin_of_victory = \"2 strokes\" AND country = \"united states\" AND player = \"jim furyk\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (interview INTEGER, swimsuit VARCHAR, country VARCHAR, preliminaries VARCHAR, evening_gown VARCHAR)", "role": "system" }, { "content": "What is the least score for interview with a preliminaries score less than 9.4, evening gown score less than 9.55, and swimsuit score more than 9.18 in New York?", "role": "user" }, { "content": "SELECT MIN(interview) FROM table_name_79 WHERE preliminaries < 9.4 AND evening_gown < 9.55 AND country = \"new york\" AND swimsuit > 9.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_60 (country VARCHAR, place VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What is the Country of the T8 Place Player with a Score of 70-67-71=208?", "role": "user" }, { "content": "SELECT country FROM table_name_60 WHERE place = \"t8\" AND score = 70 - 67 - 71 = 208", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (period__days_ INTEGER, type VARCHAR, planetary_mass___m⊕__ VARCHAR, stellar_mass___m__ VARCHAR)", "role": "system" }, { "content": "What is the smallest period (days) to have a planetary mass of 1, a stellar mass greater than 0.21 and of the type M0?", "role": "user" }, { "content": "SELECT MIN(period__days_) FROM table_name_1 WHERE planetary_mass___m⊕__ = 1 AND stellar_mass___m__ > 0.21 AND type = \"m0\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (laps INTEGER, grid VARCHAR, bike VARCHAR, rider VARCHAR)", "role": "system" }, { "content": "What is the highest Laps, when Bike is \"Yamaha YZF-R1\", when Rider is \"David Checa\", and when Grid is greater than 18?", "role": "user" }, { "content": "SELECT MAX(laps) FROM table_name_78 WHERE bike = \"yamaha yzf-r1\" AND rider = \"david checa\" AND grid > 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_19787093_1 (till_mathura VARCHAR, till_agra VARCHAR)", "role": "system" }, { "content": "How many have the Till Agra of 500?", "role": "user" }, { "content": "SELECT COUNT(till_mathura) FROM table_19787093_1 WHERE till_agra = 500", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (grid INTEGER, driver VARCHAR, laps VARCHAR)", "role": "system" }, { "content": "What is the average grid of driver Christian Vietoris who has less than 12 laps?", "role": "user" }, { "content": "SELECT AVG(grid) FROM table_name_79 WHERE driver = \"christian vietoris\" AND laps < 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_1099080_1 (condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR)", "role": "system" }, { "content": "What conditions had both prolonged bleeding times and prolonged partial thromboplastin times", "role": "user" }, { "content": "SELECT condition FROM table_1099080_1 WHERE partial_thromboplastin_time = \"Prolonged\" AND bleeding_time = \"Prolonged\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_97 (player VARCHAR, total VARCHAR, country VARCHAR)", "role": "system" }, { "content": "What player has a 147 total from Spain?", "role": "user" }, { "content": "SELECT player FROM table_name_97 WHERE total = 147 AND country = \"spain\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_62 (tournament VARCHAR, semi_finalists VARCHAR)", "role": "system" }, { "content": "Which Tournament has a Semi finalists of martina hingis joannette kruger?", "role": "user" }, { "content": "SELECT tournament FROM table_name_62 WHERE semi_finalists = \"martina hingis joannette kruger\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11677100_7 (school VARCHAR, player VARCHAR)", "role": "system" }, { "content": "How many schools did Mike Jones attend?", "role": "user" }, { "content": "SELECT COUNT(school) FROM table_11677100_7 WHERE player = \"Mike Jones\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_72 (pick VARCHAR, name VARCHAR, round VARCHAR)", "role": "system" }, { "content": "How many picks does Matt Moran have altogether after round 6?", "role": "user" }, { "content": "SELECT COUNT(pick) FROM table_name_72 WHERE name = \"matt moran\" AND round > 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_12 (developer VARCHAR, release_date VARCHAR, title VARCHAR)", "role": "system" }, { "content": "What Developer has a Release date of 2010-12-16, and a Title of facebook?", "role": "user" }, { "content": "SELECT developer FROM table_name_12 WHERE release_date = \"2010-12-16\" AND title = \"facebook\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_72 (jerseys INTEGER, young_rider VARCHAR, giro_wins VARCHAR, points VARCHAR, different_holders VARCHAR)", "role": "system" }, { "content": "what is the highest jersey when points is 0, different holders is less than 3, giro wins is less than 1 and young rider is more than 1?", "role": "user" }, { "content": "SELECT MAX(jerseys) FROM table_name_72 WHERE points = 0 AND different_holders < 3 AND giro_wins < 1 AND young_rider > 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_20867295_2 (season VARCHAR, winner VARCHAR, third_place VARCHAR)", "role": "system" }, { "content": "When twente came in third place and ajax was the winner what are the seasons?", "role": "user" }, { "content": "SELECT season FROM table_20867295_2 WHERE winner = \"Ajax\" AND third_place = \"Twente\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (to_par INTEGER, total VARCHAR, country VARCHAR, year_s__won VARCHAR)", "role": "system" }, { "content": "What is the sum of the to par for the United States in the winning year of 1967, and has a total of more than 146?", "role": "user" }, { "content": "SELECT SUM(to_par) FROM table_name_38 WHERE country = \"united states\" AND year_s__won = \"1967\" AND total > 146", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_19625976_1 (result VARCHAR, film_title_used_in_nomination VARCHAR)", "role": "system" }, { "content": "If the film title nominated is Baran, what was the result?", "role": "user" }, { "content": "SELECT result FROM table_19625976_1 WHERE film_title_used_in_nomination = \"Baran\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_37 (club VARCHAR, drawn VARCHAR, points_for VARCHAR)", "role": "system" }, { "content": "Who is the club that had 617 points and a draw of 0?", "role": "user" }, { "content": "SELECT club FROM table_name_37 WHERE drawn = \"0\" AND points_for = \"617\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1341884_23 (candidates VARCHAR, district VARCHAR)", "role": "system" }, { "content": "Name the candidates for massachusetts 8", "role": "user" }, { "content": "SELECT candidates FROM table_1341884_23 WHERE district = \"Massachusetts 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_20 (winning_score VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What is the winning score of the tournament on 16 May 1993?", "role": "user" }, { "content": "SELECT winning_score FROM table_name_20 WHERE date = \"16 may 1993\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_261222_1 (population__2010_ VARCHAR, area__km_2__ VARCHAR)", "role": "system" }, { "content": "How many places have an area of 409.41 (km2)?", "role": "user" }, { "content": "SELECT COUNT(population__2010_) FROM table_261222_1 WHERE area__km_2__ = \"409.41\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (points VARCHAR, played VARCHAR, position VARCHAR, goals_for VARCHAR)", "role": "system" }, { "content": "What is the total amount of points for a position less than 7, 68 goals for, and less than 30 played?", "role": "user" }, { "content": "SELECT COUNT(points) FROM table_name_59 WHERE position < 7 AND goals_for = 68 AND played < 30", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_94 (opponent VARCHAR, january VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What is Opponent, when January is greater than 19, and when Score is \"7 - 2\"?", "role": "user" }, { "content": "SELECT opponent FROM table_name_94 WHERE january > 19 AND score = \"7 - 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_57 (director VARCHAR, title VARCHAR, result VARCHAR)", "role": "system" }, { "content": "Who is the director with the Min Dally Nseek title, and won?", "role": "user" }, { "content": "SELECT director FROM table_name_57 WHERE title = \"min dally nseek\" AND result = \"won\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_7 (name VARCHAR, construction VARCHAR, ref_number VARCHAR, built VARCHAR)", "role": "system" }, { "content": "What is the name of the mill constructed of red brick in 1910 with a reference number lower than 55?", "role": "user" }, { "content": "SELECT name FROM table_name_7 WHERE ref_number < 55 AND built = 1910 AND construction = \"red brick\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (birth VARCHAR, marriage VARCHAR)", "role": "system" }, { "content": "What is the birth date of the duchess who married on 1 May 1844?", "role": "user" }, { "content": "SELECT birth FROM table_name_16 WHERE marriage = \"1 may 1844\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1973729_1 (joined INTEGER, nickname VARCHAR)", "role": "system" }, { "content": "In what year did the Lions join?", "role": "user" }, { "content": "SELECT MIN(joined) FROM table_1973729_1 WHERE nickname = \"Lions\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_87 (quantity INTEGER, type VARCHAR, year_s__of_manufacture VARCHAR)", "role": "system" }, { "content": "Which Quantity has a Type of e h4v, and a Year(s) of Manufacture of 1920–1924?", "role": "user" }, { "content": "SELECT MIN(quantity) FROM table_name_87 WHERE type = \"e h4v\" AND year_s__of_manufacture = \"1920–1924\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (ships_in_class VARCHAR, class VARCHAR)", "role": "system" }, { "content": "Tell me the ships in classs for kuha class", "role": "user" }, { "content": "SELECT ships_in_class FROM table_name_52 WHERE class = \"kuha class\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (year_joined INTEGER, location VARCHAR)", "role": "system" }, { "content": "When did crawfordsville join?", "role": "user" }, { "content": "SELECT MAX(year_joined) FROM table_name_10 WHERE location = \"crawfordsville\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (Real VARCHAR, defining_characteristics VARCHAR)", "role": "system" }, { "content": "Who is the person with the defining characteristic of the shortest band member?", "role": "user" }, { "content": "SELECT Real AS name FROM table_name_95 WHERE defining_characteristics = \"shortest band member\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (crowd INTEGER, away_team VARCHAR)", "role": "system" }, { "content": "What is the average crowd size when North Melbourne is the away team?", "role": "user" }, { "content": "SELECT AVG(crowd) FROM table_name_33 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_1 (city_area_km_2__ VARCHAR, headquartered_city VARCHAR, serial_no VARCHAR)", "role": "system" }, { "content": "What was the total city area for vehari city with a serial number bigger than 36?", "role": "user" }, { "content": "SELECT COUNT(city_area_km_2__) FROM table_name_1 WHERE headquartered_city = \"vehari city\" AND serial_no > 36", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_84 (constructor VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)", "role": "system" }, { "content": "When grid is less than 7, laps are greater than 17, and time/retired is + 1:35.6, who is the constructor?", "role": "user" }, { "content": "SELECT constructor FROM table_name_84 WHERE laps > 17 AND grid < 7 AND time_retired = \"+ 1:35.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_27712702_8 (record VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What was the record on December 27?", "role": "user" }, { "content": "SELECT record FROM table_27712702_8 WHERE date = \"December 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_1 (round VARCHAR, position VARCHAR, pick__number VARCHAR)", "role": "system" }, { "content": "In what Round was a Defensive Tackle Pick # less than 19?", "role": "user" }, { "content": "SELECT COUNT(round) FROM table_name_1 WHERE position = \"defensive tackle\" AND pick__number < 19", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (result VARCHAR, week VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What result has a week less than 16, and October 31, 2005 as the date?", "role": "user" }, { "content": "SELECT result FROM table_name_25 WHERE week < 16 AND date = \"october 31, 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_name_85 (venue VARCHAR, away_team VARCHAR)", "role": "system" }, { "content": "Tell me the venue for north melbourne", "role": "user" }, { "content": "SELECT venue FROM table_name_85 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_5 (place VARCHAR, rope VARCHAR, name VARCHAR)", "role": "system" }, { "content": "What is Milena Reljin's place with a smaller than 9.8 rope?", "role": "user" }, { "content": "SELECT place FROM table_name_5 WHERE rope < 9.8 AND name = \"milena reljin\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (team VARCHAR, bowl VARCHAR)", "role": "system" }, { "content": "What team has a bowl of humanitarian?", "role": "user" }, { "content": "SELECT team FROM table_name_21 WHERE bowl = \"humanitarian\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (date VARCHAR, circuit VARCHAR)", "role": "system" }, { "content": "What date was the Circuit of Indianapolis?", "role": "user" }, { "content": "SELECT date FROM table_name_33 WHERE circuit = \"indianapolis\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_3 (country VARCHAR, city VARCHAR)", "role": "system" }, { "content": "In what Country is Haugesund?", "role": "user" }, { "content": "SELECT country FROM table_name_3 WHERE city = \"haugesund\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (number_1971 VARCHAR)", "role": "system" }, { "content": "What is the 1961 total of the Macedonian population with a 1971 number of 3325 and a 1991 value greater than 3177?", "role": "user" }, { "content": "SELECT COUNT(1961) FROM table_name_15 WHERE number_1971 = 3325 AND 1991 > 3177", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (years VARCHAR, duration VARCHAR, character VARCHAR)", "role": "system" }, { "content": "what is the years when the duration is 13 years and the character is renee phelan?", "role": "user" }, { "content": "SELECT years FROM table_name_17 WHERE duration = \"13 years\" AND character = \"renee phelan\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_12451376_2 (title VARCHAR, production_code VARCHAR)", "role": "system" }, { "content": "Please list the total number of title with the production code 211.", "role": "user" }, { "content": "SELECT COUNT(title) FROM table_12451376_2 WHERE production_code = 211", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (tournament VARCHAR)", "role": "system" }, { "content": "In the Tennis Masters Cup, how did Jiří Novák do in 1997?", "role": "user" }, { "content": "SELECT 1997 FROM table_name_75 WHERE tournament = \"tennis masters cup\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_20297668_1 (wraps_per_inch__wpi_ VARCHAR, m_100g VARCHAR)", "role": "system" }, { "content": "Name the wraps per inch for 120-240", "role": "user" }, { "content": "SELECT wraps_per_inch__wpi_ FROM table_20297668_1 WHERE m_100g = \"120-240\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_69 (coach VARCHAR, location VARCHAR)", "role": "system" }, { "content": "Who is the coach located in Oakden?", "role": "user" }, { "content": "SELECT coach FROM table_name_69 WHERE location = \"oakden\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_3 (crowd INTEGER, home_team VARCHAR)", "role": "system" }, { "content": "What is Fitzroy's smallest crowd size?", "role": "user" }, { "content": "SELECT MIN(crowd) FROM table_name_3 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_43 (date VARCHAR, result VARCHAR)", "role": "system" }, { "content": "On what date was the result w 20-17?", "role": "user" }, { "content": "SELECT date FROM table_name_43 WHERE result = \"w 20-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_18974269_1 (original_season VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What was the season where Evelyn Smith was on?", "role": "user" }, { "content": "SELECT original_season FROM table_18974269_1 WHERE player = \"Evelyn Smith\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE dorm (dormid VARCHAR, student_capacity INTEGER); CREATE TABLE has_amenity (dormid VARCHAR)", "role": "system" }, { "content": "Find the number of amenities for each of the dorms that can accommodate more than 100 students.", "role": "user" }, { "content": "SELECT COUNT(*), T1.dormid FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid WHERE T1.student_capacity > 100 GROUP BY T1.dormid", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (highest INTEGER, average VARCHAR, capacity VARCHAR)", "role": "system" }, { "content": "What's the highest with a capacity of greater than 4,000 and an average of 615?", "role": "user" }, { "content": "SELECT MAX(highest) FROM table_name_20 WHERE average = 615 AND capacity > 4 OFFSET 000", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (series_sorted VARCHAR, released VARCHAR)", "role": "system" }, { "content": "What is the series sorted value for the episode released December 2009?", "role": "user" }, { "content": "SELECT series_sorted FROM table_name_91 WHERE released = \"december 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_55 (name VARCHAR, windows VARCHAR)", "role": "system" }, { "content": "What is the name when Windows is partial?", "role": "user" }, { "content": "SELECT name FROM table_name_55 WHERE windows = \"partial\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1140082_2 (fastest_lap VARCHAR, location VARCHAR)", "role": "system" }, { "content": "Who did the fastest lap at Watkins glen?", "role": "user" }, { "content": "SELECT fastest_lap FROM table_1140082_2 WHERE location = \"Watkins Glen\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_228973_5 (no_in_series INTEGER, original_air_date VARCHAR)", "role": "system" }, { "content": "What episode number in the series originally aired on April 27, 1999?", "role": "user" }, { "content": "SELECT MAX(no_in_series) FROM table_228973_5 WHERE original_air_date = \"April 27, 1999\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR)", "role": "system" }, { "content": "List all the customers in increasing order of IDs.", "role": "user" }, { "content": "SELECT customer_id, customer_name FROM customers ORDER BY customer_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_96 (grid INTEGER, driver VARCHAR)", "role": "system" }, { "content": "What is the average grid for piers courage?", "role": "user" }, { "content": "SELECT AVG(grid) FROM table_name_96 WHERE driver = \"piers courage\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (year VARCHAR, result VARCHAR, champions VARCHAR)", "role": "system" }, { "content": "What is the Year of the game with Result of 4–3 and Champions of Daegu Tongyang Orions?", "role": "user" }, { "content": "SELECT year FROM table_name_86 WHERE result = \"4–3\" AND champions = \"daegu tongyang orions\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_68 (date VARCHAR, game VARCHAR, team VARCHAR)", "role": "system" }, { "content": "What date was the game against Toronto which had a game number higher than 53?", "role": "user" }, { "content": "SELECT date FROM table_name_68 WHERE game > 53 AND team = \"toronto\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_58 (lost INTEGER, points VARCHAR, played VARCHAR)", "role": "system" }, { "content": "What is the highest number of losses with 23 points and 22 plays?", "role": "user" }, { "content": "SELECT MAX(lost) FROM table_name_58 WHERE points = 23 AND played > 22", "role": "assistant" } ]