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_18946749_1 (island VARCHAR, peak VARCHAR)",
"role": "system"
},
{
"content": "When mount gauttier is the peak what is the island?",
"role": "user"
},
{
"content": "SELECT island FROM table_18946749_1 WHERE peak = \"Mount Gauttier\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (third VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "Who finished 3rd in Oslo?",
"role": "user"
},
{
"content": "SELECT third FROM table_name_74 WHERE venue = \"oslo\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_16493961_1 (miles__km_ VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Name the miles for june 7",
"role": "user"
},
{
"content": "SELECT miles__km_ FROM table_16493961_1 WHERE date = \"June 7\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_86 (goals VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What were the goals on 3/10/97?",
"role": "user"
},
{
"content": "SELECT goals FROM table_name_86 WHERE date = \"3/10/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_name_31 (player VARCHAR, to_par VARCHAR)",
"role": "system"
},
{
"content": "Which player finished at +4?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_31 WHERE to_par = \"+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_75 (stadium VARCHAR)",
"role": "system"
},
{
"content": "What is the 2007-08 season at Stadio Silvio Piola?",
"role": "user"
},
{
"content": "SELECT 2007 AS _08_season FROM table_name_75 WHERE stadium = \"stadio silvio piola\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_26 (year_introduced INTEGER, memory__gb_ VARCHAR)",
"role": "system"
},
{
"content": "Which Year Introduced has a Memory (GB) of 0.125–2?",
"role": "user"
},
{
"content": "SELECT MAX(year_introduced) FROM table_name_26 WHERE memory__gb_ = \"0.125–2\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_57 (gross_tonnage INTEGER, entered_service VARCHAR)",
"role": "system"
},
{
"content": "Tell me the average gross tonnage for april 1919 entered service",
"role": "user"
},
{
"content": "SELECT AVG(gross_tonnage) FROM table_name_57 WHERE entered_service = \"april 1919\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_12159115_3 (series__number VARCHAR, written_by VARCHAR)",
"role": "system"
},
{
"content": "How many episodes were written only by William N. Fordes?",
"role": "user"
},
{
"content": "SELECT COUNT(series__number) FROM table_12159115_3 WHERE written_by = \"William N. Fordes\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (capacity INTEGER, location VARCHAR)",
"role": "system"
},
{
"content": "Which Capacity has a Location of mogilev?",
"role": "user"
},
{
"content": "SELECT SUM(capacity) FROM table_name_38 WHERE location = \"mogilev\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (runner_s__up VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Who was the runner-up on Jan 19, 1964?",
"role": "user"
},
{
"content": "SELECT runner_s__up FROM table_name_89 WHERE date = \"jan 19, 1964\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (german VARCHAR, hungarian VARCHAR, year VARCHAR, other VARCHAR)",
"role": "system"
},
{
"content": "What is the german total population after 1910 with an other total of 143 and 32 hungarians?",
"role": "user"
},
{
"content": "SELECT german FROM table_name_59 WHERE year > 1910 AND other = \"143\" AND hungarian = \"32\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_14 (party VARCHAR, took_office VARCHAR)",
"role": "system"
},
{
"content": "What is Party, when Took Office is 1998?",
"role": "user"
},
{
"content": "SELECT party FROM table_name_14 WHERE took_office = \"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 elimination (team VARCHAR)",
"role": "system"
},
{
"content": "What is the number of distinct teams that suffer elimination?",
"role": "user"
},
{
"content": "SELECT COUNT(DISTINCT team) FROM elimination",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2182654_3 (no_in_season VARCHAR, no_in_series VARCHAR)",
"role": "system"
},
{
"content": "What episode number in the season is episode 24 in the series?",
"role": "user"
},
{
"content": "SELECT no_in_season FROM table_2182654_3 WHERE no_in_series = 24",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "I want to know the away team score for vfl park venue",
"role": "user"
},
{
"content": "SELECT away_team AS score FROM table_name_82 WHERE venue = \"vfl 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_name_24 (code INTEGER, density__inh_km²_ VARCHAR, land_area__hectares_ VARCHAR)",
"role": "system"
},
{
"content": "How many codes have a density of 621.68, and a Land area (hectares) larger than 75.28?",
"role": "user"
},
{
"content": "SELECT SUM(code) FROM table_name_24 WHERE density__inh_km²_ = 621.68 AND land_area__hectares_ > 75.28",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_29572583_19 (new_points INTEGER, status VARCHAR)",
"role": "system"
},
{
"content": "What is listed in new points when status is second round lost to xavier malisse?",
"role": "user"
},
{
"content": "SELECT MIN(new_points) FROM table_29572583_19 WHERE status = \"Second round lost to Xavier Malisse\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (score VARCHAR, opponents VARCHAR)",
"role": "system"
},
{
"content": "What is Diego Junqueira Gabriel Trujillo-Soler's opponent's score?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_35 WHERE opponents = \"diego junqueira gabriel trujillo-soler\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE stadium (id VARCHAR, name VARCHAR); CREATE TABLE injury_accident (game_id VARCHAR); CREATE TABLE game (stadium_id VARCHAR, id VARCHAR)",
"role": "system"
},
{
"content": "What are the id and name of the stadium where the most injury accidents happened?",
"role": "user"
},
{
"content": "SELECT T1.id, T1.name FROM stadium AS T1 JOIN game AS T2 ON T1.id = T2.stadium_id JOIN injury_accident AS T3 ON T2.id = T3.game_id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 1",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_44 (Id VARCHAR)",
"role": "system"
},
{
"content": "Which tournament in 2013 had a 2010 finish of 1R?",
"role": "user"
},
{
"content": "SELECT 2013 FROM table_name_44 WHERE 2006 = \"a\" AND 2010 = \"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 review (i_id VARCHAR, rank INTEGER); CREATE TABLE item (title VARCHAR, i_id VARCHAR)",
"role": "system"
},
{
"content": "Find the name and id of the good with the highest average rank.",
"role": "user"
},
{
"content": "SELECT T1.title, T1.i_id FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id ORDER BY AVG(T2.rank) DESC LIMIT 1",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_28744929_1 (joined_acc VARCHAR, location VARCHAR)",
"role": "system"
},
{
"content": "when did the institution at chapel hill, North carolina join acc?",
"role": "user"
},
{
"content": "SELECT joined_acc FROM table_28744929_1 WHERE location = \"Chapel Hill, North Carolina\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_8 (position VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "What position is played by the player from the Chicago Cubs?",
"role": "user"
},
{
"content": "SELECT position FROM table_name_8 WHERE team = \"chicago cubs\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22879262_14 (high_rebounds VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "Name the number of high rebounds for l 92–96 (ot)",
"role": "user"
},
{
"content": "SELECT COUNT(high_rebounds) FROM table_22879262_14 WHERE score = \"L 92–96 (OT)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE basketball_match (acc_percent VARCHAR)",
"role": "system"
},
{
"content": "What is the highest acc percent score in the competition?",
"role": "user"
},
{
"content": "SELECT acc_percent FROM basketball_match ORDER BY acc_percent DESC LIMIT 1",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_174266_6 (two_years INTEGER, unknown INTEGER)",
"role": "system"
},
{
"content": "If unknown is larger than 1.0, what is the maximum two year amount?",
"role": "user"
},
{
"content": "SELECT MAX(two_years) FROM table_174266_6 WHERE unknown > 1.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_26555737_1 (english_title VARCHAR, arabic_title VARCHAR)",
"role": "system"
},
{
"content": "When ملح هذا البحر is the arabic title what is the english title?",
"role": "user"
},
{
"content": "SELECT english_title FROM table_26555737_1 WHERE arabic_title = \"ملح هذا البحر\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE company (headquarters VARCHAR, main_industry VARCHAR)",
"role": "system"
},
{
"content": "Show headquarters with at least two companies in the banking industry.",
"role": "user"
},
{
"content": "SELECT headquarters FROM company WHERE main_industry = 'Banking' GROUP BY headquarters 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_9 (relative_height__m_ VARCHAR, country VARCHAR, parent VARCHAR)",
"role": "system"
},
{
"content": "What is the relative height of Scotland with Ben Vorlich as parent?",
"role": "user"
},
{
"content": "SELECT COUNT(relative_height__m_) FROM table_name_9 WHERE country = \"scotland\" AND parent = \"ben vorlich\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_26 (team_classification VARCHAR, stage VARCHAR, points_classification VARCHAR, winner VARCHAR)",
"role": "system"
},
{
"content": "What team classification has alejandro valverde as points classification, with alejandro valverde as the winner, with 3 as the stage?",
"role": "user"
},
{
"content": "SELECT team_classification FROM table_name_26 WHERE points_classification = \"alejandro valverde\" AND winner = \"alejandro valverde\" AND stage = \"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_65 (attendance VARCHAR, tie_no VARCHAR)",
"role": "system"
},
{
"content": "How many attended the game when the score was tie at 4?",
"role": "user"
},
{
"content": "SELECT attendance FROM table_name_65 WHERE tie_no = \"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 (opponent VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "Who is the opponent when the record is 17-19-4?",
"role": "user"
},
{
"content": "SELECT opponent FROM table_name_27 WHERE record = \"17-19-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_71 (method VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "I want to know the method for opponent of jerry bohlander",
"role": "user"
},
{
"content": "SELECT method FROM table_name_71 WHERE opponent = \"jerry bohlander\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (attendance INTEGER, scorers VARCHAR)",
"role": "system"
},
{
"content": "Can you tell me the average Attendance that has the Scorers of steven, johnston, walters, mccoist, i.ferguson?",
"role": "user"
},
{
"content": "SELECT AVG(attendance) FROM table_name_10 WHERE scorers = \"steven, johnston, walters, mccoist, i.ferguson\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_29281529_2 (iron_chef VARCHAR, challenger VARCHAR)",
"role": "system"
},
{
"content": "Who was the iron chef when herb Faust was the challenger?",
"role": "user"
},
{
"content": "SELECT iron_chef FROM table_29281529_2 WHERE challenger = \"Herb Faust\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (theme VARCHAR, days VARCHAR, series VARCHAR)",
"role": "system"
},
{
"content": "What's the theme for a series of season 3 with smaller than 148 days?",
"role": "user"
},
{
"content": "SELECT theme FROM table_name_6 WHERE days < 148 AND series = \"season 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_71 (power__horsepower_ INTEGER, year_built INTEGER)",
"role": "system"
},
{
"content": "What is the power of the unit built after 1995?",
"role": "user"
},
{
"content": "SELECT SUM(power__horsepower_) FROM table_name_71 WHERE year_built > 1995",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (play_by_play VARCHAR, studio_host VARCHAR)",
"role": "system"
},
{
"content": "Who is the play by play commentator for the game that has Alan Massengale as Studio Host?",
"role": "user"
},
{
"content": "SELECT play_by_play FROM table_name_17 WHERE studio_host = \"alan massengale\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE airport (Airport_ID VARCHAR, Airport_Name VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID VARCHAR, Airport_ID VARCHAR)",
"role": "system"
},
{
"content": "Show the names of aircrafts that are associated with both an airport named \"London Heathrow\" and an airport named \"London Gatwick\"",
"role": "user"
},
{
"content": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = \"London Heathrow\" INTERSECT SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = \"London Gatwick\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (purse VARCHAR, trainer VARCHAR)",
"role": "system"
},
{
"content": "What was the purse when the trainer was Aidan O'Brien?",
"role": "user"
},
{
"content": "SELECT purse FROM table_name_21 WHERE trainer = \"aidan o'brien\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_4 (score VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Name the score for 26 may 1997",
"role": "user"
},
{
"content": "SELECT score FROM table_name_4 WHERE date = \"26 may 1997\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22128871_1 (english_title VARCHAR, result VARCHAR)",
"role": "system"
},
{
"content": "What is every English title for the result of nominee?",
"role": "user"
},
{
"content": "SELECT english_title FROM table_22128871_1 WHERE result = \"Nominee\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (crowd INTEGER, venue VARCHAR)",
"role": "system"
},
{
"content": "What is the average crowd size for princes park?",
"role": "user"
},
{
"content": "SELECT AVG(crowd) FROM table_name_97 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_name_43 (laps INTEGER, grid VARCHAR, driver VARCHAR)",
"role": "system"
},
{
"content": "How many laps did Jos Verstappen do on Grid 2?",
"role": "user"
},
{
"content": "SELECT SUM(laps) FROM table_name_43 WHERE grid > 2 AND driver = \"jos verstappen\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (rank INTEGER, team VARCHAR, time VARCHAR)",
"role": "system"
},
{
"content": "Team of honda 250cc, and a Time of 31’ 03.093 has what lowest rank?",
"role": "user"
},
{
"content": "SELECT MIN(rank) FROM table_name_74 WHERE team = \"honda 250cc\" AND time = \"31’ 03.093\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_28137918_5 (religion VARCHAR, growth_rate VARCHAR)",
"role": "system"
},
{
"content": "Name the religion that has a growth rate of 1.56%",
"role": "user"
},
{
"content": "SELECT religion FROM table_28137918_5 WHERE growth_rate = \"1.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_33 (Id VARCHAR)",
"role": "system"
},
{
"content": "Which 2012 has a 2009 smaller than 3.38?",
"role": "user"
},
{
"content": "SELECT AVG(2012) FROM table_name_33 WHERE 2009 < 3.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_26842217_10 (time VARCHAR, visiting_team VARCHAR)",
"role": "system"
},
{
"content": "Name the time for #1 alabama",
"role": "user"
},
{
"content": "SELECT time FROM table_26842217_10 WHERE visiting_team = \"#1 Alabama\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, phone_number VARCHAR, customer_id VARCHAR)",
"role": "system"
},
{
"content": "Show the unique first names, last names, and phone numbers for all customers with any account.",
"role": "user"
},
{
"content": "SELECT DISTINCT T1.customer_first_name, T1.customer_last_name, T1.phone_number FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id = T2.customer_id",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25173505_13 (special_edition VARCHAR, english_version VARCHAR)",
"role": "system"
},
{
"content": "what is the special edition where the english version is nick stewart?",
"role": "user"
},
{
"content": "SELECT special_edition FROM table_25173505_13 WHERE english_version = \"Nick Stewart\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_11 (automobile_name VARCHAR, manufacturer VARCHAR)",
"role": "system"
},
{
"content": "What is the name of the car manufactured by Letecke Zavody N.P., Jinonice?",
"role": "user"
},
{
"content": "SELECT automobile_name FROM table_name_11 WHERE manufacturer = \"letecke zavody n.p., jinonice\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (country VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What is Country, when Player is \"Dow Finsterwald\"?",
"role": "user"
},
{
"content": "SELECT country FROM table_name_54 WHERE player = \"dow finsterwald\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_16295365_1 (record VARCHAR, school VARCHAR)",
"role": "system"
},
{
"content": "What was the overall record of UMBC?",
"role": "user"
},
{
"content": "SELECT record FROM table_16295365_1 WHERE school = \"UMBC\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (company VARCHAR, built VARCHAR, ship VARCHAR)",
"role": "system"
},
{
"content": "What company built the ship named excellent in 1998?",
"role": "user"
},
{
"content": "SELECT company FROM table_name_59 WHERE built = 1998 AND ship = \"excellent\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Tourist_Attractions (Name VARCHAR, Location_ID VARCHAR, How_to_Get_There VARCHAR); CREATE TABLE Locations (Location_ID VARCHAR, Address VARCHAR)",
"role": "system"
},
{
"content": "What are the names of tourist attractions that can be reached by bus or is at address 254 Ottilie Junction?",
"role": "user"
},
{
"content": "SELECT T2.Name FROM Locations AS T1 JOIN Tourist_Attractions AS T2 ON T1.Location_ID = T2.Location_ID WHERE T1.Address = \"254 Ottilie Junction\" OR T2.How_to_Get_There = \"bus\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1342338_5 (candidates VARCHAR, incumbent VARCHAR)",
"role": "system"
},
{
"content": "Who ran in the election where Claude Fuller was the incumbent? ",
"role": "user"
},
{
"content": "SELECT candidates FROM table_1342338_5 WHERE incumbent = \"Claude Fuller\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_9 (period VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "In which period did Stanislav Chistov get a penalty?",
"role": "user"
},
{
"content": "SELECT period FROM table_name_9 WHERE player = \"stanislav chistov\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11236195_2 (losingteam VARCHAR, season VARCHAR)",
"role": "system"
},
{
"content": "What was the losing team in the 1993 season?",
"role": "user"
},
{
"content": "SELECT losingteam FROM table_11236195_2 WHERE season = 1993",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_50 (country VARCHAR, lead VARCHAR)",
"role": "system"
},
{
"content": "Which country has a Lead of sarah wazney?",
"role": "user"
},
{
"content": "SELECT country FROM table_name_50 WHERE lead = \"sarah wazney\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (week INTEGER, date VARCHAR)",
"role": "system"
},
{
"content": "What was the week on October 11, 1998?",
"role": "user"
},
{
"content": "SELECT MIN(week) FROM table_name_48 WHERE date = \"october 11, 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_88 (frequency_mhz INTEGER, erp_w VARCHAR)",
"role": "system"
},
{
"content": "Average frequency with ERP W of 62?",
"role": "user"
},
{
"content": "SELECT AVG(frequency_mhz) FROM table_name_88 WHERE erp_w = \"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_33 (worship_leader VARCHAR, lead_supporting_vocal VARCHAR)",
"role": "system"
},
{
"content": "Who was the worship leader that had a lead supporting vocal Marcus Temu?",
"role": "user"
},
{
"content": "SELECT worship_leader FROM table_name_33 WHERE lead_supporting_vocal = \"marcus temu\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (score VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "What was the score of the game against Charlotte?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_42 WHERE team = \"charlotte\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (high_points VARCHAR, location_attendance VARCHAR)",
"role": "system"
},
{
"content": "At Time Warner Cable Arena 12,096, what was the high points?",
"role": "user"
},
{
"content": "SELECT high_points FROM table_name_85 WHERE location_attendance = \"time warner cable arena 12,096\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_71 (females VARCHAR, language VARCHAR)",
"role": "system"
},
{
"content": "What females speak Romanian?",
"role": "user"
},
{
"content": "SELECT females FROM table_name_71 WHERE language = \"romanian\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (years VARCHAR, league VARCHAR)",
"role": "system"
},
{
"content": "The league of 400 (21) has what years listed?",
"role": "user"
},
{
"content": "SELECT years FROM table_name_87 WHERE league = \"400 (21)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_79 (player VARCHAR, draft VARCHAR, round VARCHAR)",
"role": "system"
},
{
"content": "Which player had a draft before 1975 and before round 6?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_79 WHERE draft < 1975 AND round < 6",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_27 (total_votes VARCHAR, members VARCHAR)",
"role": "system"
},
{
"content": "What were Holly Scouler's total votes?",
"role": "user"
},
{
"content": "SELECT total_votes FROM table_name_27 WHERE members = \"holly scouler\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Courses (Id VARCHAR)",
"role": "system"
},
{
"content": "How many courses in total are listed?",
"role": "user"
},
{
"content": "SELECT COUNT(*) FROM Courses",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (name VARCHAR, kanji VARCHAR)",
"role": "system"
},
{
"content": "Which name has a Kanji of 朧?",
"role": "user"
},
{
"content": "SELECT name FROM table_name_77 WHERE kanji = \"朧\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (score VARCHAR, game VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "What is the Score of the game earlier than 69 with a record of 4–56?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_41 WHERE game < 69 AND record = \"4–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_93 (mintage VARCHAR, artist VARCHAR)",
"role": "system"
},
{
"content": "How many coins by Suzanne Duranceau were minted?",
"role": "user"
},
{
"content": "SELECT mintage FROM table_name_93 WHERE artist = \"suzanne duranceau\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_31 (opponent VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Who were the Opponents on December 18, 2005?",
"role": "user"
},
{
"content": "SELECT opponent FROM table_name_31 WHERE date = \"december 18, 2005\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_96 (tie_no VARCHAR, home_team VARCHAR)",
"role": "system"
},
{
"content": "What's the tie number of Chelsea when they were home?",
"role": "user"
},
{
"content": "SELECT tie_no FROM table_name_96 WHERE home_team = \"chelsea\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_13762472_4 (record VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "what's the record with date being december 29",
"role": "user"
},
{
"content": "SELECT record FROM table_13762472_4 WHERE date = \"December 29\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (became_consort VARCHAR, marriage VARCHAR)",
"role": "system"
},
{
"content": "Name the became consort for marriage of 4 april 1721",
"role": "user"
},
{
"content": "SELECT became_consort FROM table_name_92 WHERE marriage = \"4 april 1721\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (event VARCHAR, total VARCHAR)",
"role": "system"
},
{
"content": "Which event had a total of defending champion?",
"role": "user"
},
{
"content": "SELECT event FROM table_name_39 WHERE total = \"defending champion\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25840200_1 (titles VARCHAR, notes VARCHAR)",
"role": "system"
},
{
"content": "What was the title for the Undercard of Stevenson/Bellew?",
"role": "user"
},
{
"content": "SELECT titles FROM table_25840200_1 WHERE notes = \"Undercard of Stevenson/Bellew\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE roller_coaster (Park VARCHAR, Speed VARCHAR)",
"role": "system"
},
{
"content": "Show the park of the roller coaster with the highest speed.",
"role": "user"
},
{
"content": "SELECT Park FROM roller_coaster ORDER BY Speed DESC LIMIT 1",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_29087004_3 (title VARCHAR, written_by VARCHAR)",
"role": "system"
},
{
"content": "What are the titles of episodes written by Eric Trueheart?",
"role": "user"
},
{
"content": "SELECT title FROM table_29087004_3 WHERE written_by = \"Eric Trueheart\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (year VARCHAR)",
"role": "system"
},
{
"content": "What year is the 2004 shake don't stir?",
"role": "user"
},
{
"content": "SELECT year FROM table_name_67 WHERE 2004 = \"shake don't stir\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (total INTEGER, silver INTEGER)",
"role": "system"
},
{
"content": "What is the smallest total for a nation with more than 1 silver?",
"role": "user"
},
{
"content": "SELECT MIN(total) FROM table_name_75 WHERE silver > 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_54 (district VARCHAR, constituency_number VARCHAR)",
"role": "system"
},
{
"content": "What district has 98 constituencies?",
"role": "user"
},
{
"content": "SELECT district FROM table_name_54 WHERE constituency_number = \"98\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18328569_1 (clubs_remaining INTEGER, round VARCHAR)",
"role": "system"
},
{
"content": "How many clubs remain in the fourth round?",
"role": "user"
},
{
"content": "SELECT MIN(clubs_remaining) FROM table_18328569_1 WHERE round = \"Fourth round\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11964047_9 (date VARCHAR, visitor VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": " what's the date where visitor is phoenix suns and record is 31–30",
"role": "user"
},
{
"content": "SELECT date FROM table_11964047_9 WHERE visitor = \"Phoenix Suns\" AND record = \"31–30\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_47 (runs VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "Name the Runs which has Venue of adelaide oval , adelaide?",
"role": "user"
},
{
"content": "SELECT runs FROM table_name_47 WHERE venue = \"adelaide oval , adelaide\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (season VARCHAR, champion VARCHAR)",
"role": "system"
},
{
"content": "What season has the champion of Nicolas Kiesa?",
"role": "user"
},
{
"content": "SELECT season FROM table_name_84 WHERE champion = \"nicolas kiesa\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (skip VARCHAR, lead VARCHAR)",
"role": "system"
},
{
"content": "Who has the role of skip when the lead is Dominik Greindl?",
"role": "user"
},
{
"content": "SELECT skip FROM table_name_69 WHERE lead = \"dominik greindl\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1566852_8 (centerfold_model VARCHAR, pictorials VARCHAR)",
"role": "system"
},
{
"content": "Who was the centerfold model when the issue's pictorial was kimberly bell , bunnies of the new playboy club?",
"role": "user"
},
{
"content": "SELECT centerfold_model FROM table_1566852_8 WHERE pictorials = \"Kimberly Bell , Bunnies of the New Playboy Club\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Companies (Industry VARCHAR)",
"role": "system"
},
{
"content": "Please show each industry and the corresponding number of companies in that industry.",
"role": "user"
},
{
"content": "SELECT Industry, COUNT(*) FROM Companies GROUP BY Industry",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (type VARCHAR, ends VARCHAR)",
"role": "system"
},
{
"content": "What is the type that ends in 2009?",
"role": "user"
},
{
"content": "SELECT type FROM table_name_32 WHERE ends = \"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_81 (home VARCHAR, visitor VARCHAR)",
"role": "system"
},
{
"content": "Name the home with visitor of kings",
"role": "user"
},
{
"content": "SELECT home FROM table_name_81 WHERE visitor = \"kings\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE enroll (stu_num VARCHAR, class_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE student (stu_gpa INTEGER, stu_num VARCHAR)",
"role": "system"
},
{
"content": "What is the average gpa of the students enrolled in the course with code ACCT-211?",
"role": "user"
},
{
"content": "SELECT AVG(T2.stu_gpa) FROM enroll AS T1 JOIN student AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T1.class_code = T3.class_code WHERE T3.crs_code = 'ACCT-211'",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_51 (silver INTEGER, bronze INTEGER)",
"role": "system"
},
{
"content": "What is the smallest number of silver medals for a nation with fewer than 1 bronze?",
"role": "user"
},
{
"content": "SELECT MIN(silver) FROM table_name_51 WHERE bronze < 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_46 (result VARCHAR, week VARCHAR)",
"role": "system"
},
{
"content": "Tell me the result for week of 4",
"role": "user"
},
{
"content": "SELECT result FROM table_name_46 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_name_50 (attendance INTEGER, week VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest attendance for week 2?",
"role": "user"
},
{
"content": "SELECT MIN(attendance) FROM table_name_50 WHERE week = 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_24330803_1 (poles INTEGER, season VARCHAR)",
"role": "system"
},
{
"content": "How many pole positions were there for the 2011 season? ",
"role": "user"
},
{
"content": "SELECT MAX(poles) FROM table_24330803_1 WHERE season = 2011",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_16677738_1 (year INTEGER)",
"role": "system"
},
{
"content": "What is the lowest overall year?",
"role": "user"
},
{
"content": "SELECT MIN(year) FROM table_16677738_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_82 (notes VARCHAR, call_sign VARCHAR)",
"role": "system"
},
{
"content": "What is the Notes of the Frequency with a call sign of CBUE-FM?",
"role": "user"
},
{
"content": "SELECT notes FROM table_name_82 WHERE call_sign = \"cbue-fm\"",
"role": "assistant"
}
] |