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_63 (venue VARCHAR, third VARCHAR)",
"role": "system"
},
{
"content": "What was the venue when Jack Hargreaves finished third?",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_63 WHERE third = \"jack hargreaves\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (party VARCHAR, end_date VARCHAR)",
"role": "system"
},
{
"content": "Name the party with end date of 22 november 1980",
"role": "user"
},
{
"content": "SELECT party FROM table_name_2 WHERE end_date = \"22 november 1980\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_84 (date VARCHAR, result VARCHAR)",
"role": "system"
},
{
"content": "Which Date has a Result of w 13–6?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_84 WHERE result = \"w 13–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 Templates (Id VARCHAR)",
"role": "system"
},
{
"content": "How many templates do we have?",
"role": "user"
},
{
"content": "SELECT COUNT(*) FROM Templates",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_58 (number_of_households INTEGER, county VARCHAR)",
"role": "system"
},
{
"content": "How many households are in Ottawa?",
"role": "user"
},
{
"content": "SELECT SUM(number_of_households) FROM table_name_58 WHERE county = \"ottawa\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_77 (regional_seats VARCHAR, party VARCHAR, total_seats VARCHAR)",
"role": "system"
},
{
"content": "How many regional seats were there with the SNP party and where the number of total seats was bigger than 46?",
"role": "user"
},
{
"content": "SELECT COUNT(regional_seats) FROM table_name_77 WHERE party = \"snp\" AND total_seats > 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 building (name VARCHAR, height_feet VARCHAR, building_id VARCHAR); CREATE TABLE institution (building_id VARCHAR, founded INTEGER)",
"role": "system"
},
{
"content": "Show the names and heights of buildings with at least two institutions founded after 1880.",
"role": "user"
},
{
"content": "SELECT T1.name, T1.height_feet FROM building AS T1 JOIN institution AS T2 ON T1.building_id = T2.building_id WHERE T2.founded > 1880 GROUP BY T1.building_id 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_51 (year_startup VARCHAR, project_name VARCHAR)",
"role": "system"
},
{
"content": "What year was the startup for the Project Named of taq taq ph 2?",
"role": "user"
},
{
"content": "SELECT year_startup FROM table_name_51 WHERE project_name = \"taq taq ph 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 (catalog VARCHAR, region VARCHAR, label VARCHAR)",
"role": "system"
},
{
"content": "What is Catalog, when the Region is UK, and when Label is Razor Records?",
"role": "user"
},
{
"content": "SELECT catalog FROM table_name_16 WHERE region = \"uk\" AND label = \"razor records\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Sportsinfo (StuID VARCHAR)",
"role": "system"
},
{
"content": "How many students play sports?",
"role": "user"
},
{
"content": "SELECT COUNT(DISTINCT StuID) FROM Sportsinfo",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_29545993_3 (Ends INTEGER, stolen_ends VARCHAR, l VARCHAR)",
"role": "system"
},
{
"content": "What is the minimum ends lost record when the stolen ends records is 6 and the loss record is bigger than 5.0?",
"role": "user"
},
{
"content": "SELECT MIN(Ends) AS lost FROM table_29545993_3 WHERE stolen_ends = 6 AND l > 5.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_58 (venue VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "Where was the venue that Linfield was the opponent?",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_58 WHERE opponent = \"linfield\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_96 (score_in_the_final VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What final score was there on October 8, 2006?",
"role": "user"
},
{
"content": "SELECT score_in_the_final FROM table_name_96 WHERE date = \"october 8, 2006\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_10 (catalog VARCHAR, format VARCHAR)",
"role": "system"
},
{
"content": "What catalog uses the stereo compact cassette format?",
"role": "user"
},
{
"content": "SELECT catalog FROM table_name_10 WHERE format = \"stereo compact cassette\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (year INTEGER, actor VARCHAR)",
"role": "system"
},
{
"content": "What is the latest year that Cicely Tyson is the Golden Globe Award actor?",
"role": "user"
},
{
"content": "SELECT MAX(year) FROM table_name_76 WHERE actor = \"cicely tyson\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (place VARCHAR, country VARCHAR)",
"role": "system"
},
{
"content": "What is the Place of the Player from Scotland?",
"role": "user"
},
{
"content": "SELECT place FROM table_name_36 WHERE country = \"scotland\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (attendance INTEGER, game VARCHAR)",
"role": "system"
},
{
"content": "The game of 6 has what lowest attendance?",
"role": "user"
},
{
"content": "SELECT MIN(attendance) FROM table_name_47 WHERE game = 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_40 (result VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "The game played on October 2, 1966 had what result?",
"role": "user"
},
{
"content": "SELECT result FROM table_name_40 WHERE date = \"october 2, 1966\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_67 (event VARCHAR, method VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "What is the event when the method was submission (armbar), and Jeff Gibson was the opponent?",
"role": "user"
},
{
"content": "SELECT event FROM table_name_67 WHERE method = \"submission (armbar)\" AND opponent = \"jeff gibson\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (interview INTEGER, state VARCHAR, swimsuit VARCHAR)",
"role": "system"
},
{
"content": "What is the total for the state of new york and a swimsuit less than 9.394?",
"role": "user"
},
{
"content": "SELECT SUM(interview) FROM table_name_97 WHERE state = \"new york\" AND swimsuit < 9.394",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (record VARCHAR, result VARCHAR, attendance VARCHAR)",
"role": "system"
},
{
"content": "What is the record of the game that resulted in a loss with more than 56,648 people in attendance?",
"role": "user"
},
{
"content": "SELECT record FROM table_name_99 WHERE result = \"loss\" AND attendance > 56 OFFSET 648",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2342078_2 (episode__number INTEGER, written_by VARCHAR)",
"role": "system"
},
{
"content": "What is the highest episode# with the writer Paul West?",
"role": "user"
},
{
"content": "SELECT MAX(episode__number) FROM table_2342078_2 WHERE written_by = \"Paul West\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_36 (race VARCHAR, circuit VARCHAR, length VARCHAR)",
"role": "system"
},
{
"content": "Which race was on the Las Vegas Motor Speedway for 2 hours?",
"role": "user"
},
{
"content": "SELECT race FROM table_name_36 WHERE circuit = \"las vegas motor speedway\" AND length = \"2 hours\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_66 (score VARCHAR, bowl_game VARCHAR)",
"role": "system"
},
{
"content": "What was the score of the BCS National Championship game?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_66 WHERE bowl_game = \"bcs national championship\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_67 (rank INTEGER, name VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest rank that the protestants population holds?",
"role": "user"
},
{
"content": "SELECT MIN(rank) FROM table_name_67 WHERE name = \"protestants population\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_72 (points INTEGER, domestic_cup VARCHAR)",
"role": "system"
},
{
"content": "What was the average points in the quarterfinals domestic cup?",
"role": "user"
},
{
"content": "SELECT AVG(points) FROM table_name_72 WHERE domestic_cup = \"quarterfinals\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (date VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "What is the Date that has a Record of 33.952?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_48 WHERE record = \"33.952\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2501754_2 (production_count VARCHAR, episode__number VARCHAR)",
"role": "system"
},
{
"content": "How many episodes were numbered 5?",
"role": "user"
},
{
"content": "SELECT COUNT(production_count) FROM table_2501754_2 WHERE episode__number = 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_23018775_3 (pos VARCHAR, total_time VARCHAR)",
"role": "system"
},
{
"content": "How many positions have a total time of 1:30.4135?",
"role": "user"
},
{
"content": "SELECT COUNT(pos) FROM table_23018775_3 WHERE total_time = \"1:30.4135\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (Id VARCHAR)",
"role": "system"
},
{
"content": "What is the value for 2010 when the value for 2006 is A and the value for 2009 is 1R?",
"role": "user"
},
{
"content": "SELECT 2010 FROM table_name_59 WHERE 2006 = \"a\" AND 2009 = \"1r\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (length VARCHAR, fleet_number VARCHAR)",
"role": "system"
},
{
"content": "What is the length of fleet number 501-506?",
"role": "user"
},
{
"content": "SELECT length FROM table_name_62 WHERE fleet_number = \"501-506\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (democrat VARCHAR, sample_size VARCHAR, republican VARCHAR)",
"role": "system"
},
{
"content": "Which Democrat was selected in the poll with a sample size smaller than 516 where the Republican chosen was Ron Paul?",
"role": "user"
},
{
"content": "SELECT democrat FROM table_name_16 WHERE sample_size < 516 AND republican = \"ron paul\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (song VARCHAR, draw VARCHAR, artist VARCHAR)",
"role": "system"
},
{
"content": "Name the song for draw less than 7 and artists of martin & johannes",
"role": "user"
},
{
"content": "SELECT song FROM table_name_42 WHERE draw < 7 AND artist = \"martin & johannes\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (english_name VARCHAR, color VARCHAR)",
"role": "system"
},
{
"content": "Which English name has a Color of green?",
"role": "user"
},
{
"content": "SELECT english_name FROM table_name_54 WHERE color = \"green\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (bronze INTEGER, silver INTEGER)",
"role": "system"
},
{
"content": "What is the sum of the bronze medals of the nation with less than 0 silvers?",
"role": "user"
},
{
"content": "SELECT SUM(bronze) FROM table_name_42 WHERE silver < 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_7 (winning_driver VARCHAR, fastest_lap VARCHAR, most_laps_led VARCHAR)",
"role": "system"
},
{
"content": "What is Winning Driver, when Fastest Lap is Ryan Hunter-Reay, and when Most Laps Led is Ryan Briscoe?",
"role": "user"
},
{
"content": "SELECT winning_driver FROM table_name_7 WHERE fastest_lap = \"ryan hunter-reay\" AND most_laps_led = \"ryan briscoe\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (bore_x_stroke VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "Name the Bore x stroke of 1929-32",
"role": "user"
},
{
"content": "SELECT bore_x_stroke FROM table_name_83 WHERE year = \"1929-32\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_19018191_5 (nat VARCHAR, total_apps VARCHAR)",
"role": "system"
},
{
"content": "Name the nat for total apps for 27",
"role": "user"
},
{
"content": "SELECT nat FROM table_19018191_5 WHERE total_apps = 27",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_17 (date VARCHAR, opposing_teams VARCHAR)",
"role": "system"
},
{
"content": "What day was Wales the opposing team?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_17 WHERE opposing_teams = \"wales\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (opponent VARCHAR, week VARCHAR)",
"role": "system"
},
{
"content": "Who did the Texan's play on Week 4?",
"role": "user"
},
{
"content": "SELECT opponent FROM table_name_37 WHERE week = \"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_2581397_4 (race VARCHAR, weight__kg_ VARCHAR, winner_2nd VARCHAR)",
"role": "system"
},
{
"content": "In what race was the weight in kg 55 and the winner/2nd 1st - Jim and Tonic?",
"role": "user"
},
{
"content": "SELECT race FROM table_2581397_4 WHERE weight__kg_ = \"55\" AND winner_2nd = \"1st - Jim And Tonic\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (date VARCHAR, goal VARCHAR)",
"role": "system"
},
{
"content": "What was the date of the game where Esteban Paredes scored 2 goals?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_62 WHERE goal = 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_17 (location VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "What's the location when the record was 6-0-1?",
"role": "user"
},
{
"content": "SELECT location FROM table_name_17 WHERE record = \"6-0-1\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1132588_3 (fastest_lap VARCHAR, grand_prix VARCHAR)",
"role": "system"
},
{
"content": "What is the fastest lap for the european grand prix?",
"role": "user"
},
{
"content": "SELECT fastest_lap FROM table_1132588_3 WHERE grand_prix = \"European grand_prix\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_88 (losses INTEGER, goals_against VARCHAR, wins VARCHAR)",
"role": "system"
},
{
"content": "What is the average loss with a goal higher than 51 and wins higher than 14?",
"role": "user"
},
{
"content": "SELECT AVG(losses) FROM table_name_88 WHERE goals_against > 51 AND wins > 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_47 (viewers VARCHAR, episode VARCHAR)",
"role": "system"
},
{
"content": "How many viewed the episode gary gets boundaries?",
"role": "user"
},
{
"content": "SELECT COUNT(viewers) FROM table_name_47 WHERE episode = \"gary gets boundaries\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_43 (country VARCHAR, date VARCHAR, catalog_nr VARCHAR)",
"role": "system"
},
{
"content": "Which country has the catalog nr of thr-048 in 2004?",
"role": "user"
},
{
"content": "SELECT country FROM table_name_43 WHERE date = \"2004\" AND catalog_nr = \"thr-048\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11251601_2 (carbon_dioxide_emissions_per_year__10_6_tons___2006_ VARCHAR, carbon_dioxide_emissions_per_year__tons_per_person___2007_ VARCHAR)",
"role": "system"
},
{
"content": "WHAT WAS THE AMOUNT OF CARBON DIOXIDE EMISSIONS IN 2006 IN THE COUNTRY WHOSE CO2 EMISSIONS (TONS PER PERSON) REACHED 1.4 IN 2OO7?",
"role": "user"
},
{
"content": "SELECT carbon_dioxide_emissions_per_year__10_6_tons___2006_ FROM table_11251601_2 WHERE carbon_dioxide_emissions_per_year__tons_per_person___2007_ = \"1.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_34 (location VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "Where is the location with a record of 50-19?",
"role": "user"
},
{
"content": "SELECT location FROM table_name_34 WHERE record = \"50-19\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18703133_6 (scored INTEGER, position VARCHAR)",
"role": "system"
},
{
"content": "What is scored with the position of 6?",
"role": "user"
},
{
"content": "SELECT MIN(scored) FROM table_18703133_6 WHERE position = 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_42 (date VARCHAR, home_team VARCHAR)",
"role": "system"
},
{
"content": "What is the Date of the Middlesbrough Home game?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_42 WHERE home_team = \"middlesbrough\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1153898_1 (ddm_class VARCHAR, comparisons VARCHAR)",
"role": "system"
},
{
"content": "Is wireless combo keyboard and mouse support part of the DDM class?",
"role": "user"
},
{
"content": "SELECT ddm_class FROM table_1153898_1 WHERE comparisons = \"Wireless Combo keyboard and mouse support\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_26842217_6 (time VARCHAR, visiting_team VARCHAR)",
"role": "system"
},
{
"content": "How many times was Louisiana-Monroe a visiting team?",
"role": "user"
},
{
"content": "SELECT COUNT(time) FROM table_26842217_6 WHERE visiting_team = \"Louisiana-Monroe\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (away VARCHAR, club VARCHAR, competition VARCHAR, round VARCHAR)",
"role": "system"
},
{
"content": "Which away has uefa cup as the competition, group f as the round, with espanyol as the club?",
"role": "user"
},
{
"content": "SELECT away FROM table_name_6 WHERE competition = \"uefa cup\" AND round = \"group f\" AND club = \"espanyol\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (Id VARCHAR)",
"role": "system"
},
{
"content": "What shows for 2000 when 2013 shows 3rd?",
"role": "user"
},
{
"content": "SELECT 2000 FROM table_name_19 WHERE 2013 = \"3rd\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (home_team VARCHAR, away_team VARCHAR)",
"role": "system"
},
{
"content": "what is the home team when the away team is frickley colliery?",
"role": "user"
},
{
"content": "SELECT home_team FROM table_name_17 WHERE away_team = \"frickley colliery\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (date VARCHAR, format VARCHAR, label VARCHAR)",
"role": "system"
},
{
"content": "What is Date, when Format is Vinyl, and when Label is Mercury?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_65 WHERE format = \"vinyl\" AND label = \"mercury\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_28634206_1 (country VARCHAR, miss_universe VARCHAR)",
"role": "system"
},
{
"content": "Which country has had 6 miss universe's?",
"role": "user"
},
{
"content": "SELECT country FROM table_28634206_1 WHERE miss_universe = \"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_1 (author VARCHAR, last_issue VARCHAR)",
"role": "system"
},
{
"content": "What is the Author of the Title with an Ongoing Last Issue?",
"role": "user"
},
{
"content": "SELECT author FROM table_name_1 WHERE last_issue = \"ongoing\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (weeks_on_chart VARCHAR, country VARCHAR)",
"role": "system"
},
{
"content": "what is the weeks on chart for the single from france?",
"role": "user"
},
{
"content": "SELECT weeks_on_chart FROM table_name_92 WHERE country = \"france\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (podiums INTEGER, class VARCHAR, f_laps VARCHAR)",
"role": "system"
},
{
"content": "How many Podiums have a Class of 250cc, and an F laps of 0?",
"role": "user"
},
{
"content": "SELECT SUM(podiums) FROM table_name_18 WHERE class = \"250cc\" AND f_laps = 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_78 (team__number2 VARCHAR, team__number1 VARCHAR)",
"role": "system"
},
{
"content": "Tell me the team 2 for handelsministerium vienna",
"role": "user"
},
{
"content": "SELECT team__number2 FROM table_name_78 WHERE team__number1 = \"handelsministerium vienna\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (home_team VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "Which team plays home at Princes Park?",
"role": "user"
},
{
"content": "SELECT home_team FROM table_name_45 WHERE venue = \"princes park\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22815568_3 (status VARCHAR, county VARCHAR)",
"role": "system"
},
{
"content": "How many statuses are listed for Wayne county? ",
"role": "user"
},
{
"content": "SELECT COUNT(status) FROM table_22815568_3 WHERE county = \"Wayne\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_22 (nation VARCHAR, places VARCHAR)",
"role": "system"
},
{
"content": "What Nation Placed 122.5?",
"role": "user"
},
{
"content": "SELECT nation FROM table_name_22 WHERE places = 122.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_14219514_1 (home__1st_leg_ VARCHAR)",
"role": "system"
},
{
"content": "How many 2nd legs are there where home (1st leg) is Independiente?",
"role": "user"
},
{
"content": "SELECT 2 AS nd_leg FROM table_14219514_1 WHERE home__1st_leg_ = \"Independiente\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (record VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What is the record for june 10?",
"role": "user"
},
{
"content": "SELECT record FROM table_name_28 WHERE date = \"june 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_15 (rr_nos VARCHAR, builder VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "Name the RR numbers of hudswell clarke and years before 1914",
"role": "user"
},
{
"content": "SELECT rr_nos FROM table_name_15 WHERE builder = \"hudswell clarke\" AND year < 1914",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (crowd INTEGER, ground VARCHAR)",
"role": "system"
},
{
"content": "What kind of Crowd has a Ground of subiaco oval?",
"role": "user"
},
{
"content": "SELECT SUM(crowd) FROM table_name_41 WHERE ground = \"subiaco oval\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_79 (year INTEGER, name VARCHAR)",
"role": "system"
},
{
"content": "What is the total time for one south broad?",
"role": "user"
},
{
"content": "SELECT SUM(year) FROM table_name_79 WHERE name = \"one south broad\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_17120964_7 (man_of_the_match VARCHAR, attendance VARCHAR)",
"role": "system"
},
{
"content": "When the attendance was 1568, who was man of the match?",
"role": "user"
},
{
"content": "SELECT man_of_the_match FROM table_17120964_7 WHERE attendance = 1568",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Highschooler (grade VARCHAR)",
"role": "system"
},
{
"content": "Show me all grades that have at least 4 students.",
"role": "user"
},
{
"content": "SELECT grade FROM Highschooler GROUP BY grade HAVING COUNT(*) >= 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_14070062_3 (tries_against VARCHAR, points_against VARCHAR)",
"role": "system"
},
{
"content": "What's the tries against count of the team with 396 points against? ",
"role": "user"
},
{
"content": "SELECT COUNT(tries_against) FROM table_14070062_3 WHERE points_against = \"396\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (away_team VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "What is the score of the away team that played at Kardinia Park?",
"role": "user"
},
{
"content": "SELECT away_team AS score FROM table_name_33 WHERE venue = \"kardinia park\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_29087004_2 (written_by VARCHAR, production_code VARCHAR)",
"role": "system"
},
{
"content": "Who wrote the episode with a production code of 116?",
"role": "user"
},
{
"content": "SELECT written_by FROM table_29087004_2 WHERE production_code = 116",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11960196_3 (high_points VARCHAR, game VARCHAR)",
"role": "system"
},
{
"content": "Who did the high points of game 5?",
"role": "user"
},
{
"content": "SELECT high_points FROM table_11960196_3 WHERE game = 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_18 (date VARCHAR, opponent VARCHAR, result VARCHAR)",
"role": "system"
},
{
"content": "What is the date of the game against the Lizards with a result of w 18-17?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_18 WHERE opponent = \"lizards\" AND result = \"w 18-17\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_17350255_1 (year__ceremony_ VARCHAR, original_title VARCHAR)",
"role": "system"
},
{
"content": "What was the year when Chūnqiū Cháshì (春秋茶室) was submitted?",
"role": "user"
},
{
"content": "SELECT year__ceremony_ FROM table_17350255_1 WHERE original_title = \"Chūnqiū cháshì (春秋茶室)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_90 (years VARCHAR, area VARCHAR, authority VARCHAR)",
"role": "system"
},
{
"content": "What years is the private school in upper hutt?",
"role": "user"
},
{
"content": "SELECT years FROM table_name_90 WHERE area = \"upper hutt\" AND authority = \"private\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_12828723_3 (won VARCHAR, club VARCHAR)",
"role": "system"
},
{
"content": "what's the won with club being ammanford rfc",
"role": "user"
},
{
"content": "SELECT won FROM table_12828723_3 WHERE club = \"Ammanford RFC\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15852257_1 (podiums VARCHAR, final_placing VARCHAR)",
"role": "system"
},
{
"content": "Which podiums have a final placing of 10th?",
"role": "user"
},
{
"content": "SELECT podiums FROM table_15852257_1 WHERE final_placing = \"10th\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_44 (uefa_cup VARCHAR, total INTEGER)",
"role": "system"
},
{
"content": "What is the total number of UEFA Cup(s), when Total is greater than 3?",
"role": "user"
},
{
"content": "SELECT COUNT(uefa_cup) FROM table_name_44 WHERE total > 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_70 (height__m_ INTEGER, year_built VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "What is the sum of the heights in meters for the commerzbank tower built after 1984?",
"role": "user"
},
{
"content": "SELECT SUM(height__m_) FROM table_name_70 WHERE year_built > 1984 AND name = \"commerzbank tower\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (loss VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Who took the loss on May 20?",
"role": "user"
},
{
"content": "SELECT loss FROM table_name_52 WHERE date = \"may 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_1964010_2 (opponents VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "Who are the opponents of Mike Byron and partner in matches where the score was 6–4, 4–6, 7–6 (7–4)?",
"role": "user"
},
{
"content": "SELECT opponents FROM table_1964010_2 WHERE score = \"6–4, 4–6, 7–6 (7–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_20704243_3 (written_by VARCHAR, directed_by VARCHAR)",
"role": "system"
},
{
"content": "How many were written by Peter Winther?",
"role": "user"
},
{
"content": "SELECT COUNT(written_by) FROM table_20704243_3 WHERE directed_by = \"Peter Winther\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (area VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "What area is named Mackenzie college?",
"role": "user"
},
{
"content": "SELECT area FROM table_name_50 WHERE name = \"mackenzie college\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (carburetor VARCHAR, engine VARCHAR)",
"role": "system"
},
{
"content": "Tell me the carburetor for engine of 250-1v i-6",
"role": "user"
},
{
"content": "SELECT carburetor FROM table_name_69 WHERE engine = \"250-1v i-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_80 (build_date VARCHAR, total_produced VARCHAR)",
"role": "system"
},
{
"content": "What is the build date when total produced is 2?",
"role": "user"
},
{
"content": "SELECT build_date FROM table_name_80 WHERE total_produced = 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_68 (position VARCHAR, competition VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "What was the position of the Olympic Games in the year 2008?",
"role": "user"
},
{
"content": "SELECT position FROM table_name_68 WHERE competition = \"olympic games\" 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_25760427_2 (single VARCHAR, artist VARCHAR)",
"role": "system"
},
{
"content": "What is the song by the musician panjabi mc?",
"role": "user"
},
{
"content": "SELECT single FROM table_25760427_2 WHERE artist = \"Panjabi MC\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_94 (goal_difference INTEGER, goals_against VARCHAR, draws VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest goal difference a club with 61 goals against and less than 11 draws has?",
"role": "user"
},
{
"content": "SELECT MIN(goal_difference) FROM table_name_94 WHERE goals_against = 61 AND draws < 11",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_12 (attendance VARCHAR, away_team VARCHAR, tie_no VARCHAR)",
"role": "system"
},
{
"content": "What is the attendance total when Southend Manor is the away team and there are less than 93 ties?",
"role": "user"
},
{
"content": "SELECT COUNT(attendance) FROM table_name_12 WHERE away_team = \"southend manor\" AND tie_no < 93",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_25 (score VARCHAR, competition VARCHAR)",
"role": "system"
},
{
"content": "What was the score of the 1998 FIFA World Cup qualification competition?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_25 WHERE competition = \"1998 fifa world cup qualification\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22058547_1 (type VARCHAR, mascot VARCHAR)",
"role": "system"
},
{
"content": "What school classifications have trappers as mascot?",
"role": "user"
},
{
"content": "SELECT type FROM table_22058547_1 WHERE mascot = \"Trappers\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (tie_no VARCHAR, home_team VARCHAR)",
"role": "system"
},
{
"content": "minehead has what tie number?",
"role": "user"
},
{
"content": "SELECT tie_no FROM table_name_3 WHERE home_team = \"minehead\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (away_team VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "In Western Oval, what was the away team score?",
"role": "user"
},
{
"content": "SELECT away_team AS score FROM table_name_33 WHERE venue = \"western oval\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_31 (byes VARCHAR, losses VARCHAR, against VARCHAR)",
"role": "system"
},
{
"content": "What is the total number of byes with more than 0 losses and 1526 against?",
"role": "user"
},
{
"content": "SELECT COUNT(byes) FROM table_name_31 WHERE losses > 0 AND against = 1526",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (length VARCHAR, country VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "Which Length has a Country of soviet union, and a Year larger than 1975?",
"role": "user"
},
{
"content": "SELECT length FROM table_name_52 WHERE country = \"soviet union\" AND year > 1975",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (government VARCHAR, seats VARCHAR)",
"role": "system"
},
{
"content": "Which Government has 57 seats?",
"role": "user"
},
{
"content": "SELECT government FROM table_name_56 WHERE seats = 57",
"role": "assistant"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.