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_11 (class VARCHAR, driver VARCHAR)",
"role": "system"
},
{
"content": "Which class had Stanley Dickens as a driver?",
"role": "user"
},
{
"content": "SELECT class FROM table_name_11 WHERE driver = \"stanley dickens\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_28286776_50 (club_s_ VARCHAR, international_debut VARCHAR)",
"role": "system"
},
{
"content": "When 2010 v australia is the interantional debut what is the club?",
"role": "user"
},
{
"content": "SELECT club_s_ FROM table_28286776_50 WHERE international_debut = \"2010 v Australia\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (school VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "Which school did player Rodney Purvis belong to?",
"role": "user"
},
{
"content": "SELECT school FROM table_name_32 WHERE player = \"rodney purvis\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE election (Name VARCHAR, Representative_ID VARCHAR); CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR)",
"role": "system"
},
{
"content": "List the names of representatives that have not participated in elections listed here.",
"role": "user"
},
{
"content": "SELECT Name FROM representative WHERE NOT Representative_ID IN (SELECT Representative_ID FROM election)",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23453931_5 (game VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "Name the game for 13–17–9",
"role": "user"
},
{
"content": "SELECT game FROM table_23453931_5 WHERE record = \"13–17–9\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_38 (venue VARCHAR, host VARCHAR)",
"role": "system"
},
{
"content": "What is the venue that Saint Joseph's University hosted at?",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_38 WHERE host = \"saint joseph's university\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_17103729_8 (score VARCHAR, game VARCHAR)",
"role": "system"
},
{
"content": "Name the score for game for 25",
"role": "user"
},
{
"content": "SELECT score FROM table_17103729_8 WHERE game = 25",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_57 (dist_from_origin VARCHAR, location__all_in_nagano__ VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "What is the distance from origin in Azumino including Toyoshina IC?",
"role": "user"
},
{
"content": "SELECT dist_from_origin FROM table_name_57 WHERE location__all_in_nagano__ = \"azumino\" AND name = \"toyoshina ic\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE station (LOCATION VARCHAR, number_of_platforms VARCHAR, total_passengers VARCHAR)",
"role": "system"
},
{
"content": "Show all locations that have train stations with at least 15 platforms and train stations with more than 25 total passengers.",
"role": "user"
},
{
"content": "SELECT DISTINCT LOCATION FROM station WHERE number_of_platforms >= 15 AND total_passengers > 25",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_11 (draws VARCHAR, losses VARCHAR, efficiency__percentage VARCHAR)",
"role": "system"
},
{
"content": "what is the number of draws when there are 4 losses and 28.6% efficiency?",
"role": "user"
},
{
"content": "SELECT COUNT(draws) FROM table_name_11 WHERE losses = 4 AND efficiency__percentage = \"28.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_36 (score VARCHAR, tie_no VARCHAR)",
"role": "system"
},
{
"content": "What was the score when there were 7 ties?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_36 WHERE tie_no = \"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_18 (builder VARCHAR, railway VARCHAR)",
"role": "system"
},
{
"content": "Which builder has a railway of Rhodesia Railways?",
"role": "user"
},
{
"content": "SELECT builder FROM table_name_18 WHERE railway = \"rhodesia railways\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (loss VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "What was the loss when the record was 46-59?",
"role": "user"
},
{
"content": "SELECT loss FROM table_name_71 WHERE record = \"46-59\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (_number_of_lanes VARCHAR, street VARCHAR)",
"role": "system"
},
{
"content": "What is the # of lanes on 20th street?",
"role": "user"
},
{
"content": "SELECT _number_of_lanes FROM table_name_43 WHERE street = \"20th street\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_22 (result VARCHAR, category VARCHAR)",
"role": "system"
},
{
"content": "What is the result of the choice tv actor: drama category?",
"role": "user"
},
{
"content": "SELECT result FROM table_name_22 WHERE category = \"choice tv actor: drama\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (game INTEGER, date VARCHAR)",
"role": "system"
},
{
"content": "What was the game on April 25?",
"role": "user"
},
{
"content": "SELECT MIN(game) FROM table_name_88 WHERE date = \"april 25\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_91 (team_2 VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What is the name of team 2 that has 1-2 as the score?",
"role": "user"
},
{
"content": "SELECT team_2 FROM table_name_91 WHERE score = \"1-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 Apartments (room_count INTEGER, apt_id VARCHAR); CREATE TABLE Apartment_Facilities (apt_id VARCHAR, facility_code VARCHAR)",
"role": "system"
},
{
"content": "Show the total number of rooms of all apartments with facility code \"Gym\".",
"role": "user"
},
{
"content": "SELECT SUM(T2.room_count) FROM Apartment_Facilities AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.facility_code = \"Gym\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (date VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "When did indiana play?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_8 WHERE opponent = \"indiana\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (winner VARCHAR)",
"role": "system"
},
{
"content": "Name the 2nd runner-up for yuming lai (賴銘偉)",
"role": "user"
},
{
"content": "SELECT 2 AS nd_runner_up FROM table_name_89 WHERE winner = \"yuming lai (賴銘偉)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (team_1 VARCHAR)",
"role": "system"
},
{
"content": "What is the first round when team 1 was toulouse fc (d1)?",
"role": "user"
},
{
"content": "SELECT 1 AS st_round FROM table_name_44 WHERE team_1 = \"toulouse fc (d1)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (oklahoma VARCHAR, nebraska VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "What is the oklahoma has Bush from Nebraska in year 2004?",
"role": "user"
},
{
"content": "SELECT oklahoma FROM table_name_41 WHERE nebraska = \"bush\" AND year = \"2004\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_83 (round INTEGER, opponent VARCHAR)",
"role": "system"
},
{
"content": "Which Round has an Opponent of jorge magalhaes?",
"role": "user"
},
{
"content": "SELECT AVG(round) FROM table_name_83 WHERE opponent = \"jorge magalhaes\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_30 (attendance INTEGER, week VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest attendance with week 14?",
"role": "user"
},
{
"content": "SELECT MIN(attendance) FROM table_name_30 WHERE week = 14",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_44 (game INTEGER, attendance INTEGER)",
"role": "system"
},
{
"content": "Which is the most recent game with an attendance larger than 65,042?",
"role": "user"
},
{
"content": "SELECT MAX(game) FROM table_name_44 WHERE attendance > 65 OFFSET 042",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_12496904_1 (_2012 VARCHAR, population_august_15 VARCHAR, sector VARCHAR)",
"role": "system"
},
{
"content": "For the sector of Gatunda how many entires are show for the August 15, 2012 population?",
"role": "user"
},
{
"content": "SELECT COUNT(population_august_15), _2012 FROM table_12496904_1 WHERE sector = \"Gatunda\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (chest VARCHAR, supplier VARCHAR)",
"role": "system"
},
{
"content": "Which Chest is Supplied by Gilbert?",
"role": "user"
},
{
"content": "SELECT chest FROM table_name_28 WHERE supplier = \"gilbert\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE routes (dst_apid VARCHAR); CREATE TABLE airports (name VARCHAR, apid VARCHAR, country VARCHAR)",
"role": "system"
},
{
"content": "Find the busiest destination airport that runs most number of routes in China.",
"role": "user"
},
{
"content": "SELECT T1.name FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.dst_apid WHERE T1.country = 'China' GROUP BY T1.name 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_70 (date VARCHAR, loco_nos VARCHAR)",
"role": "system"
},
{
"content": "On what date was the number of locomotives 421-6?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_70 WHERE loco_nos = \"421-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_11677691_9 (hometown VARCHAR, college VARCHAR)",
"role": "system"
},
{
"content": "Which hometown has the college Louisiana State?",
"role": "user"
},
{
"content": "SELECT hometown FROM table_11677691_9 WHERE college = \"Louisiana State\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (year_opened VARCHAR, ride VARCHAR, rating VARCHAR)",
"role": "system"
},
{
"content": "What year has the ride flight deck and a rating of less than 5?",
"role": "user"
},
{
"content": "SELECT COUNT(year_opened) FROM table_name_47 WHERE ride = \"flight deck\" AND rating < 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_71 (home_team VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "What was the home teams score at Junction Oval?",
"role": "user"
},
{
"content": "SELECT home_team AS score FROM table_name_71 WHERE venue = \"junction oval\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_78 (e_coli VARCHAR, human VARCHAR)",
"role": "system"
},
{
"content": "Which E. coli has a human value of HNEIL1?",
"role": "user"
},
{
"content": "SELECT e_coli FROM table_name_78 WHERE human = \"hneil1\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (award_description_s_ VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "List the Award Descriptions for the year of 1989.",
"role": "user"
},
{
"content": "SELECT award_description_s_ FROM table_name_17 WHERE year = 1989",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (opponent VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Which opponent did they play against on April 16?",
"role": "user"
},
{
"content": "SELECT opponent FROM table_name_79 WHERE date = \"april 16\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_28 (date VARCHAR, home VARCHAR)",
"role": "system"
},
{
"content": "What was the date of the Capitals game when Columbus was the home team?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_28 WHERE home = \"columbus\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_70 (status VARCHAR, opposing_teams VARCHAR)",
"role": "system"
},
{
"content": "What is the status of the Wales opposing team?",
"role": "user"
},
{
"content": "SELECT status FROM table_name_70 WHERE opposing_teams = \"wales\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_71 (crowd INTEGER, venue VARCHAR)",
"role": "system"
},
{
"content": "How many people attended the game at VFL Park?",
"role": "user"
},
{
"content": "SELECT SUM(crowd) FROM table_name_71 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_21 (player VARCHAR, year_s__won VARCHAR)",
"role": "system"
},
{
"content": "Which player won in 1993?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_21 WHERE year_s__won = \"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_41 (d_42 VARCHAR, r_51 VARCHAR)",
"role": "system"
},
{
"content": "I want the D 42 with R 51 of r 11",
"role": "user"
},
{
"content": "SELECT d_42 FROM table_name_41 WHERE r_51 = \"r 11\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_3 (away_team VARCHAR, crowd VARCHAR)",
"role": "system"
},
{
"content": "Name the Away team score which has an Away team of st kilda, and a Crowd of 8157?",
"role": "user"
},
{
"content": "SELECT away_team AS score FROM table_name_3 WHERE away_team = \"st kilda\" AND crowd = 8157",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (country VARCHAR, population_density__per_km²_ VARCHAR)",
"role": "system"
},
{
"content": "Which country has a population density of 50.3?",
"role": "user"
},
{
"content": "SELECT country FROM table_name_46 WHERE population_density__per_km²_ = \"50.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_2522473_1 (home_city VARCHAR, home_ground VARCHAR)",
"role": "system"
},
{
"content": "What Home city has the home ground Klepp stadion? ",
"role": "user"
},
{
"content": "SELECT home_city FROM table_2522473_1 WHERE home_ground = \"Klepp Stadion\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (laps VARCHAR, grid VARCHAR)",
"role": "system"
},
{
"content": "Which laps has a grid of 8?",
"role": "user"
},
{
"content": "SELECT laps FROM table_name_25 WHERE grid = \"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_26041144_11 (matches INTEGER)",
"role": "system"
},
{
"content": "What is the lowest number of matches for a record holder?",
"role": "user"
},
{
"content": "SELECT MIN(matches) FROM table_26041144_11",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_86 (money___ INTEGER, score VARCHAR)",
"role": "system"
},
{
"content": "How much money has 76-70-68-73=287 as a score?",
"role": "user"
},
{
"content": "SELECT SUM(money___) AS $__ FROM table_name_86 WHERE score = 76 - 70 - 68 - 73 = 287",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (club VARCHAR, played VARCHAR, lost VARCHAR)",
"role": "system"
},
{
"content": "What club has a played number of 19, and the lost of 14?",
"role": "user"
},
{
"content": "SELECT club FROM table_name_93 WHERE played = \"19\" AND lost = \"14\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_13 (simplified VARCHAR, density VARCHAR)",
"role": "system"
},
{
"content": "What shows for simplified when the density is 52?",
"role": "user"
},
{
"content": "SELECT simplified FROM table_name_13 WHERE density = \"52\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2562572_11 (largest_ethnic_group__2002_ VARCHAR, type VARCHAR)",
"role": "system"
},
{
"content": "What is the ethnic majority in the only town?",
"role": "user"
},
{
"content": "SELECT largest_ethnic_group__2002_ FROM table_2562572_11 WHERE type = \"town\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (crowd VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "How many people have attended victoria park?",
"role": "user"
},
{
"content": "SELECT COUNT(crowd) FROM table_name_62 WHERE venue = \"victoria 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_2009095_2 (year INTEGER, opponents VARCHAR)",
"role": "system"
},
{
"content": "Name the least year for evonne goolagong helen gourlay",
"role": "user"
},
{
"content": "SELECT MIN(year) FROM table_2009095_2 WHERE opponents = \"Evonne Goolagong Helen Gourlay\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (points INTEGER, games VARCHAR, tied VARCHAR, goals_for VARCHAR)",
"role": "system"
},
{
"content": "What is the highest number of points scored when Acadie-Bathurst had 4 tied games, less than 257 goals, and over 72 games played?",
"role": "user"
},
{
"content": "SELECT MAX(points) FROM table_name_10 WHERE tied = \"4\" AND goals_for < 257 AND games > 72",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (rank_by_average INTEGER, competition_finish VARCHAR, number_of_dances VARCHAR)",
"role": "system"
},
{
"content": "Name the least rank by average for number of dances less than 9 and competition finish of 5",
"role": "user"
},
{
"content": "SELECT MIN(rank_by_average) FROM table_name_62 WHERE competition_finish = 5 AND number_of_dances < 9",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_70 (round VARCHAR, nationality VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What is the round of Jimmy Drolet from Canada?",
"role": "user"
},
{
"content": "SELECT round FROM table_name_70 WHERE nationality = \"canada\" AND player = \"jimmy drolet\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_72 (to_par VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What is the to par that has bill collins as the player?",
"role": "user"
},
{
"content": "SELECT to_par FROM table_name_72 WHERE player = \"bill collins\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (_percentage_hindu VARCHAR, area VARCHAR)",
"role": "system"
},
{
"content": "What percentage of Azad Kashmir is Hindu?",
"role": "user"
},
{
"content": "SELECT _percentage_hindu FROM table_name_74 WHERE area = \"azad kashmir\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25214321_1 (season INTEGER, winner VARCHAR)",
"role": "system"
},
{
"content": "In what season was the winner Dado Dolabella?",
"role": "user"
},
{
"content": "SELECT MAX(season) FROM table_25214321_1 WHERE winner = \"Dado Dolabella\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (runner_s__up VARCHAR, winning_score VARCHAR)",
"role": "system"
},
{
"content": "Which Runner(s)-up has a Winning score of –9 (71-68-72-68=279)?",
"role": "user"
},
{
"content": "SELECT runner_s__up FROM table_name_71 WHERE winning_score = –9(71 - 68 - 72 - 68 = 279)",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_97 (vs_protoss VARCHAR, vs_terran VARCHAR)",
"role": "system"
},
{
"content": "What is the score vs. Protoss when the score vs. Terran is 10 wins?",
"role": "user"
},
{
"content": "SELECT vs_protoss FROM table_name_97 WHERE vs_terran = \"10 wins\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18894744_5 (game VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Name the game for june 7",
"role": "user"
},
{
"content": "SELECT game FROM table_18894744_5 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_19 (away_team VARCHAR, home_team VARCHAR)",
"role": "system"
},
{
"content": "Who was the away team when Lincoln City was the home team?",
"role": "user"
},
{
"content": "SELECT away_team FROM table_name_19 WHERE home_team = \"lincoln city\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (built VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "When was Blackburn Point Bridge built?",
"role": "user"
},
{
"content": "SELECT built FROM table_name_55 WHERE name = \"blackburn point bridge\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (points INTEGER, goals_for VARCHAR, draws VARCHAR, wins VARCHAR)",
"role": "system"
},
{
"content": "What is the highest points of the club with less than 9 draws, 11 wins, and more than 40 goals?",
"role": "user"
},
{
"content": "SELECT MAX(points) FROM table_name_28 WHERE draws < 9 AND wins = 11 AND goals_for > 40",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (school_club_team VARCHAR, nationality VARCHAR, position VARCHAR)",
"role": "system"
},
{
"content": "Tell me the School/Club team of the player from the United States that play'de guard?",
"role": "user"
},
{
"content": "SELECT school_club_team FROM table_name_53 WHERE nationality = \"united states\" AND position = \"guard\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (residence VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "Show the Residence whose Name is rich gordon?",
"role": "user"
},
{
"content": "SELECT residence FROM table_name_60 WHERE name = \"rich gordon\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE TV_Channel (LANGUAGE VARCHAR)",
"role": "system"
},
{
"content": "How many TV Channel using language English?",
"role": "user"
},
{
"content": "SELECT COUNT(*) FROM TV_Channel WHERE LANGUAGE = \"English\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_24697604_1 (university VARCHAR, year_founded VARCHAR)",
"role": "system"
},
{
"content": "What university was founded in 1898?",
"role": "user"
},
{
"content": "SELECT university FROM table_24697604_1 WHERE year_founded = 1898",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_17480471_3 (battle_of_the_planets VARCHAR, ova__harmony_gold_dub_ VARCHAR)",
"role": "system"
},
{
"content": "Which battle of the planets where ova (harmony gold dub) is solaris?",
"role": "user"
},
{
"content": "SELECT battle_of_the_planets FROM table_17480471_3 WHERE ova__harmony_gold_dub_ = \"Solaris\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1610496_3 (gdp_adjusted__$_billions_ VARCHAR, gdp_nominal__$_billions_ VARCHAR)",
"role": "system"
},
{
"content": "What is the adjusted GDP when the nominal GDP is 8.43 (in billions)?",
"role": "user"
},
{
"content": "SELECT gdp_adjusted__$_billions_ FROM table_1610496_3 WHERE gdp_nominal__$_billions_ = \"8.43\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (birth VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "When was anne of lorraine born?",
"role": "user"
},
{
"content": "SELECT birth FROM table_name_91 WHERE name = \"anne of lorraine\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (estimated_value VARCHAR, first_appearance VARCHAR)",
"role": "system"
},
{
"content": "What is Action Comics #1's estimated value?",
"role": "user"
},
{
"content": "SELECT estimated_value FROM table_name_79 WHERE first_appearance = \"action comics #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_173475_1 (title VARCHAR, release VARCHAR)",
"role": "system"
},
{
"content": "What titles were released in 2006?",
"role": "user"
},
{
"content": "SELECT title FROM table_173475_1 WHERE release = 2006",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Financial_transactions (account_id VARCHAR)",
"role": "system"
},
{
"content": "How many transaction does each account have? Show the number and account id.",
"role": "user"
},
{
"content": "SELECT COUNT(*), account_id FROM Financial_transactions",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11677100_3 (position VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What position does Kerry Wood play in?",
"role": "user"
},
{
"content": "SELECT position FROM table_11677100_3 WHERE player = \"Kerry Wood\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (longitude INTEGER, county VARCHAR, water__sqmi_ VARCHAR)",
"role": "system"
},
{
"content": "what is the highest longitude for county mountrail and the water (sqmi) is less than 0.075?",
"role": "user"
},
{
"content": "SELECT MAX(longitude) FROM table_name_38 WHERE county = \"mountrail\" AND water__sqmi_ < 0.075",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_28925058_1 (race_winner VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Who won the race on August 15?",
"role": "user"
},
{
"content": "SELECT race_winner FROM table_28925058_1 WHERE date = \"August 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_27 (score VARCHAR, leading_scorer VARCHAR)",
"role": "system"
},
{
"content": "What is the score of the game with Manu ginóbili (44) as the leading scorer?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_27 WHERE leading_scorer = \"manu ginóbili (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_17326036_6 (location_attendance VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What was the attendance and location on December 15?",
"role": "user"
},
{
"content": "SELECT location_attendance FROM table_17326036_6 WHERE date = \"December 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_13050822_2 (time VARCHAR, stage VARCHAR)",
"role": "system"
},
{
"content": "What is the time for stage ss18?",
"role": "user"
},
{
"content": "SELECT time FROM table_13050822_2 WHERE stage = \"SS18\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE volume (Weeks_on_Top INTEGER, Artist_ID VARCHAR); CREATE TABLE artist (Artist_ID VARCHAR, age VARCHAR)",
"role": "system"
},
{
"content": "What is the average weeks on top of volumes associated with the artist aged 25 or younger?",
"role": "user"
},
{
"content": "SELECT AVG(T2.Weeks_on_Top) FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T1.age <= 25",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23259077_1 (outcome VARCHAR, opponent_in_the_final VARCHAR)",
"role": "system"
},
{
"content": "What was the outcome for Newcombe in the matches he played against Jan Kodeš?",
"role": "user"
},
{
"content": "SELECT outcome FROM table_23259077_1 WHERE opponent_in_the_final = \"Jan Kodeš\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (year_born__age_ VARCHAR, position VARCHAR)",
"role": "system"
},
{
"content": "What is the Age of f/c Posiiton?",
"role": "user"
},
{
"content": "SELECT year_born__age_ FROM table_name_85 WHERE position = \"f/c\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_70 (host_team VARCHAR, stadium VARCHAR)",
"role": "system"
},
{
"content": "What is the host team with the stadium Lincoln Financial Field?",
"role": "user"
},
{
"content": "SELECT host_team FROM table_name_70 WHERE stadium = \"lincoln financial field\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_51 (year VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "What year was the venue Landshut?",
"role": "user"
},
{
"content": "SELECT year FROM table_name_51 WHERE venue = \"landshut\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (height__cm_ INTEGER, birthplace VARCHAR)",
"role": "system"
},
{
"content": "Which Height (cm) has a Birthplace of bloomfield hills, michigan?",
"role": "user"
},
{
"content": "SELECT AVG(height__cm_) FROM table_name_52 WHERE birthplace = \"bloomfield hills, michigan\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (first_member VARCHAR, second_member VARCHAR)",
"role": "system"
},
{
"content": "What is 1st Party, when First Member is \"Peter John Locke King\", and when Second Member is \"James Watney\"?",
"role": "user"
},
{
"content": "SELECT 1 AS st_party FROM table_name_18 WHERE first_member = \"peter john locke king\" AND second_member = \"james watney\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_26166836_2 (country VARCHAR, road_race VARCHAR)",
"role": "system"
},
{
"content": "What's the whole range of united states where road race is ottawa marathon",
"role": "user"
},
{
"content": "SELECT COUNT(country) FROM table_26166836_2 WHERE road_race = \"Ottawa Marathon\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (best VARCHAR, team VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "What is the best time from patrick carpentier from the forsythe racing team?",
"role": "user"
},
{
"content": "SELECT best FROM table_name_33 WHERE team = \"forsythe racing\" AND name = \"patrick carpentier\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11253290_2 (rank__night_ INTEGER, viewers__millions_ VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest rank (night) for having viewers (millions) 5.25?",
"role": "user"
},
{
"content": "SELECT MIN(rank__night_) FROM table_11253290_2 WHERE viewers__millions_ = \"5.25\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_180802_3 (sanskrit_word VARCHAR, transcription VARCHAR)",
"role": "system"
},
{
"content": "What is the sanskrit word if the transcription is wan athit?",
"role": "user"
},
{
"content": "SELECT sanskrit_word FROM table_180802_3 WHERE transcription = \"wan athit\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (pick VARCHAR, school VARCHAR, round VARCHAR)",
"role": "system"
},
{
"content": "How many picks did Central State have before round 2?",
"role": "user"
},
{
"content": "SELECT COUNT(pick) FROM table_name_29 WHERE school = \"central state\" AND round < 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_78 (place VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What was the place for the player whose final score was 71-69=140?",
"role": "user"
},
{
"content": "SELECT place FROM table_name_78 WHERE score = 71 - 69 = 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 races (name VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What is the name of the race held most recently?",
"role": "user"
},
{
"content": "SELECT name FROM races ORDER BY date 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_68 (points INTEGER, drawn INTEGER)",
"role": "system"
},
{
"content": "What is the average points when the drawn is less than 0?",
"role": "user"
},
{
"content": "SELECT AVG(points) FROM table_name_68 WHERE drawn < 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_38 (player VARCHAR, place VARCHAR)",
"role": "system"
},
{
"content": "What player has t5 as the place?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_38 WHERE place = \"t5\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (matches INTEGER, average VARCHAR, rank VARCHAR)",
"role": "system"
},
{
"content": "What is the number of matches with an average larger than 6.33, with a rank of 1?",
"role": "user"
},
{
"content": "SELECT SUM(matches) FROM table_name_78 WHERE average > 6.33 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_22 (Id VARCHAR)",
"role": "system"
},
{
"content": "avg passengers in 2012 for 2009 more than 104.5 and 2010 less than 162.6 and 2011 less than 141.8 is what?",
"role": "user"
},
{
"content": "SELECT AVG(2012) FROM table_name_22 WHERE 2009 > 104.5 AND 2010 < 162.6 AND 2011 < 141.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_40 (skip VARCHAR, lead VARCHAR)",
"role": "system"
},
{
"content": "What is the skip when Tony Angiboust was a lead?",
"role": "user"
},
{
"content": "SELECT skip FROM table_name_40 WHERE lead = \"tony angiboust\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (week_3 VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "Name the week 3 for team of mark/jennifer",
"role": "user"
},
{
"content": "SELECT week_3 FROM table_name_99 WHERE team = \"mark/jennifer\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (college VARCHAR, pick__number VARCHAR)",
"role": "system"
},
{
"content": "Which college has 41 picks?",
"role": "user"
},
{
"content": "SELECT college FROM table_name_86 WHERE pick__number = 41",
"role": "assistant"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.