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_65 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)", "role": "system" }, { "content": "What is the film title used for nomination with the original title sedamdeset i dva dana?", "role": "user" }, { "content": "SELECT film_title_used_in_nomination FROM table_name_65 WHERE original_title = \"sedamdeset i dva dana\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (eliminated_by VARCHAR, wrestler VARCHAR)", "role": "system" }, { "content": "Who Eliminated Kurt Angle?", "role": "user" }, { "content": "SELECT eliminated_by FROM table_name_49 WHERE wrestler = \"kurt angle\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_14903627_1 (mens_doubles VARCHAR, womens_doubles VARCHAR)", "role": "system" }, { "content": "WHAT ARE THE NAMES OF THE MENS DOUBLES WHEN THE WOMENS DOUBLES WAS PIRET HAMER HELEN REINO?", "role": "user" }, { "content": "SELECT mens_doubles FROM table_14903627_1 WHERE womens_doubles = \"Piret Hamer Helen Reino\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2512935_8 (approximate_sales VARCHAR, author VARCHAR)", "role": "system" }, { "content": "What are all approximate sales for the author Laura Ingalls Wilder?", "role": "user" }, { "content": "SELECT approximate_sales FROM table_2512935_8 WHERE author = \"Laura Ingalls Wilder\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_41 (purse___ VARCHAR, champion VARCHAR, venue VARCHAR)", "role": "system" }, { "content": "What was the purse when Sherri Steinhauer was champion at Woburn Golf and Country Club?", "role": "user" }, { "content": "SELECT COUNT(purse___) AS $__ FROM table_name_41 WHERE champion = \"sherri steinhauer\" AND venue = \"woburn golf and country club\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_20246201_9 (popular_vote VARCHAR, candidate VARCHAR)", "role": "system" }, { "content": "How many different popular vote counts were there for the candidate Rick Perry?", "role": "user" }, { "content": "SELECT COUNT(popular_vote) FROM table_20246201_9 WHERE candidate = \"Rick Perry\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (Id VARCHAR)", "role": "system" }, { "content": "What is the 1998 value if the 2000 value is 25?", "role": "user" }, { "content": "SELECT 1998 FROM table_name_3 WHERE 2000 = \"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_56 (city___state VARCHAR, series VARCHAR)", "role": "system" }, { "content": "What is the City / State, when Series is ATCC Round 3?", "role": "user" }, { "content": "SELECT city___state FROM table_name_56 WHERE series = \"atcc round 3\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_14 (date VARCHAR, venue VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "When did they play the swindon wildcats away?", "role": "user" }, { "content": "SELECT date FROM table_name_14 WHERE venue = \"away\" AND opponent = \"swindon wildcats\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (college_junior_club_team VARCHAR, position VARCHAR)", "role": "system" }, { "content": "Which team has a right wing position listed?", "role": "user" }, { "content": "SELECT college_junior_club_team FROM table_name_8 WHERE position = \"right wing\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18950885_3 (used__kb_ INTEGER, graphics_mode VARCHAR)", "role": "system" }, { "content": "What is the used (kb) when the graphics mode is 4?", "role": "user" }, { "content": "SELECT MIN(used__kb_) FROM table_18950885_3 WHERE graphics_mode = 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_29085880_1 (no VARCHAR, us_viewers__million_ VARCHAR)", "role": "system" }, { "content": "Which episode number saw 1.312 million U.S. Wviewers?", "role": "user" }, { "content": "SELECT no FROM table_29085880_1 WHERE us_viewers__million_ = \"1.312\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (tickets_available_since VARCHAR, venue VARCHAR, date VARCHAR)", "role": "system" }, { "content": "How many tickets were available at Halle Tony Garnier on June 15, 2009?", "role": "user" }, { "content": "SELECT tickets_available_since FROM table_name_75 WHERE venue = \"halle tony garnier\" AND date = \"june 15, 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_5 (score VARCHAR, loss VARCHAR)", "role": "system" }, { "content": "Loss of peavy (4–3) is what score?", "role": "user" }, { "content": "SELECT score FROM table_name_5 WHERE loss = \"peavy (4–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_32 (city VARCHAR, floors VARCHAR)", "role": "system" }, { "content": "In what city does the tallest building have 35 floors?", "role": "user" }, { "content": "SELECT city FROM table_name_32 WHERE floors = 35", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (silver INTEGER, rank VARCHAR, bronze VARCHAR, total VARCHAR)", "role": "system" }, { "content": "What is the smallest silver with a Bronze smaller than 6, a Total of 3, and a Rank smaller than 9?", "role": "user" }, { "content": "SELECT MIN(silver) FROM table_name_33 WHERE bronze < 6 AND total = 3 AND rank < 9", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_31 (year VARCHAR, laps VARCHAR)", "role": "system" }, { "content": "Which year has 112 laps?", "role": "user" }, { "content": "SELECT year FROM table_name_31 WHERE laps = 112", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (result VARCHAR, attendance VARCHAR)", "role": "system" }, { "content": "What was the Result of the game with an Attendance of 69,365?", "role": "user" }, { "content": "SELECT result FROM table_name_46 WHERE attendance = \"69,365\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15187735_4 (netflix VARCHAR, episode VARCHAR)", "role": "system" }, { "content": "What is the netflix code for episode 46?", "role": "user" }, { "content": "SELECT netflix FROM table_15187735_4 WHERE episode = 46", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (result VARCHAR, home_team VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What was the result of the game played on April 16 with Philadelphia as home team?", "role": "user" }, { "content": "SELECT result FROM table_name_64 WHERE home_team = \"philadelphia\" AND date = \"april 16\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_4 (round VARCHAR, circuit VARCHAR)", "role": "system" }, { "content": "What round was the circuit portland international raceway?", "role": "user" }, { "content": "SELECT round FROM table_name_4 WHERE circuit = \"portland international raceway\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_15 (player VARCHAR, pick VARCHAR)", "role": "system" }, { "content": "What is the Player with a Pick that is 6?", "role": "user" }, { "content": "SELECT player FROM table_name_15 WHERE pick = 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_85 (date VARCHAR, tie_no VARCHAR, away_team VARCHAR)", "role": "system" }, { "content": "What is Date, when Tie No is \"Replay\", and when Away Team is \"Crystal Palace\"?", "role": "user" }, { "content": "SELECT date FROM table_name_85 WHERE tie_no = \"replay\" AND away_team = \"crystal palace\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (storeys VARCHAR, city VARCHAR, years VARCHAR)", "role": "system" }, { "content": "How many storeys in Calgary during 1975-1976?", "role": "user" }, { "content": "SELECT storeys FROM table_name_46 WHERE city = \"calgary\" AND years = \"1975-1976\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (other_party VARCHAR, democratic VARCHAR)", "role": "system" }, { "content": "Who was the other party nominee that ran against Democratic Rick Boucher?", "role": "user" }, { "content": "SELECT other_party FROM table_name_98 WHERE democratic = \"rick boucher\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (college_junior_team VARCHAR, pick VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What is the college/junior team of player tyler myers, who has a pick less than 44?", "role": "user" }, { "content": "SELECT college_junior_team FROM table_name_35 WHERE pick < 44 AND player = \"tyler myers\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1015521_2 (rank_in_spanish VARCHAR, rank_in_english VARCHAR)", "role": "system" }, { "content": "If you get a ranking as major in the english military then what would the spanish military address you as? ", "role": "user" }, { "content": "SELECT rank_in_spanish FROM table_1015521_2 WHERE rank_in_english = \"Major\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (birth_place VARCHAR, monarchs_served VARCHAR, entered_office VARCHAR)", "role": "system" }, { "content": "What is the birth place of the prime minister who served George V and entered office on 23 October 1922?", "role": "user" }, { "content": "SELECT birth_place FROM table_name_83 WHERE monarchs_served = \"george v\" AND entered_office = \"23 october 1922\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (chassis VARCHAR, engine VARCHAR, year VARCHAR)", "role": "system" }, { "content": "What is the chassis of the Honda Engine from 2008?", "role": "user" }, { "content": "SELECT chassis FROM table_name_68 WHERE engine = \"honda\" AND year = 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_78 (date VARCHAR, athlete VARCHAR)", "role": "system" }, { "content": "What was the date that Elvir Krehmic made a high jump record?", "role": "user" }, { "content": "SELECT date FROM table_name_78 WHERE athlete = \"elvir krehmic\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (resolution VARCHAR, active_pixels VARCHAR, model VARCHAR)", "role": "system" }, { "content": "What is the resolution of the camera that has 6726 x 5040 pixels and a model of afi 7?", "role": "user" }, { "content": "SELECT resolution FROM table_name_65 WHERE active_pixels = \"6726 x 5040\" AND model = \"afi 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_16729063_2 (date VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "What date was the opponent the Los Angeles Raiders?", "role": "user" }, { "content": "SELECT date FROM table_16729063_2 WHERE opponent = \"Los Angeles Raiders\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_27369069_4 (province VARCHAR, stadium_capacity VARCHAR)", "role": "system" }, { "content": "What is the province for with the stadium capacity of 5100?", "role": "user" }, { "content": "SELECT province FROM table_27369069_4 WHERE stadium_capacity = 5100", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (mascot VARCHAR, county VARCHAR)", "role": "system" }, { "content": "what is the mascot when the county is 43 kosciusko?", "role": "user" }, { "content": "SELECT mascot FROM table_name_82 WHERE county = \"43 kosciusko\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_28768469_7 (game INTEGER, location_attendance VARCHAR)", "role": "system" }, { "content": "What is listed in game when the location attendance is listed as Keyarena 16,841?", "role": "user" }, { "content": "SELECT MAX(game) FROM table_28768469_7 WHERE location_attendance = \"KeyArena 16,841\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (l2_cache VARCHAR, release_date VARCHAR)", "role": "system" }, { "content": "What L2 cache had a release date of august 26, 2007?", "role": "user" }, { "content": "SELECT l2_cache FROM table_name_71 WHERE release_date = \"august 26, 2007\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (metro_champion VARCHAR, runner_up VARCHAR, year VARCHAR)", "role": "system" }, { "content": "In 1988, what Metro Champion had a Runner-up of Memphis State?", "role": "user" }, { "content": "SELECT metro_champion FROM table_name_73 WHERE runner_up = \"memphis state\" AND year = 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 claims_processing (claim_outcome_code VARCHAR)", "role": "system" }, { "content": "How many distinct claim outcome codes are there?", "role": "user" }, { "content": "SELECT COUNT(DISTINCT claim_outcome_code) FROM claims_processing", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_17244483_1 (grid VARCHAR, driver VARCHAR)", "role": "system" }, { "content": "Scott Dixon had how many Grid positions?", "role": "user" }, { "content": "SELECT COUNT(grid) FROM table_17244483_1 WHERE driver = \"Scott Dixon\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1756284_1 (kerry_percentage VARCHAR, kerry_number VARCHAR)", "role": "system" }, { "content": "When Kerry# was 199060, what was the percentage?", "role": "user" }, { "content": "SELECT kerry_percentage FROM table_1756284_1 WHERE kerry_number = 199060", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (class VARCHAR, part_2 VARCHAR)", "role": "system" }, { "content": "What was the class when part 2 was *hēt?", "role": "user" }, { "content": "SELECT class FROM table_name_61 WHERE part_2 = \"*hēt\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25216791_3 (november_3 VARCHAR, january_15_16 VARCHAR)", "role": "system" }, { "content": "What was the data on November 3, if the data on January 15-16 is January 15, 2010?", "role": "user" }, { "content": "SELECT november_3 FROM table_25216791_3 WHERE january_15_16 = \"January 15, 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_1875157_1 (top_10 INTEGER)", "role": "system" }, { "content": "What is the lowest number of top 10 finishes", "role": "user" }, { "content": "SELECT MIN(top_10) FROM table_1875157_1", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_38 (played VARCHAR, points_for VARCHAR)", "role": "system" }, { "content": "How many rounds were played in the matching resulting in a Points For score of 343?", "role": "user" }, { "content": "SELECT played FROM table_name_38 WHERE points_for = \"343\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (incumbent VARCHAR, result VARCHAR, district VARCHAR)", "role": "system" }, { "content": "What incumbent was re-elected in the district in california 3?", "role": "user" }, { "content": "SELECT incumbent FROM table_name_85 WHERE result = \"re-elected\" AND district = \"california 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_26609958_1 (rainfall_totals__million_m_3__ VARCHAR, hydrographic_basin VARCHAR)", "role": "system" }, { "content": "When martha brae, river is the hydrographic basin what is the rainfall totals (million m 3)?", "role": "user" }, { "content": "SELECT rainfall_totals__million_m_3__ FROM table_26609958_1 WHERE hydrographic_basin = \"Martha Brae, River\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2866509_1 (no VARCHAR, us_viewers__million_ VARCHAR)", "role": "system" }, { "content": "what is the number of the episode in the season that had 5.60 millions of north american spectors?", "role": "user" }, { "content": "SELECT no FROM table_2866509_1 WHERE us_viewers__million_ = \"5.60\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (seats INTEGER, share_of_votes VARCHAR)", "role": "system" }, { "content": "What is the lowest number of seats from the election with 27.0% of votes?", "role": "user" }, { "content": "SELECT MIN(seats) FROM table_name_55 WHERE share_of_votes = \"27.0%\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_86 (against INTEGER, played INTEGER)", "role": "system" }, { "content": "What is the sum of againsts the team with less than 38 played had?", "role": "user" }, { "content": "SELECT SUM(against) FROM table_name_86 WHERE played < 38", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_74 (location VARCHAR, tournament VARCHAR)", "role": "system" }, { "content": "Where was the security pacific senior classic?", "role": "user" }, { "content": "SELECT location FROM table_name_74 WHERE tournament = \"security pacific senior 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_57 (year VARCHAR, silver VARCHAR)", "role": "system" }, { "content": "What year did Yuri Omeltchenko win Silver?", "role": "user" }, { "content": "SELECT year FROM table_name_57 WHERE silver = \"yuri omeltchenko\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_23 (pick INTEGER, round VARCHAR, position VARCHAR)", "role": "system" }, { "content": "What was the lowest pick for the kicker after round 12?", "role": "user" }, { "content": "SELECT MIN(pick) FROM table_name_23 WHERE round > 12 AND position = \"kicker\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (level VARCHAR, position VARCHAR, season VARCHAR, division VARCHAR)", "role": "system" }, { "content": "What level for seasons after 2003, a Division of kakkonen (second division), and a Position of 12th?", "role": "user" }, { "content": "SELECT level FROM table_name_21 WHERE season > 2003 AND division = \"kakkonen (second division)\" AND position = \"12th\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1183842_1 (founded INTEGER, enrollment VARCHAR)", "role": "system" }, { "content": "If the enrollment is 3584, what's the largest founded?", "role": "user" }, { "content": "SELECT MAX(founded) FROM table_1183842_1 WHERE enrollment = 3584", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (country VARCHAR, winter_olympics VARCHAR)", "role": "system" }, { "content": "what is the country for the 1972 winter olympics?", "role": "user" }, { "content": "SELECT country FROM table_name_7 WHERE winter_olympics = 1972", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (casualties VARCHAR, circumstances VARCHAR, location VARCHAR)", "role": "system" }, { "content": "How many casualties from the combat in the Fayzabad area?", "role": "user" }, { "content": "SELECT casualties FROM table_name_71 WHERE circumstances = \"combat\" AND location = \"fayzabad area\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (score VARCHAR, high_points VARCHAR)", "role": "system" }, { "content": "In the game where Joe Johnson (31) was the high points scorer, what was the final score?", "role": "user" }, { "content": "SELECT score FROM table_name_79 WHERE high_points = \"joe johnson (31)\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (win__number VARCHAR, winner VARCHAR)", "role": "system" }, { "content": "How many times did jim vivona win?", "role": "user" }, { "content": "SELECT COUNT(win__number) FROM table_name_2 WHERE winner = \"jim vivona\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (visitor VARCHAR, venue VARCHAR, round VARCHAR)", "role": "system" }, { "content": "Who is the visitor at the axa sports center in round 20?", "role": "user" }, { "content": "SELECT visitor FROM table_name_6 WHERE venue = \"axa sports center\" AND round = 20", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_20 (venue VARCHAR, event VARCHAR, year VARCHAR, competition VARCHAR)", "role": "system" }, { "content": "what is the venue when the year is 2006, the competition is asian games and the event is 400 m?", "role": "user" }, { "content": "SELECT venue FROM table_name_20 WHERE year = 2006 AND competition = \"asian games\" AND event = \"400 m\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (theme VARCHAR, year VARCHAR, artist VARCHAR, issue_price VARCHAR)", "role": "system" }, { "content": "What is the Theme of Christie Paquet after 2004 with an Issue Price of $34.95?", "role": "user" }, { "content": "SELECT theme FROM table_name_54 WHERE artist = \"christie paquet\" AND issue_price = \"$34.95\" AND year > 2004", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR, class VARCHAR)", "role": "system" }, { "content": "What city of license has an ERP W smaller than 500, Class A, and Frequency MHz larger than 89.7?", "role": "user" }, { "content": "SELECT city_of_license FROM table_name_76 WHERE erp_w < 500 AND class = \"a\" AND frequency_mhz > 89.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_24481478_1 (team_record VARCHAR, week VARCHAR)", "role": "system" }, { "content": "What was the game record during week 7?", "role": "user" }, { "content": "SELECT team_record FROM table_24481478_1 WHERE week = 7", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_31 (round VARCHAR, ranking VARCHAR)", "role": "system" }, { "content": "Which Round has a Ranking of 2008 wta tour?", "role": "user" }, { "content": "SELECT round FROM table_name_31 WHERE ranking = \"2008 wta tour\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (finish INTEGER, year VARCHAR, team VARCHAR, start VARCHAR)", "role": "system" }, { "content": "Lowest finish for ganassi at smaller than 19 start for smaller than 2004 year?", "role": "user" }, { "content": "SELECT MIN(finish) FROM table_name_13 WHERE team = \"ganassi\" AND start < 19 AND year < 2004", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (socket VARCHAR, part_number_s_ VARCHAR)", "role": "system" }, { "content": "What is the socket for the processor with part number ADH2350IAA5DO?", "role": "user" }, { "content": "SELECT socket FROM table_name_27 WHERE part_number_s_ = \"adh2350iaa5do\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE addresses (state_province_county VARCHAR)", "role": "system" }, { "content": "How many cities are there in state \"Colorado\"?", "role": "user" }, { "content": "SELECT COUNT(*) FROM addresses WHERE state_province_county = \"Colorado\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (Id VARCHAR)", "role": "system" }, { "content": "Name the 2012 with 2013 of 2r and 2009 of 3r", "role": "user" }, { "content": "SELECT 2012 FROM table_name_69 WHERE 2013 = \"2r\" AND 2009 = \"3r\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (visitor VARCHAR, home VARCHAR)", "role": "system" }, { "content": "Name the visitor for home of ny rangers", "role": "user" }, { "content": "SELECT visitor FROM table_name_29 WHERE home = \"ny rangers\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (population INTEGER, code VARCHAR, area__km_2__ VARCHAR)", "role": "system" }, { "content": "What's the population with a code more than 90902 and an area less than 1,335.47?", "role": "user" }, { "content": "SELECT MIN(population) FROM table_name_19 WHERE code > 90902 AND area__km_2__ < 1 OFFSET 335.47", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (opponent VARCHAR, week VARCHAR)", "role": "system" }, { "content": "Who was the opponent in week 12?", "role": "user" }, { "content": "SELECT opponent FROM table_name_69 WHERE week = 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_85 (round INTEGER, opponent VARCHAR, record VARCHAR)", "role": "system" }, { "content": "What was the highest number of rounds that had Hikaru Shinohara as an opponent and a record of 11-7?", "role": "user" }, { "content": "SELECT MAX(round) FROM table_name_85 WHERE opponent = \"hikaru shinohara\" AND record = \"11-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_99 (enrollment VARCHAR, institution VARCHAR, capacity VARCHAR)", "role": "system" }, { "content": "What's the total enrollment ofr Mcgill University that has a capacity less than 25,012?", "role": "user" }, { "content": "SELECT COUNT(enrollment) FROM table_name_99 WHERE institution = \"mcgill university\" AND capacity < 25 OFFSET 012", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_92 (report VARCHAR, status VARCHAR, against VARCHAR)", "role": "system" }, { "content": "What report has tour match as the status, with an against less than 22?", "role": "user" }, { "content": "SELECT report FROM table_name_92 WHERE status = \"tour match\" AND against < 22", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (to_par VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What is the to par that has jimmy hines as the player?", "role": "user" }, { "content": "SELECT to_par FROM table_name_46 WHERE player = \"jimmy hines\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_30121075_1 (poor_law_union VARCHAR, townland VARCHAR)", "role": "system" }, { "content": "What is the poor law union when the townland is bohonagh?", "role": "user" }, { "content": "SELECT poor_law_union FROM table_30121075_1 WHERE townland = \"Bohonagh\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL 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 (TYPE VARCHAR)", "role": "system" }, { "content": "Show the types of schools that have two schools.", "role": "user" }, { "content": "SELECT TYPE FROM school GROUP BY TYPE HAVING COUNT(*) = 2", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_16 (day_1 VARCHAR, day_3 VARCHAR)", "role": "system" }, { "content": "What is the day 1 when the day 3 is math?", "role": "user" }, { "content": "SELECT day_1 FROM table_name_16 WHERE day_3 = \"math\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_50 (name VARCHAR, direction VARCHAR, terminus VARCHAR)", "role": "system" }, { "content": "Which bi-directional route has a terminus at Ecat/Rosa Park Transit Center?", "role": "user" }, { "content": "SELECT name FROM table_name_50 WHERE direction = \"bi-directional\" AND terminus = \"ecat/rosa park transit center\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (entrant VARCHAR, driver VARCHAR)", "role": "system" }, { "content": "Who was the entrant for Gary Brabham?", "role": "user" }, { "content": "SELECT entrant FROM table_name_5 WHERE driver = \"gary brabham\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (lost VARCHAR, points_for VARCHAR)", "role": "system" }, { "content": "What lost has 528 as the points?", "role": "user" }, { "content": "SELECT lost FROM table_name_78 WHERE points_for = \"528\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_28498999_3 (to_par VARCHAR, after VARCHAR)", "role": "system" }, { "content": "What is the to par when the after is 33?", "role": "user" }, { "content": "SELECT to_par FROM table_28498999_3 WHERE after = 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_name_11 (year VARCHAR, label VARCHAR)", "role": "system" }, { "content": "what year was cryptogramophon released", "role": "user" }, { "content": "SELECT year FROM table_name_11 WHERE label = \"cryptogramophon\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (head_coach VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "Who was the head coach when the opponent was Arsenal?", "role": "user" }, { "content": "SELECT head_coach FROM table_name_95 WHERE opponent = \"arsenal\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (wins INTEGER, team VARCHAR, appearances VARCHAR)", "role": "system" }, { "content": "With Appearances larger than 1, what is the Wins for the Reno Aces Team?", "role": "user" }, { "content": "SELECT MIN(wins) FROM table_name_45 WHERE team = \"reno aces\" AND appearances > 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_17001658_8 (location_attendance VARCHAR, game VARCHAR)", "role": "system" }, { "content": "Name the location attendance for game 55", "role": "user" }, { "content": "SELECT location_attendance FROM table_17001658_8 WHERE game = 55", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (ihsaa_class VARCHAR, location VARCHAR)", "role": "system" }, { "content": "What are the IHSAA classes of the Indianapolis schools?", "role": "user" }, { "content": "SELECT ihsaa_class FROM table_name_34 WHERE location = \"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_46 (score VARCHAR, player VARCHAR)", "role": "system" }, { "content": "Dave Douglas has what score?", "role": "user" }, { "content": "SELECT score FROM table_name_46 WHERE player = \"dave douglas\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (location_attendance VARCHAR, record VARCHAR)", "role": "system" }, { "content": "What is the Location and Attendance with a Record of 21–22?", "role": "user" }, { "content": "SELECT location_attendance FROM table_name_16 WHERE record = \"21–22\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (fa_cup_apps VARCHAR, league_apps VARCHAR)", "role": "system" }, { "content": "Which FA Cup Apps have League Apps of 21?", "role": "user" }, { "content": "SELECT fa_cup_apps FROM table_name_28 WHERE league_apps = \"21\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_19 (_percentage_gdp VARCHAR, surplus_deficit_ VARCHAR, income VARCHAR, year VARCHAR, expenditure VARCHAR)", "role": "system" }, { "content": "Which % GDP has a Year smaller than 2011, and an Expenditure larger than 41.3, and an Income smaller than 48, and a Surplus(Deficit) of (24.6)?", "role": "user" }, { "content": "SELECT _percentage_gdp FROM table_name_19 WHERE year < 2011 AND expenditure > 41.3 AND income < 48 AND surplus_deficit_ = \"(24.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 concert (stadium_id VARCHAR, year INTEGER); CREATE TABLE stadium (name VARCHAR, capacity VARCHAR, stadium_id VARCHAR)", "role": "system" }, { "content": "What is the name and capacity of the stadium with the most concerts after 2013 ?", "role": "user" }, { "content": "SELECT t2.name, t2.capacity FROM concert AS t1 JOIN stadium AS t2 ON t1.stadium_id = t2.stadium_id WHERE t1.year > 2013 GROUP BY t2.stadium_id ORDER BY COUNT(*) DESC LIMIT 1", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_17 (cuts_made VARCHAR, events VARCHAR, top_10 VARCHAR)", "role": "system" }, { "content": "What were the total number of cuts made in an event larger than 4 and a top-10 smaller than 4?", "role": "user" }, { "content": "SELECT COUNT(cuts_made) FROM table_name_17 WHERE events > 4 AND top_10 < 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_80 (week INTEGER, venue VARCHAR, attendance VARCHAR)", "role": "system" }, { "content": "Tell me the highest week for metropolitan stadium for attendance more than 47,644", "role": "user" }, { "content": "SELECT MAX(week) FROM table_name_80 WHERE venue = \"metropolitan stadium\" AND attendance > 47 OFFSET 644", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (no_built INTEGER, unit_nos VARCHAR)", "role": "system" }, { "content": "How many number Builts had unit numbers of 375301-310?", "role": "user" }, { "content": "SELECT SUM(no_built) FROM table_name_19 WHERE unit_nos = \"375301-310\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. 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 (vertices INTEGER, dual_archimedean_solid VARCHAR)", "role": "system" }, { "content": "Which Vertices have a Dual Archimedean solid of truncated dodecahedron?", "role": "user" }, { "content": "SELECT MAX(vertices) FROM table_name_28 WHERE dual_archimedean_solid = \"truncated dodecahedron\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1013129_8 (nationality VARCHAR, pick VARCHAR)", "role": "system" }, { "content": "How many nationalities are the pick 193?", "role": "user" }, { "content": "SELECT COUNT(nationality) FROM table_1013129_8 WHERE pick = 193", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15275060_1 (old_bulgarian_names VARCHAR, Yuni VARCHAR, Transliteration VARCHAR)", "role": "system" }, { "content": "Name the old bulgarian names for yuni", "role": "user" }, { "content": "SELECT old_bulgarian_names FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Yuni", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_63 (goals VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What is the number of Goals on 1950-05-30?", "role": "user" }, { "content": "SELECT COUNT(goals) FROM table_name_63 WHERE date = \"1950-05-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_14308895_2 (former_pageant VARCHAR, new_pageant VARCHAR)", "role": "system" }, { "content": "which is the former pageant in the country where the new pageant is miss bahamas?", "role": "user" }, { "content": "SELECT former_pageant FROM table_14308895_2 WHERE new_pageant = \"Miss Bahamas\"", "role": "assistant" } ]