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_82 (incumbent VARCHAR, result VARCHAR)", "role": "system" }, { "content": "Who was the incumbent that retired to run for the senate democratic hold?", "role": "user" }, { "content": "SELECT incumbent FROM table_name_82 WHERE result = \"retired to run for the senate democratic hold\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1973842_1 (institution VARCHAR, location VARCHAR)", "role": "system" }, { "content": "What school is located in Chestnut Hill, Massachusetts?", "role": "user" }, { "content": "SELECT institution FROM table_1973842_1 WHERE location = \"Chestnut Hill, Massachusetts\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_83 (catalogue VARCHAR, song_title VARCHAR, track VARCHAR, recorded VARCHAR)", "role": "system" }, { "content": "What catalogue has a track less than 16 and 2/3/56 recorded with a song titled Lawdy Miss Clawdy?", "role": "user" }, { "content": "SELECT catalogue FROM table_name_83 WHERE track < 16 AND recorded = \"2/3/56\" AND song_title = \"lawdy miss clawdy\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_11 (name VARCHAR, avg_g VARCHAR)", "role": "system" }, { "content": "Which quarterback had an Avg/G of 195.8?", "role": "user" }, { "content": "SELECT name FROM table_name_11 WHERE avg_g = 195.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_52 (score VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What was the score on September 8?", "role": "user" }, { "content": "SELECT score FROM table_name_52 WHERE date = \"september 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_97 (staffel_b VARCHAR, staffel_c VARCHAR)", "role": "system" }, { "content": "What is the Staffel B that has Hallescher Fc Chemie as Staffel C?", "role": "user" }, { "content": "SELECT staffel_b FROM table_name_97 WHERE staffel_c = \"hallescher fc chemie\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (location VARCHAR, round VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "Where's the location for the opponent James Zikic and 3 rounds?", "role": "user" }, { "content": "SELECT location FROM table_name_99 WHERE round = 3 AND opponent = \"james zikic\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_65 (score VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "For the game where the opponent is listed as At Los Angeles Rams, what was the final score?", "role": "user" }, { "content": "SELECT score FROM table_name_65 WHERE opponent = \"at los angeles rams\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (to_par VARCHAR, runner_s__up VARCHAR)", "role": "system" }, { "content": "When John Senden was the runner-up, what was the To Par?", "role": "user" }, { "content": "SELECT to_par FROM table_name_76 WHERE runner_s__up = \"john senden\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (date VARCHAR, pilot VARCHAR, type VARCHAR, record_description VARCHAR)", "role": "system" }, { "content": "Type of mi-10r, and a Record description of altitude with kg (lb) payload, and a Pilot of g.v. alfyorov is what date?", "role": "user" }, { "content": "SELECT date FROM table_name_97 WHERE type = \"mi-10r\" AND record_description = \"altitude with kg (lb) payload\" AND pilot = \"g.v. alfyorov\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_16383772_1 (affiliation VARCHAR, enrollment VARCHAR)", "role": "system" }, { "content": "Name the total number of affiliation for enrollment being 14898", "role": "user" }, { "content": "SELECT COUNT(affiliation) FROM table_16383772_1 WHERE enrollment = 14898", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (kinka_pre_release VARCHAR, kinka_developer VARCHAR)", "role": "system" }, { "content": "What is the pre-release when the developer is no?", "role": "user" }, { "content": "SELECT kinka_pre_release FROM table_name_45 WHERE kinka_developer = \"no\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_7 (player VARCHAR, country VARCHAR)", "role": "system" }, { "content": "Who plays for Zimbabwe?", "role": "user" }, { "content": "SELECT player FROM table_name_7 WHERE country = \"zimbabwe\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE invoices (customer_id VARCHAR); CREATE TABLE customers (id VARCHAR, first_name VARCHAR, last_name VARCHAR)", "role": "system" }, { "content": "How many orders does Lucas Mancini has?", "role": "user" }, { "content": "SELECT COUNT(*) FROM customers AS T1 JOIN invoices AS T2 ON T1.id = T2.customer_id WHERE T1.first_name = \"Lucas\" AND T1.last_name = \"Mancini\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_83 (venue VARCHAR, year VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What was the venue in 1951 on November 4?", "role": "user" }, { "content": "SELECT venue FROM table_name_83 WHERE year = 1951 AND date = \"november 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_54 (class VARCHAR, call_sign VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR)", "role": "system" }, { "content": "Which Class has a ERP W larger than 205, and a Frequency MHz smaller than 93.9, and a Call sign of k210cb?", "role": "user" }, { "content": "SELECT class FROM table_name_54 WHERE erp_w > 205 AND frequency_mhz < 93.9 AND call_sign = \"k210cb\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE campuses (county VARCHAR)", "role": "system" }, { "content": "How many campuses are there in Los Angeles county?", "role": "user" }, { "content": "SELECT COUNT(*) FROM campuses WHERE county = \"Los Angeles\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (race VARCHAR, distance VARCHAR, winner_or_2nd VARCHAR)", "role": "system" }, { "content": "What is the race with a 10f distance and mollison as the winner or 2nd?", "role": "user" }, { "content": "SELECT race FROM table_name_12 WHERE distance = \"10f\" AND winner_or_2nd = \"mollison\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (silver VARCHAR, rank VARCHAR, total VARCHAR)", "role": "system" }, { "content": "Which country is ranked number 2 and has less than 5 total medals?", "role": "user" }, { "content": "SELECT COUNT(silver) FROM table_name_61 WHERE rank = 2 AND total < 5", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_54 (series VARCHAR, high_rebounds VARCHAR)", "role": "system" }, { "content": "What is the Series with a High rebounds with gasol (10)?", "role": "user" }, { "content": "SELECT series FROM table_name_54 WHERE high_rebounds = \"gasol (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_98 (average VARCHAR, evening_gown VARCHAR, preliminaries VARCHAR, interview VARCHAR)", "role": "system" }, { "content": "How many average scores have preliminary scores over 9.25, interview scores more than 9.44, and evening gown scores of 9.77?", "role": "user" }, { "content": "SELECT COUNT(average) FROM table_name_98 WHERE preliminaries > 9.25 AND interview > 9.44 AND evening_gown = 9.77", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18958648_1 (state_and_district_of_columbia VARCHAR, overweight__incl_obese__adults VARCHAR)", "role": "system" }, { "content": "What is every state and District of Columbia with 60.0% overweight or obese adults?", "role": "user" }, { "content": "SELECT state_and_district_of_columbia FROM table_18958648_1 WHERE overweight__incl_obese__adults = \"60.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 school (school_id VARCHAR, school_name VARCHAR); CREATE TABLE endowment (donator_name VARCHAR, school_id VARCHAR)", "role": "system" }, { "content": "Show the names of donors who donated to both school \"Glenn\" and \"Triton.\"", "role": "user" }, { "content": "SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Glenn' INTERSECT SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Triton'", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (established VARCHAR, nickname VARCHAR)", "role": "system" }, { "content": "What year was the team with the nickname pride established?", "role": "user" }, { "content": "SELECT COUNT(established) FROM table_name_14 WHERE nickname = \"pride\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_74 (round INTEGER, selection VARCHAR)", "role": "system" }, { "content": "How many rounds had a selection of 165?", "role": "user" }, { "content": "SELECT SUM(round) FROM table_name_74 WHERE selection = 165", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE station (name VARCHAR, id VARCHAR); CREATE TABLE station (name VARCHAR, id VARCHAR, installation_date VARCHAR); CREATE TABLE status (station_id VARCHAR, bikes_available INTEGER)", "role": "system" }, { "content": "What are the names and ids of stations that had more than 14 bikes available on average or were installed in December?", "role": "user" }, { "content": "SELECT T1.name, T1.id FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id GROUP BY T2.station_id HAVING AVG(T2.bikes_available) > 14 UNION SELECT name, id FROM station WHERE installation_date LIKE \"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_13564702_3 (club VARCHAR, tries_for VARCHAR)", "role": "system" }, { "content": "Name the club when tries for is 83", "role": "user" }, { "content": "SELECT club FROM table_13564702_3 WHERE tries_for = \"83\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (rank INTEGER, matches VARCHAR, total VARCHAR, county VARCHAR)", "role": "system" }, { "content": "what is the rank when the total is 39 in the county of dublin and the matches is less than 4?", "role": "user" }, { "content": "SELECT AVG(rank) FROM table_name_31 WHERE total = 39 AND county = \"dublin\" AND matches < 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_27 (college VARCHAR, pick INTEGER)", "role": "system" }, { "content": "Which colleges have a pick above 7?", "role": "user" }, { "content": "SELECT college FROM table_name_27 WHERE pick > 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_2508633_9 (position VARCHAR, college VARCHAR)", "role": "system" }, { "content": "What position was the draft pick that came from Langston?", "role": "user" }, { "content": "SELECT position FROM table_2508633_9 WHERE college = \"Langston\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (virtual_channel VARCHAR, call_sign VARCHAR)", "role": "system" }, { "content": "Call sign of k43hb-ld is what virtual channel?", "role": "user" }, { "content": "SELECT virtual_channel FROM table_name_13 WHERE call_sign = \"k43hb-ld\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2554479_2 (tests_won_by_australia VARCHAR, series VARCHAR)", "role": "system" }, { "content": "Name the total number of tests won by australia for series 10", "role": "user" }, { "content": "SELECT COUNT(tests_won_by_australia) FROM table_2554479_2 WHERE series = 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_6 (Id VARCHAR)", "role": "system" }, { "content": "What shows for 1993 when 1991 is grand slams?", "role": "user" }, { "content": "SELECT 1993 FROM table_name_6 WHERE 1991 = \"grand slams\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Documents (template_id VARCHAR)", "role": "system" }, { "content": "How many different templates do all document use?", "role": "user" }, { "content": "SELECT COUNT(DISTINCT template_id) FROM Documents", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (points_for VARCHAR, try_bonus VARCHAR)", "role": "system" }, { "content": "What Points for has a Try bonus of 140?", "role": "user" }, { "content": "SELECT points_for FROM table_name_26 WHERE try_bonus = \"140\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE temperature (city_id VARCHAR, Mar VARCHAR, Jul VARCHAR, Oct VARCHAR)", "role": "system" }, { "content": "Give me a list of cities whose temperature in March is lower than that in July or higher than that in Oct?", "role": "user" }, { "content": "SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T2.Mar < T2.Jul OR T2.Mar > T2.Oct", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_36 (record VARCHAR, game_site VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What record has candlestick park as the game site, and october 12, 2008 as the date?", "role": "user" }, { "content": "SELECT record FROM table_name_36 WHERE game_site = \"candlestick park\" AND date = \"october 12, 2008\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_14 (co_drivers VARCHAR, year VARCHAR, team VARCHAR)", "role": "system" }, { "content": "Which co-driver was part of team Martini Lancia earlier than 1986?", "role": "user" }, { "content": "SELECT co_drivers FROM table_name_14 WHERE year < 1986 AND team = \"martini lancia\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_21321804_5 (position VARCHAR, cfl_team VARCHAR)", "role": "system" }, { "content": "What position was drafted by the Hamilton Tiger-Cats? ", "role": "user" }, { "content": "SELECT position FROM table_21321804_5 WHERE cfl_team = \"Hamilton Tiger-Cats\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_36 (frequency VARCHAR, call_sign VARCHAR)", "role": "system" }, { "content": "What is the frequency of KFNW?", "role": "user" }, { "content": "SELECT frequency FROM table_name_36 WHERE call_sign = \"kfnw\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (transfers_out VARCHAR, country VARCHAR)", "role": "system" }, { "content": "What are the Transfers out for Peru?", "role": "user" }, { "content": "SELECT transfers_out FROM table_name_76 WHERE country = \"peru\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_65 (away_team VARCHAR, home_team VARCHAR)", "role": "system" }, { "content": "What is Away Team, when Home Team is \"Sheffield Wednesday\"?", "role": "user" }, { "content": "SELECT away_team FROM table_name_65 WHERE home_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_28 (kickoff_time VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What is the kickoff time on November 10, 2002?", "role": "user" }, { "content": "SELECT kickoff_time FROM table_name_28 WHERE date = \"november 10, 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_40 (Id VARCHAR)", "role": "system" }, { "content": "What 2008 has A as the 2007, and 2r as the 2010?", "role": "user" }, { "content": "SELECT 2008 FROM table_name_40 WHERE 2007 = \"a\" AND 2010 = \"2r\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (rank INTEGER, player VARCHAR, wickets VARCHAR)", "role": "system" }, { "content": "What is the total rank for player Delyone Borden with more than 15 wickets?", "role": "user" }, { "content": "SELECT SUM(rank) FROM table_name_71 WHERE player = \"delyone borden\" AND wickets > 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_name_35 (Id VARCHAR)", "role": "system" }, { "content": "What is the 1995 value with a 2005 value bigger than 74, a 2008 value of 84, and a 2000 value less than 80?", "role": "user" }, { "content": "SELECT SUM(1995) FROM table_name_35 WHERE 2005 > 74 AND 2008 = 84 AND 2000 < 80", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Band (firstname VARCHAR, lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR, StagePosition VARCHAR); CREATE TABLE Songs (SongId VARCHAR, Title VARCHAR)", "role": "system" }, { "content": "Who is performing in the back stage position for the song \"Badlands\"? Show the first name and the last name.", "role": "user" }, { "content": "SELECT T2.firstname, T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T3.Title = \"Badlands\" AND T1.StagePosition = \"back\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_70 (career_w_l VARCHAR)", "role": "system" }, { "content": "What is the value in 2006 when Career Statistics is in Career W-L?", "role": "user" }, { "content": "SELECT 2006 FROM table_name_70 WHERE career_w_l = \"career statistics\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (home VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Who was the home team on 1 April 2008?", "role": "user" }, { "content": "SELECT home FROM table_name_52 WHERE date = \"1 april 2008\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_18 (goals_against INTEGER, wins INTEGER)", "role": "system" }, { "content": "What is the lowest Goals Against by a team with more than 5 wins?", "role": "user" }, { "content": "SELECT MIN(goals_against) FROM table_name_18 WHERE wins > 5", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_93 (score VARCHAR, name VARCHAR, champion VARCHAR)", "role": "system" }, { "content": "What's the score of the Nice International Championships where Björn Borg was the champion?", "role": "user" }, { "content": "SELECT score FROM table_name_93 WHERE name = \"nice international championships\" AND champion = \"björn borg\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (rank INTEGER, result VARCHAR, group VARCHAR, athlete VARCHAR)", "role": "system" }, { "content": "What is the average rank for Group A athlete Yanina Karolchyk, and a result higher than 18?", "role": "user" }, { "content": "SELECT AVG(rank) FROM table_name_59 WHERE group = \"a\" AND athlete = \"yanina karolchyk\" AND result > 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_14884844_2 (location VARCHAR, record VARCHAR)", "role": "system" }, { "content": "In what location was the fastest time 1:37.071s?", "role": "user" }, { "content": "SELECT location FROM table_14884844_2 WHERE record = \"1:37.071s\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_93 (tournament VARCHAR)", "role": "system" }, { "content": "During the Hamburg Masters Tournament, during which Jiří Novák was absent(A) in 1998, how did he do in 1997?", "role": "user" }, { "content": "SELECT 1997 FROM table_name_93 WHERE 1998 = \"a\" AND tournament = \"hamburg masters\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (latest_version VARCHAR, architecture VARCHAR, release_date VARCHAR)", "role": "system" }, { "content": "Which of the Latest version had a 16-bit Architecture and was released on Release date 1985-11-20?", "role": "user" }, { "content": "SELECT latest_version FROM table_name_29 WHERE architecture = \"16-bit\" AND release_date = \"1985-11-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_12962773_4 (no INTEGER, player VARCHAR)", "role": "system" }, { "content": "What No is the player Zoran Erceg", "role": "user" }, { "content": "SELECT MIN(no) FROM table_12962773_4 WHERE player = \"Zoran Erceg\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (country VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What Country had a Score of 71-67=138?", "role": "user" }, { "content": "SELECT country FROM table_name_76 WHERE score = 71 - 67 = 138", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (laps VARCHAR, time_retired VARCHAR)", "role": "system" }, { "content": "Tell me the Laps for time/retired of +1:08.491", "role": "user" }, { "content": "SELECT laps FROM table_name_39 WHERE time_retired = \"+1:08.491\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_74 (date VARCHAR, home_team VARCHAR)", "role": "system" }, { "content": "On what date did Fitzroy play as the home team?", "role": "user" }, { "content": "SELECT date FROM table_name_74 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_73 (spans VARCHAR, built VARCHAR)", "role": "system" }, { "content": "What spans were built in 1896?", "role": "user" }, { "content": "SELECT spans FROM table_name_73 WHERE built = \"1896\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE journal_committee (Editor_ID VARCHAR, Journal_ID VARCHAR); CREATE TABLE editor (Name VARCHAR, age VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal (Theme VARCHAR, Journal_ID VARCHAR)", "role": "system" }, { "content": "Show the names and ages of editors and the theme of journals for which they serve on committees, in ascending alphabetical order of theme.", "role": "user" }, { "content": "SELECT T2.Name, T2.age, T3.Theme FROM journal_committee AS T1 JOIN editor AS T2 ON T1.Editor_ID = T2.Editor_ID JOIN journal AS T3 ON T1.Journal_ID = T3.Journal_ID ORDER BY T3.Theme", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (finish VARCHAR, win__percentage VARCHAR)", "role": "system" }, { "content": "What was the final rank of the Brewers when they achieved a win percentage of .585?", "role": "user" }, { "content": "SELECT finish FROM table_name_79 WHERE win__percentage = \".585\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (position INTEGER, drawn VARCHAR, points VARCHAR)", "role": "system" }, { "content": "At what average position is the drawn 9 and the points greater than 25?", "role": "user" }, { "content": "SELECT AVG(position) FROM table_name_75 WHERE drawn = 9 AND points > 25", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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, game VARCHAR, january VARCHAR)", "role": "system" }, { "content": "Which Score has a Game larger than 47, and a January smaller than 25?", "role": "user" }, { "content": "SELECT score FROM table_name_19 WHERE game > 47 AND january < 25", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23483182_1 (no_in_series INTEGER, original_air_date VARCHAR)", "role": "system" }, { "content": "What is the series number of the episode that aired March 25, 2010?", "role": "user" }, { "content": "SELECT MIN(no_in_series) FROM table_23483182_1 WHERE original_air_date = \"March 25, 2010\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (date VARCHAR, record VARCHAR)", "role": "system" }, { "content": "When was the score 56-26?", "role": "user" }, { "content": "SELECT date FROM table_name_2 WHERE record = \"56-26\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_71 (cpu_chip VARCHAR, type VARCHAR)", "role": "system" }, { "content": "Which CPU chip(s) is used in the Classic type hardware?", "role": "user" }, { "content": "SELECT cpu_chip FROM table_name_71 WHERE type = \"classic\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (played INTEGER, lost VARCHAR, drawn VARCHAR, difference VARCHAR)", "role": "system" }, { "content": "What is the highest played that has a drawn less than 9, 36 as the difference, with a lost greater than 7?", "role": "user" }, { "content": "SELECT MAX(played) FROM table_name_60 WHERE drawn < 9 AND difference = \"36\" AND lost > 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_95 (grid INTEGER, constructor VARCHAR, driver VARCHAR)", "role": "system" }, { "content": "I want the highest Grid for Toyota and jarno trulli", "role": "user" }, { "content": "SELECT MAX(grid) FROM table_name_95 WHERE constructor = \"toyota\" AND driver = \"jarno trulli\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_49 (last_issue VARCHAR, title VARCHAR)", "role": "system" }, { "content": "What is the last issue entry for Aron's Absurd Armada?", "role": "user" }, { "content": "SELECT last_issue FROM table_name_49 WHERE title = \"aron's absurd armada\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_12438767_1 (network VARCHAR, dates_aired VARCHAR)", "role": "system" }, { "content": "How many networks aired the franchise in 1981 only?", "role": "user" }, { "content": "SELECT COUNT(network) FROM table_12438767_1 WHERE dates_aired = \"1981\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_42 (text VARCHAR, simplified_characters VARCHAR)", "role": "system" }, { "content": "Which text has simplified characters of 心猿 … 意马?", "role": "user" }, { "content": "SELECT text FROM table_name_42 WHERE simplified_characters = \"心猿 … 意马\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_48 (since VARCHAR, transfer_fee VARCHAR)", "role": "system" }, { "content": "What is Since, when Transfer Fee is \"£ 12m\"?", "role": "user" }, { "content": "SELECT since FROM table_name_48 WHERE transfer_fee = \"£ 12m\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (date VARCHAR, event VARCHAR)", "role": "system" }, { "content": "What is the Date for the Event ept copenhagen?", "role": "user" }, { "content": "SELECT date FROM table_name_71 WHERE event = \"ept copenhagen\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22050544_1 (prize VARCHAR, elapsed_time VARCHAR)", "role": "system" }, { "content": "What is the prize for the elapsed time of 10 h 10 min?", "role": "user" }, { "content": "SELECT prize FROM table_22050544_1 WHERE elapsed_time = \"10 h 10 min\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22753439_1 (margin VARCHAR, winner VARCHAR)", "role": "system" }, { "content": "How many margins have a winner of S. Singaravadivel?", "role": "user" }, { "content": "SELECT COUNT(margin) FROM table_22753439_1 WHERE winner = \"S. Singaravadivel\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11604804_5 (founded INTEGER, nickname VARCHAR)", "role": "system" }, { "content": "What is the founding of parsu cimmarons?", "role": "user" }, { "content": "SELECT MIN(founded) FROM table_11604804_5 WHERE nickname = \"ParSU Cimmarons\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23143607_1 (television_channels VARCHAR, radio_stations VARCHAR)", "role": "system" }, { "content": "What is the total number of television channels when one of the radio stations is onda madrid?", "role": "user" }, { "content": "SELECT COUNT(television_channels) FROM table_23143607_1 WHERE radio_stations = \"Onda Madrid\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (lead VARCHAR, nation VARCHAR)", "role": "system" }, { "content": "Which Lead has a Nation of croatia?", "role": "user" }, { "content": "SELECT lead FROM table_name_99 WHERE nation = \"croatia\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (event VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What is Event, when Date is \"19 December 2009\"?", "role": "user" }, { "content": "SELECT event FROM table_name_6 WHERE date = \"19 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_27722734_12 (game INTEGER)", "role": "system" }, { "content": "What number was the first game?", "role": "user" }, { "content": "SELECT MIN(game) FROM table_27722734_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_62 (place VARCHAR, score VARCHAR)", "role": "system" }, { "content": "WHAT IS THE PLACE WITH A SCORE OF 76-69-64-70=279?", "role": "user" }, { "content": "SELECT place FROM table_name_62 WHERE score = 76 - 69 - 64 - 70 = 279", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2417330_3 (date_of_successors_formal_installation VARCHAR, state__class_ VARCHAR)", "role": "system" }, { "content": "List all dates of succession in the state class Missouri (3).", "role": "user" }, { "content": "SELECT date_of_successors_formal_installation FROM table_2417330_3 WHERE state__class_ = \"Missouri (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_27 (school_club_team_country VARCHAR, years_for_rockets VARCHAR)", "role": "system" }, { "content": "Who is the school, club, team or country that the Rockets played for 1967-68?", "role": "user" }, { "content": "SELECT school_club_team_country FROM table_name_27 WHERE years_for_rockets = \"1967-68\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_6 (qual VARCHAR, laps VARCHAR)", "role": "system" }, { "content": "What is the qual when there are 125 laps?", "role": "user" }, { "content": "SELECT qual FROM table_name_6 WHERE laps = 125", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2668367_21 (party VARCHAR, incumbent VARCHAR)", "role": "system" }, { "content": "Name the party for john randolph redistricted from the 15th district", "role": "user" }, { "content": "SELECT party FROM table_2668367_21 WHERE incumbent = \"John Randolph Redistricted from the 15th district\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (nhl_team VARCHAR, round VARCHAR, overall VARCHAR)", "role": "system" }, { "content": "What is the NHL team for Round 5 and an overall ranking of #154?", "role": "user" }, { "content": "SELECT nhl_team FROM table_name_7 WHERE round = \"5\" AND overall = \"#154\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (loser VARCHAR, winner VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Who was the loser when the New York Giants were the winners on November 14?", "role": "user" }, { "content": "SELECT loser FROM table_name_71 WHERE winner = \"new york giants\" AND date = \"november 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_12 (others_number INTEGER, others_percentage VARCHAR, bush_number VARCHAR)", "role": "system" }, { "content": "How many votes went to other candidates in the county that gave 1.9% votes to them, and 160,390 total votes to Bush?", "role": "user" }, { "content": "SELECT MIN(others_number) FROM table_name_12 WHERE others_percentage = \"1.9%\" AND bush_number < 160 OFFSET 390", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_57 (Id VARCHAR)", "role": "system" }, { "content": "What 1976 has a 1978 of grand slam tournaments?", "role": "user" }, { "content": "SELECT 1976 FROM table_name_57 WHERE 1978 = \"grand slam tournaments\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (muslim___percentage_of_total_population_ INTEGER, census_year INTEGER)", "role": "system" }, { "content": "What is the lowest Muslim (% of Total population) of a year after 2011?", "role": "user" }, { "content": "SELECT MIN(muslim___percentage_of_total_population_) FROM table_name_37 WHERE census_year > 2011", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_47 (tournament VARCHAR, finalist VARCHAR)", "role": "system" }, { "content": "WHich Tournament has a Finalist of marat safin (12)?", "role": "user" }, { "content": "SELECT tournament FROM table_name_47 WHERE finalist = \"marat safin (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 dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dorm_name VARCHAR, dormid VARCHAR)", "role": "system" }, { "content": "Find the name of dorms that do not have any amenity", "role": "user" }, { "content": "SELECT dorm_name FROM dorm WHERE NOT dormid IN (SELECT dormid FROM has_amenity)", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_40 (total INTEGER, gymnast VARCHAR, b_score VARCHAR)", "role": "system" }, { "content": "What is the total for Robert Stanescu ( rou ), when the B Score is larger than 8.75?", "role": "user" }, { "content": "SELECT SUM(total) FROM table_name_40 WHERE gymnast = \"robert stanescu ( rou )\" AND b_score > 8.75", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_37 (hoop INTEGER, all_around INTEGER)", "role": "system" }, { "content": "What is the average hoop when the all around is less than 9.7?", "role": "user" }, { "content": "SELECT AVG(hoop) FROM table_name_37 WHERE all_around < 9.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_31 (opponent_team VARCHAR, match INTEGER)", "role": "system" }, { "content": "Who was the opponent at the match smaller than 3?", "role": "user" }, { "content": "SELECT opponent_team FROM table_name_31 WHERE match < 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_24 (singular_word VARCHAR, plural_word VARCHAR)", "role": "system" }, { "content": "The plural word of hands uses what singular word?", "role": "user" }, { "content": "SELECT singular_word FROM table_name_24 WHERE plural_word = \"hands\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_10294071_1 (total_w_l VARCHAR, doubles_w_l VARCHAR)", "role": "system" }, { "content": "what is the total number of total w–l where doubles w–l is 11–11", "role": "user" }, { "content": "SELECT COUNT(total_w_l) FROM table_10294071_1 WHERE doubles_w_l = \"11–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_11244302_1 (air_date VARCHAR, share VARCHAR)", "role": "system" }, { "content": "Which air date had an 11 share", "role": "user" }, { "content": "SELECT air_date FROM table_11244302_1 WHERE share = 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_16278825_1 (population VARCHAR, towns__villages VARCHAR)", "role": "system" }, { "content": "NJame the total number of population for towns/villages for 217", "role": "user" }, { "content": "SELECT COUNT(population) FROM table_16278825_1 WHERE towns__villages = 217", "role": "assistant" } ]