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_32 (launch_date__utc_ VARCHAR, cospar_id_satcat_№ VARCHAR)",
"role": "system"
},
{
"content": "What is the launch date of the satellite with a COSPAR ID of 1995-022a?",
"role": "user"
},
{
"content": "SELECT launch_date__utc_ FROM table_name_32 WHERE cospar_id_satcat_№ = \"1995-022a\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (player VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "Who scored a 68?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_96 WHERE score = 68",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_35 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)",
"role": "system"
},
{
"content": "What is the call sign of the MHz Frequency less than 94.9 and an ERP W of 170?",
"role": "user"
},
{
"content": "SELECT call_sign FROM table_name_35 WHERE frequency_mhz < 94.9 AND erp_w = 170",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (floors__stories_ INTEGER, height_ft__m_ VARCHAR, rank VARCHAR)",
"role": "system"
},
{
"content": "How many floors are in the 274 (84) ft (m) building that is ranked number 1?",
"role": "user"
},
{
"content": "SELECT AVG(floors__stories_) FROM table_name_99 WHERE height_ft__m_ = \"274 (84)\" AND rank > 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_12 (date VARCHAR, opponent VARCHAR, week VARCHAR, game_site VARCHAR)",
"role": "system"
},
{
"content": "Week smaller than 4, and a Game Site of rca dome, and a Opponent of new england patriots involves what date?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_12 WHERE week < 4 AND game_site = \"rca dome\" AND opponent = \"new england patriots\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25594271_1 (state_country VARCHAR, race_number VARCHAR)",
"role": "system"
},
{
"content": "what are all the state/nation where the race number is 36",
"role": "user"
},
{
"content": "SELECT state_country FROM table_25594271_1 WHERE race_number = \"36\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_16175064_3 (director_s_ VARCHAR, writer_s_ VARCHAR)",
"role": "system"
},
{
"content": "Who is the director when Chris Hawkshaw is the writer?",
"role": "user"
},
{
"content": "SELECT director_s_ FROM table_16175064_3 WHERE writer_s_ = \"Chris Hawkshaw\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (date VARCHAR, home_team VARCHAR)",
"role": "system"
},
{
"content": "On what date was the Essendon home match?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_66 WHERE home_team = \"essendon\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25058269_1 (runner_up VARCHAR, season VARCHAR)",
"role": "system"
},
{
"content": "In season 2007–08 who is the runner-up?",
"role": "user"
},
{
"content": "SELECT runner_up FROM table_25058269_1 WHERE season = \"2007–08\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23927423_4 (teams INTEGER)",
"role": "system"
},
{
"content": "How many were the minimum team that participated in the league?",
"role": "user"
},
{
"content": "SELECT MIN(teams) FROM table_23927423_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_56 (ties INTEGER, gp INTEGER)",
"role": "system"
},
{
"content": "What was the largest tie when the G.P was more than 5?",
"role": "user"
},
{
"content": "SELECT MAX(ties) FROM table_name_56 WHERE gp > 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_22838521_3 (money_list_rank INTEGER)",
"role": "system"
},
{
"content": "What is the possible maximum money list rank?",
"role": "user"
},
{
"content": "SELECT MAX(money_list_rank) FROM table_22838521_3",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_31 (outcome_of_election VARCHAR, candidate VARCHAR, number_of_votes VARCHAR)",
"role": "system"
},
{
"content": "What is the outcome of the election with edward mahama as a candidate and 73,494 votes?",
"role": "user"
},
{
"content": "SELECT outcome_of_election FROM table_name_31 WHERE candidate = \"edward mahama\" AND number_of_votes = \"73,494\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (survey VARCHAR, title VARCHAR)",
"role": "system"
},
{
"content": "What survey has the Ehsas Jdeed title?",
"role": "user"
},
{
"content": "SELECT survey FROM table_name_57 WHERE title = \"ehsas jdeed\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1425948_1 (number_in_fleet INTEGER, chassis_manufacturer VARCHAR, fleet_numbers VARCHAR)",
"role": "system"
},
{
"content": "what is smallest number in fleet for chassis manufacturer Scania and fleet numbers is 3230?",
"role": "user"
},
{
"content": "SELECT MIN(number_in_fleet) FROM table_1425948_1 WHERE chassis_manufacturer = \"Scania\" AND fleet_numbers = \"3230\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15635768_1 (printer VARCHAR, place_of_issue VARCHAR)",
"role": "system"
},
{
"content": "Who was the printer of Estes Park, Colorado?",
"role": "user"
},
{
"content": "SELECT printer FROM table_15635768_1 WHERE place_of_issue = \"Estes Park, 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_56 (period VARCHAR, matches VARCHAR, country VARCHAR)",
"role": "system"
},
{
"content": "Name the period with matches of 0 0 of portugal",
"role": "user"
},
{
"content": "SELECT period FROM table_name_56 WHERE matches = \"0 0\" AND country = \"portugal\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (lecturers INTEGER, department VARCHAR, full_professors VARCHAR)",
"role": "system"
},
{
"content": "What is the least amount of lecturers in the accounting department with less than 5 full professors?",
"role": "user"
},
{
"content": "SELECT MIN(lecturers) FROM table_name_86 WHERE department = \"accounting\" AND full_professors < 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_34 (name VARCHAR, years_played VARCHAR, date_and_opponent VARCHAR)",
"role": "system"
},
{
"content": "Which Name has a Years Played of 2004–2008, and a Date and Opponent of 2/17/07 vs. purdue?",
"role": "user"
},
{
"content": "SELECT name FROM table_name_34 WHERE years_played = \"2004–2008\" AND date_and_opponent = \"2/17/07 vs. purdue\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (city VARCHAR, founded VARCHAR)",
"role": "system"
},
{
"content": "What city was founded in 1857?",
"role": "user"
},
{
"content": "SELECT city FROM table_name_99 WHERE founded = 1857",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (points_against VARCHAR, played VARCHAR)",
"role": "system"
},
{
"content": "What were the points against in a game that was played correct as of 2009-05-16?",
"role": "user"
},
{
"content": "SELECT points_against FROM table_name_99 WHERE played = \"correct as of 2009-05-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_18621456_22 (player VARCHAR, legs_lost VARCHAR)",
"role": "system"
},
{
"content": "Who is the player with 41 legs lost?",
"role": "user"
},
{
"content": "SELECT player FROM table_18621456_22 WHERE legs_lost = 41",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2263152_1 (version VARCHAR, features VARCHAR, distribution_mechanism VARCHAR)",
"role": "system"
},
{
"content": "If the distribution mechanism is windows nt 4.0 option pack Microsoft office 97 and the features is service release, what is the version?",
"role": "user"
},
{
"content": "SELECT version FROM table_2263152_1 WHERE features = \"Service release\" AND distribution_mechanism = \"Windows NT 4.0 Option Pack Microsoft Office 97\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_26267849_11 (performance_order VARCHAR, artist VARCHAR)",
"role": "system"
},
{
"content": "Name the performance order of the velasco brothers",
"role": "user"
},
{
"content": "SELECT performance_order FROM table_26267849_11 WHERE artist = \"Velasco Brothers\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_21249915_1 (small__100ha_ VARCHAR, medium__500ha_ VARCHAR)",
"role": "system"
},
{
"content": "How many Small catagories are there for the department that has a medium of 17101? ",
"role": "user"
},
{
"content": "SELECT COUNT(small__100ha_) FROM table_21249915_1 WHERE medium__500ha_ = 17101",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (score VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Tell me the score on 22 august 2012",
"role": "user"
},
{
"content": "SELECT score FROM table_name_37 WHERE date = \"22 august 2012\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (position VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What is Van Waiters position?",
"role": "user"
},
{
"content": "SELECT position FROM table_name_84 WHERE player = \"van waiters\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (championship VARCHAR, previous_champion_s_ VARCHAR)",
"role": "system"
},
{
"content": "In which championship had a previous champion of \"defeated Justin Corino in tournament final\"?",
"role": "user"
},
{
"content": "SELECT championship FROM table_name_69 WHERE previous_champion_s_ = \"defeated justin corino in tournament final\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (exaltation VARCHAR, detriment VARCHAR, sign VARCHAR)",
"role": "system"
},
{
"content": "Which exaltation has a detriment of Saturn and Cancer as a sign?",
"role": "user"
},
{
"content": "SELECT exaltation FROM table_name_75 WHERE detriment = \"saturn\" AND sign = \"cancer\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (silver INTEGER, gold VARCHAR, rank VARCHAR)",
"role": "system"
},
{
"content": "What is the most silver medals when the total is more than 2 medals, and with a rank of total, and the number of gold medals is greater than 44?",
"role": "user"
},
{
"content": "SELECT MAX(silver) FROM table_name_78 WHERE \"total\" > 2 AND rank = \"total\" AND gold > 44",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (auckland VARCHAR, sydney VARCHAR, adelaide VARCHAR, melbourne VARCHAR)",
"role": "system"
},
{
"content": "Which Auckland has an Adelaide of no, a Melbourne of yes, and a Sydney of yes?",
"role": "user"
},
{
"content": "SELECT auckland FROM table_name_1 WHERE adelaide = \"no\" AND melbourne = \"yes\" AND sydney = \"yes\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23050383_1 (kei VARCHAR, economic_incentive_regime VARCHAR)",
"role": "system"
},
{
"content": "How many KEI catagories are listed when the economic incentive regime is 2.56? ",
"role": "user"
},
{
"content": "SELECT COUNT(kei) FROM table_23050383_1 WHERE economic_incentive_regime = \"2.56\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (notes VARCHAR, time VARCHAR)",
"role": "system"
},
{
"content": "What are the notes for 6:31.16?",
"role": "user"
},
{
"content": "SELECT notes FROM table_name_85 WHERE time = \"6:31.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_90 (race VARCHAR, circuit VARCHAR)",
"role": "system"
},
{
"content": "What race contains the Monaco circuit?",
"role": "user"
},
{
"content": "SELECT race FROM table_name_90 WHERE circuit = \"monaco\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (country VARCHAR, play VARCHAR)",
"role": "system"
},
{
"content": "What country had the play Medea?",
"role": "user"
},
{
"content": "SELECT country FROM table_name_5 WHERE play = \"medea\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (commissioned VARCHAR, builder VARCHAR)",
"role": "system"
},
{
"content": "when was it commissioned when the destroyer was built by scotts, greenock?",
"role": "user"
},
{
"content": "SELECT commissioned FROM table_name_88 WHERE builder = \"scotts, greenock\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (away_team VARCHAR, home_team VARCHAR)",
"role": "system"
},
{
"content": "Name the away team for essendon",
"role": "user"
},
{
"content": "SELECT away_team FROM table_name_69 WHERE home_team = \"essendon\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (year INTEGER, points INTEGER)",
"role": "system"
},
{
"content": "What is the earliest year when the points were more than 0?",
"role": "user"
},
{
"content": "SELECT MIN(year) FROM table_name_38 WHERE points > 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_287159_1 (family VARCHAR, genitive VARCHAR)",
"role": "system"
},
{
"content": "What is the family of the constellation that has lyncis /ˈlɪnsɨs/ as genitive?",
"role": "user"
},
{
"content": "SELECT family FROM table_287159_1 WHERE genitive = \"Lyncis /ˈlɪnsɨs/\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (draw VARCHAR, goal_diff VARCHAR, loss VARCHAR, point VARCHAR)",
"role": "system"
},
{
"content": "How many total draws were there with a less than 8 loss, more than 30 points, and a goal diff larger than 26?",
"role": "user"
},
{
"content": "SELECT COUNT(draw) FROM table_name_21 WHERE loss < 8 AND point > 30 AND goal_diff > 26",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_55 (matches VARCHAR, rank VARCHAR, years VARCHAR)",
"role": "system"
},
{
"content": "Can you tell me the Matches that has the Rank smaller than 6, and the Years of 1943-62?",
"role": "user"
},
{
"content": "SELECT matches FROM table_name_55 WHERE rank < 6 AND years = \"1943-62\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (national_university_of_ireland VARCHAR, industrial_and_commercial_panel VARCHAR, cultural_and_educational_panel VARCHAR)",
"role": "system"
},
{
"content": "What is the total for National University of Ireland with an industrial and commercial panel less than 1, and the cultural and educational panel bigger than 0?",
"role": "user"
},
{
"content": "SELECT COUNT(national_university_of_ireland) FROM table_name_17 WHERE industrial_and_commercial_panel < 1 AND cultural_and_educational_panel > 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_88 (born_in_other_eu_state__millions_ INTEGER, born_in_a_non_eu_state__millions_ VARCHAR, total_population__millions_ VARCHAR)",
"role": "system"
},
{
"content": "What was the average number of people born in other EU states in millions, when the number of people born in a non EU state in millions was 31.368, and when the total population in millions was higher than 501.098?",
"role": "user"
},
{
"content": "SELECT AVG(born_in_other_eu_state__millions_) FROM table_name_88 WHERE born_in_a_non_eu_state__millions_ = 31.368 AND total_population__millions_ > 501.098",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (record_label VARCHAR, album VARCHAR)",
"role": "system"
},
{
"content": "Which Record label has an Album of tera roop?",
"role": "user"
},
{
"content": "SELECT record_label FROM table_name_84 WHERE album = \"tera roop\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (pos VARCHAR, asts INTEGER)",
"role": "system"
},
{
"content": "What's the pos for an asts less than 117?",
"role": "user"
},
{
"content": "SELECT pos FROM table_name_52 WHERE asts < 117",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_89 (year INTEGER, earnings___$__ VARCHAR, tournaments_played VARCHAR, cuts_made VARCHAR)",
"role": "system"
},
{
"content": "what is the year when tournaments played is less than 2, cuts made is 1 and earnings ($) is less than 10,547?",
"role": "user"
},
{
"content": "SELECT SUM(year) FROM table_name_89 WHERE tournaments_played < 2 AND cuts_made = 1 AND earnings___$__ < 10 OFFSET 547",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (team VARCHAR, high_assists VARCHAR)",
"role": "system"
},
{
"content": "What is the team when alvin williams (6) has the high assists?",
"role": "user"
},
{
"content": "SELECT team FROM table_name_29 WHERE high_assists = \"alvin williams (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_59 (loss VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "Who loss the game when the record was 3-10?",
"role": "user"
},
{
"content": "SELECT loss FROM table_name_59 WHERE record = \"3-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_39 (date VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "When has a Score of 6–3, 6–4?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_39 WHERE score = \"6–3, 6–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_18 (mintage VARCHAR, theme VARCHAR)",
"role": "system"
},
{
"content": "What's the mintage when the theme was year of the rabbit?",
"role": "user"
},
{
"content": "SELECT mintage FROM table_name_18 WHERE theme = \"year of the rabbit\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (episode__number VARCHAR, original_airdate VARCHAR)",
"role": "system"
},
{
"content": "What is the episode # of the episode that aired on April 5, 1998?",
"role": "user"
},
{
"content": "SELECT episode__number FROM table_name_23 WHERE original_airdate = \"april 5, 1998\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (sub_parish__sogn_ VARCHAR, year_built VARCHAR, location_of_the_church VARCHAR)",
"role": "system"
},
{
"content": "WHAT IS THE SUB-PARISH WITH A YEAR AFTER 1916, IN ortnevik?",
"role": "user"
},
{
"content": "SELECT sub_parish__sogn_ FROM table_name_41 WHERE year_built > 1916 AND location_of_the_church = \"ortnevik\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (round VARCHAR, position VARCHAR)",
"role": "system"
},
{
"content": "Which Round was F picked?",
"role": "user"
},
{
"content": "SELECT round FROM table_name_5 WHERE position = \"f\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_20597634_3 (dates_administered VARCHAR, scott_mcadams__d_ VARCHAR)",
"role": "system"
},
{
"content": "When 23% scott mcadams (d) what are the dates administered?",
"role": "user"
},
{
"content": "SELECT dates_administered FROM table_20597634_3 WHERE scott_mcadams__d_ = \"23%\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_63 (release_price___usd__ VARCHAR, socket VARCHAR)",
"role": "system"
},
{
"content": "Socket of without quickassist has what release price?",
"role": "user"
},
{
"content": "SELECT release_price___usd__ FROM table_name_63 WHERE socket = \"without quickassist\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_53 (driver VARCHAR, rounds VARCHAR, chassis VARCHAR)",
"role": "system"
},
{
"content": "Who was the driver that had all rounds and a f399 chassis?",
"role": "user"
},
{
"content": "SELECT driver FROM table_name_53 WHERE rounds = \"all\" AND chassis = \"f399\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (lowest_elevation VARCHAR, highest_point VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest elevation value whose highest point is Mont Raimeux?",
"role": "user"
},
{
"content": "SELECT lowest_elevation FROM table_name_62 WHERE highest_point = \"mont raimeux\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (game INTEGER, time VARCHAR)",
"role": "system"
},
{
"content": "What is the number of the game that was played in the time of 2:38?",
"role": "user"
},
{
"content": "SELECT MAX(game) FROM table_name_95 WHERE time = \"2: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_90 (scale VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "What is URA Index scale?",
"role": "user"
},
{
"content": "SELECT scale FROM table_name_90 WHERE name = \"ura index\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (attendance INTEGER, week VARCHAR)",
"role": "system"
},
{
"content": "What is the smallest attendance in week 5?",
"role": "user"
},
{
"content": "SELECT MIN(attendance) FROM table_name_18 WHERE week = 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_65 (notes VARCHAR, rank VARCHAR, time VARCHAR)",
"role": "system"
},
{
"content": "What are the notes when the time was 7:42.92 and the rank is more than 1?",
"role": "user"
},
{
"content": "SELECT notes FROM table_name_65 WHERE rank > 1 AND time = \"7:42.92\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (time VARCHAR, jockey VARCHAR)",
"role": "system"
},
{
"content": "What was the race time of the horse with jockey Ramon Dominguez?",
"role": "user"
},
{
"content": "SELECT time FROM table_name_73 WHERE jockey = \"ramon dominguez\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (driver VARCHAR, races INTEGER)",
"role": "system"
},
{
"content": "Name the Driver that has Races greater than 16?",
"role": "user"
},
{
"content": "SELECT driver FROM table_name_16 WHERE races > 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_24481478_1 (kickoff VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What time did the game start on saturday, april 20?",
"role": "user"
},
{
"content": "SELECT kickoff FROM table_24481478_1 WHERE date = \"Saturday, April 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_1965650_9 (nationality VARCHAR, college_junior_club_team VARCHAR)",
"role": "system"
},
{
"content": "When michigan technological university (ncaa) is the college, junior, or club team what is the nationality?",
"role": "user"
},
{
"content": "SELECT nationality FROM table_1965650_9 WHERE college_junior_club_team = \"Michigan Technological University (NCAA)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (builder VARCHAR, country VARCHAR, location VARCHAR)",
"role": "system"
},
{
"content": "What is Builder, when Country is \"United Kingdom\", and when Location is \"Chatham, Kent\"?",
"role": "user"
},
{
"content": "SELECT builder FROM table_name_35 WHERE country = \"united kingdom\" AND location = \"chatham, kent\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query 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_1 (university VARCHAR, soccer_stadium VARCHAR)",
"role": "system"
},
{
"content": "Which University's soccer stadium in named Moncton Stadium?",
"role": "user"
},
{
"content": "SELECT university FROM table_27369069_1 WHERE soccer_stadium = \"Moncton Stadium\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_13 (record VARCHAR, loss VARCHAR)",
"role": "system"
},
{
"content": "What was the record at the game that had a loss of Spillner (1-8)?",
"role": "user"
},
{
"content": "SELECT record FROM table_name_13 WHERE loss = \"spillner (1-8)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_63 (date VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What date had a game with a score of 5-4?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_63 WHERE score = \"5-4\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_27 (location VARCHAR)",
"role": "system"
},
{
"content": "What's the location when the notes area is notes?",
"role": "user"
},
{
"content": "SELECT location FROM table_name_27 WHERE \"notes\" = \"notes\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (set_1 VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What is the Set 1 with a Score with 3–2?",
"role": "user"
},
{
"content": "SELECT set_1 FROM table_name_96 WHERE score = \"3–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_22705586_1 (nationality VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "Name the nationality for francesco guglielmi",
"role": "user"
},
{
"content": "SELECT nationality FROM table_22705586_1 WHERE name = \"Francesco Guglielmi\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (fat32 VARCHAR, ntfs VARCHAR)",
"role": "system"
},
{
"content": "Which FAT32 has yes v1.0/v1.1 for NTFS?",
"role": "user"
},
{
"content": "SELECT fat32 FROM table_name_31 WHERE ntfs = \"yes v1.0/v1.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_90 (points INTEGER, places VARCHAR)",
"role": "system"
},
{
"content": "What is the low point total for teams with 81 places?",
"role": "user"
},
{
"content": "SELECT MIN(points) FROM table_name_90 WHERE places = \"81\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_21154679_1 (torque VARCHAR, model VARCHAR)",
"role": "system"
},
{
"content": "What is the s7 4.0 tfsi quattro engine torque?",
"role": "user"
},
{
"content": "SELECT torque FROM table_21154679_1 WHERE model = \"S7 4.0 TFSI quattro\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_39 (to_par VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "Name the to par for gene kunes",
"role": "user"
},
{
"content": "SELECT to_par FROM table_name_39 WHERE player = \"gene kunes\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (qualifying_goals INTEGER, player VARCHAR, finals_goals VARCHAR)",
"role": "system"
},
{
"content": "What is the Average Qualifying Goals for Jack Froggatt where the Final Goals is greater than 0?",
"role": "user"
},
{
"content": "SELECT AVG(qualifying_goals) FROM table_name_3 WHERE player = \"jack froggatt\" AND finals_goals > 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_32 (record VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What record has November 15 as the date?",
"role": "user"
},
{
"content": "SELECT record FROM table_name_32 WHERE date = \"november 15\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_28 (model_no VARCHAR, manufacturer VARCHAR)",
"role": "system"
},
{
"content": "Which model number does bombardier manufacture?",
"role": "user"
},
{
"content": "SELECT model_no FROM table_name_28 WHERE manufacturer = \"bombardier\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15318324_1 (r_z___arcsecond__ VARCHAR, target_datum VARCHAR)",
"role": "system"
},
{
"content": "How many values of r z(arcsecond) are associated with a target datum of Ireland 1965?",
"role": "user"
},
{
"content": "SELECT r_z___arcsecond__ FROM table_15318324_1 WHERE target_datum = \"Ireland 1965\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (laps INTEGER, driver VARCHAR, grid VARCHAR)",
"role": "system"
},
{
"content": "what is the laps when the driver is tony rolt and the grid is less than 10?",
"role": "user"
},
{
"content": "SELECT SUM(laps) FROM table_name_99 WHERE driver = \"tony rolt\" AND grid < 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_27756314_8 (date VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "What is the date for the game with team orlando?",
"role": "user"
},
{
"content": "SELECT date FROM table_27756314_8 WHERE team = \"Orlando\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (season VARCHAR, ufl_cup VARCHAR)",
"role": "system"
},
{
"content": "Which Season has a UFL Cup of tbd?",
"role": "user"
},
{
"content": "SELECT season FROM table_name_52 WHERE ufl_cup = \"tbd\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (team VARCHAR, year VARCHAR, chassis VARCHAR)",
"role": "system"
},
{
"content": "What team has jordan 193 chassis after 1990?",
"role": "user"
},
{
"content": "SELECT team FROM table_name_61 WHERE year > 1990 AND chassis = \"jordan 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_name_74 (to_par VARCHAR, place VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What To par has a Place of t10, and a Score of 67-73=140?",
"role": "user"
},
{
"content": "SELECT to_par FROM table_name_74 WHERE place = \"t10\" AND score = 67 - 73 = 140",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_25 (chinese_name VARCHAR, type VARCHAR, tamil_name VARCHAR)",
"role": "system"
},
{
"content": "What is the Chinese Type Chinese Name of the holiday with a Tamil Name of சந்திர புத்தாண்டு (தினம் 3)?",
"role": "user"
},
{
"content": "SELECT chinese_name FROM table_name_25 WHERE type = \"chinese\" AND tamil_name = \"சந்திர புத்தாண்டு (தினம் 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_94 (score VARCHAR, home VARCHAR)",
"role": "system"
},
{
"content": "What was the score when Montreal was home?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_94 WHERE home = \"montreal\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (round VARCHAR, position VARCHAR)",
"role": "system"
},
{
"content": "Which round has an offensive tackle position?",
"role": "user"
},
{
"content": "SELECT round FROM table_name_7 WHERE position = \"offensive tackle\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_20398823_1 (podiums INTEGER, points VARCHAR)",
"role": "system"
},
{
"content": "Name the least podiums for 49 points",
"role": "user"
},
{
"content": "SELECT MIN(podiums) FROM table_20398823_1 WHERE points = \"49\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_10706879_3 (rd INTEGER, name VARCHAR)",
"role": "system"
},
{
"content": "The race tony bettenhausen 200 has what smallest rd?",
"role": "user"
},
{
"content": "SELECT MIN(rd) FROM table_10706879_3 WHERE name = \"Tony Bettenhausen 200\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (tie_no VARCHAR, home_team VARCHAR)",
"role": "system"
},
{
"content": "What was the tie number when Bournemouth was the home team?",
"role": "user"
},
{
"content": "SELECT tie_no FROM table_name_79 WHERE home_team = \"bournemouth\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_16864968_8 (score VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What was the score on March 21, 2009?",
"role": "user"
},
{
"content": "SELECT score FROM table_16864968_8 WHERE date = \"March 21, 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_24 (years_in_the_acc VARCHAR, founded VARCHAR, location VARCHAR)",
"role": "system"
},
{
"content": "What are the years in the ACC of an institution that was founded before 1885 and is located in College Park, Maryland?",
"role": "user"
},
{
"content": "SELECT years_in_the_acc FROM table_name_24 WHERE founded < 1885 AND location = \"college park, maryland\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_91 (division INTEGER, year VARCHAR, playoffs VARCHAR, open_cup VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest division in the playoffs and did not qualify for the Open Cup in 2002?",
"role": "user"
},
{
"content": "SELECT MIN(division) FROM table_name_91 WHERE playoffs = \"did not qualify\" AND open_cup = \"did not qualify\" AND year = \"2002\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_60 (grid INTEGER, laps VARCHAR)",
"role": "system"
},
{
"content": "What is the grid total for cars that went 17 laps?",
"role": "user"
},
{
"content": "SELECT SUM(grid) FROM table_name_60 WHERE laps = 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 Assets (supplier_company_id VARCHAR); CREATE TABLE Third_Party_Companies (company_id VARCHAR)",
"role": "system"
},
{
"content": "How many assets does each third party company supply? List the count and the company id.",
"role": "user"
},
{
"content": "SELECT COUNT(*), T1.company_id FROM Third_Party_Companies AS T1 JOIN Assets AS T2 ON T1.company_id = T2.supplier_company_id GROUP BY T1.company_id",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25058269_1 (runner_up VARCHAR, season VARCHAR)",
"role": "system"
},
{
"content": "Who is the runner-up for season 2011–12?",
"role": "user"
},
{
"content": "SELECT runner_up FROM table_25058269_1 WHERE season = \"2011–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_87 (place VARCHAR, country VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What is the place of the player from the United States with a score of 74-72=146?",
"role": "user"
},
{
"content": "SELECT place FROM table_name_87 WHERE country = \"united states\" AND score = 74 - 72 = 146",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_96 (fcc_info VARCHAR, frequency_mhz VARCHAR)",
"role": "system"
},
{
"content": "Which FCC info has a Frequency MHz of 100.7?",
"role": "user"
},
{
"content": "SELECT fcc_info FROM table_name_96 WHERE frequency_mhz = 100.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_23835213_2 (undisclosed VARCHAR, wycombe_wanderers VARCHAR)",
"role": "system"
},
{
"content": "What is the undisclosed when Aldertown is Aldershot Town and Wycombe Wanderers is Oxford United?",
"role": "user"
},
{
"content": "SELECT undisclosed FROM table_23835213_2 WHERE \"aldershot_town\" = \"aldershot_town\" AND wycombe_wanderers = \"Oxford United\"",
"role": "assistant"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.