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_2216245_2 (wins VARCHAR, winnings VARCHAR)",
"role": "system"
},
{
"content": "How many wins did he have when he had $95,180 in winnings?",
"role": "user"
},
{
"content": "SELECT COUNT(wins) FROM table_2216245_2 WHERE winnings = \"$95,180\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18904831_6 (location VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "When w 73-70 is the score what is the location?",
"role": "user"
},
{
"content": "SELECT location FROM table_18904831_6 WHERE score = \"W 73-70\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_26360571_2 (rebounds VARCHAR, _number VARCHAR)",
"role": "system"
},
{
"content": "List the number of recovers for player #2.",
"role": "user"
},
{
"content": "SELECT rebounds FROM table_26360571_2 WHERE _number = 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_46 (year INTEGER, team VARCHAR)",
"role": "system"
},
{
"content": "Question doesn't make sense since there is no team of pramac d'antin ducati",
"role": "user"
},
{
"content": "SELECT MIN(year) FROM table_name_46 WHERE team = \"pramac d'antin ducati\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (status VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "What is the Status of Mexborough?",
"role": "user"
},
{
"content": "SELECT status FROM table_name_83 WHERE name = \"mexborough\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15001957_1 (womens_doubles VARCHAR, mens_singles VARCHAR)",
"role": "system"
},
{
"content": "How may women doubles winner were there when Philippe Aulner was mens singles winner?",
"role": "user"
},
{
"content": "SELECT COUNT(womens_doubles) FROM table_15001957_1 WHERE mens_singles = \"Philippe Aulner\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (semifinalists VARCHAR, tournament VARCHAR)",
"role": "system"
},
{
"content": "Who was the semifinalist at the tournament in miami?",
"role": "user"
},
{
"content": "SELECT semifinalists FROM table_name_21 WHERE tournament = \"miami\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (year INTEGER, venue VARCHAR, driver VARCHAR)",
"role": "system"
},
{
"content": "What was the most recent race at Kyalami with Keke Rosberg competing?",
"role": "user"
},
{
"content": "SELECT MAX(year) FROM table_name_41 WHERE venue = \"kyalami\" AND driver = \"keke rosberg\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_23 (points INTEGER, tyres VARCHAR, chassis VARCHAR)",
"role": "system"
},
{
"content": "Tell me the average points with tyres of b and chassis of tf109",
"role": "user"
},
{
"content": "SELECT AVG(points) FROM table_name_23 WHERE tyres = \"b\" AND chassis = \"tf109\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_80 (wins INTEGER, losses INTEGER)",
"role": "system"
},
{
"content": "What is the highest number of wins when there are less than 2 losses?",
"role": "user"
},
{
"content": "SELECT MAX(wins) FROM table_name_80 WHERE losses < 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_47 (pick VARCHAR, school_club_team VARCHAR)",
"role": "system"
},
{
"content": "How many picks does Auburn have?",
"role": "user"
},
{
"content": "SELECT COUNT(pick) FROM table_name_47 WHERE school_club_team = \"auburn\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_80 (opponent VARCHAR, loss VARCHAR)",
"role": "system"
},
{
"content": "Name the opponent with loss of sanderson (9-8)",
"role": "user"
},
{
"content": "SELECT opponent FROM table_name_80 WHERE loss = \"sanderson (9-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_24747844_2 (cuts_made INTEGER, player VARCHAR)",
"role": "system"
},
{
"content": "What is the minimum number of cuts made for Hunter Mahan?",
"role": "user"
},
{
"content": "SELECT MIN(cuts_made) FROM table_24747844_2 WHERE player = \"Hunter Mahan\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (money___$__ VARCHAR, place VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What is the Money ($) when the Place is t6, and Player is chris dimarco?",
"role": "user"
},
{
"content": "SELECT money___$__ FROM table_name_40 WHERE place = \"t6\" AND player = \"chris dimarco\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (season VARCHAR, promoted VARCHAR)",
"role": "system"
},
{
"content": "What season was Norwich Union League promoted?",
"role": "user"
},
{
"content": "SELECT season FROM table_name_22 WHERE promoted = \"norwich union league\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (result VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What was the result on October 4, 1993?",
"role": "user"
},
{
"content": "SELECT result FROM table_name_48 WHERE date = \"october 4, 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_14723382_1 (division INTEGER)",
"role": "system"
},
{
"content": "What is the largest numbered?",
"role": "user"
},
{
"content": "SELECT MAX(division) FROM table_14723382_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_20466963_4 (date VARCHAR, presenter VARCHAR)",
"role": "system"
},
{
"content": "What is the date of the episode in which the presenter is Johnny Vaughan?",
"role": "user"
},
{
"content": "SELECT date FROM table_20466963_4 WHERE presenter = \"Johnny Vaughan\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (date VARCHAR, opponents VARCHAR, competition VARCHAR)",
"role": "system"
},
{
"content": "What is the date of the GC competition when the opponents are 1. FC Nuremberg?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_59 WHERE opponents = \"1. fc nuremberg\" AND competition = \"gc\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (venue VARCHAR, result VARCHAR)",
"role": "system"
},
{
"content": "What is the Venue with a Result that is lost?",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_40 WHERE result = \"lost\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (event VARCHAR, sport VARCHAR, games VARCHAR)",
"role": "system"
},
{
"content": "Which wrestling event was at the 2008 Beijing games?",
"role": "user"
},
{
"content": "SELECT event FROM table_name_31 WHERE sport = \"wrestling\" AND games = \"2008 beijing\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_76 (time VARCHAR, speed VARCHAR)",
"role": "system"
},
{
"content": "At 96.76mph speed, what is the Time?",
"role": "user"
},
{
"content": "SELECT time FROM table_name_76 WHERE speed = \"96.76mph\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_13619135_6 (game VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "How many games were played when the record was 26-21?",
"role": "user"
},
{
"content": "SELECT COUNT(game) FROM table_13619135_6 WHERE record = \"26-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_21 (country VARCHAR, film VARCHAR)",
"role": "system"
},
{
"content": "What country is the film hi no tsugi ha rekishi from?",
"role": "user"
},
{
"content": "SELECT country FROM table_name_21 WHERE film = \"hi no tsugi ha rekishi\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (quarterfinals VARCHAR, rank VARCHAR)",
"role": "system"
},
{
"content": "What's the quarterfinals when the rank was bronze?",
"role": "user"
},
{
"content": "SELECT quarterfinals FROM table_name_79 WHERE rank = \"bronze\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (geo_id INTEGER, longitude VARCHAR, water__sqmi_ VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest GEO ID for the longitude of -102.158045 and the water in square miles larger than 0.979?",
"role": "user"
},
{
"content": "SELECT MIN(geo_id) FROM table_name_29 WHERE longitude = -102.158045 AND water__sqmi_ > 0.979",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_61 (time VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "What time did team kawasaki zx10 1000cc have?",
"role": "user"
},
{
"content": "SELECT time FROM table_name_61 WHERE team = \"kawasaki zx10 1000cc\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_27539808_5 (points INTEGER, game VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest number of points for game 32?",
"role": "user"
},
{
"content": "SELECT MIN(points) FROM table_27539808_5 WHERE game = 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 affiliated_with (physician VARCHAR, department VARCHAR, primaryaffiliation VARCHAR)",
"role": "system"
},
{
"content": "List the physicians' employee ids together with their primary affiliation departments' ids.",
"role": "user"
},
{
"content": "SELECT physician, department FROM affiliated_with WHERE primaryaffiliation = 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_73 (date VARCHAR, tie_no VARCHAR)",
"role": "system"
},
{
"content": "What date has 6 as the tie no.?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_73 WHERE tie_no = \"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_50 (round VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "What round has hereford united as the opponent?",
"role": "user"
},
{
"content": "SELECT round FROM table_name_50 WHERE opponent = \"hereford united\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Manufacturers (name VARCHAR, code VARCHAR); CREATE TABLE products (Price INTEGER, manufacturer VARCHAR, price INTEGER)",
"role": "system"
},
{
"content": "Select the names of manufacturer whose products have an average price higher than or equal to $150.",
"role": "user"
},
{
"content": "SELECT AVG(T1.Price), T2.name FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer = T2.code GROUP BY T2.name HAVING AVG(T1.price) >= 150",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (phoenician VARCHAR, hangul VARCHAR)",
"role": "system"
},
{
"content": "What is the Phoenician letter for the Hangul of ㄹ?",
"role": "user"
},
{
"content": "SELECT phoenician FROM table_name_77 WHERE hangul = \"ㄹ\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (airport VARCHAR, city VARCHAR)",
"role": "system"
},
{
"content": "what is the airport when the city is düsseldorf?",
"role": "user"
},
{
"content": "SELECT airport FROM table_name_41 WHERE city = \"düsseldorf\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15187735_18 (episode VARCHAR, segment_c VARCHAR)",
"role": "system"
},
{
"content": "Name the number of episods for segment c being s oyster",
"role": "user"
},
{
"content": "SELECT COUNT(episode) FROM table_15187735_18 WHERE segment_c = \"s Oyster\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_207795_1 (russian_title VARCHAR, english_title VARCHAR)",
"role": "system"
},
{
"content": "What is the russian title of the ugly swans?",
"role": "user"
},
{
"content": "SELECT russian_title FROM table_207795_1 WHERE english_title = \"The Ugly Swans\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (constructor VARCHAR, laps VARCHAR, time_retired VARCHAR)",
"role": "system"
},
{
"content": "Who built the car that went 53 laps with a Time/Retired of 1:17:09.672?",
"role": "user"
},
{
"content": "SELECT constructor FROM table_name_25 WHERE laps = 53 AND time_retired = \"1:17:09.672\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (location VARCHAR, length___m__ VARCHAR)",
"role": "system"
},
{
"content": "Where is the longest arch with a length in meters of 63?",
"role": "user"
},
{
"content": "SELECT location FROM table_name_47 WHERE length___m__ = \"63\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (notes VARCHAR, time VARCHAR)",
"role": "system"
},
{
"content": "what is the notes when the time is 7:58.71?",
"role": "user"
},
{
"content": "SELECT notes FROM table_name_44 WHERE time = \"7:58.71\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (golden_tickets INTEGER, callback_venue VARCHAR)",
"role": "system"
},
{
"content": "How many golden tickets for the georgia international convention center?",
"role": "user"
},
{
"content": "SELECT SUM(golden_tickets) FROM table_name_85 WHERE callback_venue = \"georgia international convention center\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_61 (pick VARCHAR, college VARCHAR)",
"role": "system"
},
{
"content": "College of boston college has what pick?",
"role": "user"
},
{
"content": "SELECT pick FROM table_name_61 WHERE college = \"boston college\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_17 (fa_cup INTEGER, premier_league VARCHAR, league_cup VARCHAR, total VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest FA cup with 1 league cup, less than 12 total and 1 premier league?",
"role": "user"
},
{
"content": "SELECT MIN(fa_cup) FROM table_name_17 WHERE league_cup = 1 AND total < 12 AND premier_league = 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_16729063_1 (nfl_team VARCHAR, college VARCHAR)",
"role": "system"
},
{
"content": "What team has draft picks from Mississippi?",
"role": "user"
},
{
"content": "SELECT nfl_team FROM table_16729063_1 WHERE college = \"Mississippi\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (away_team VARCHAR, home_team VARCHAR, tie_no VARCHAR, attendance VARCHAR)",
"role": "system"
},
{
"content": "Which Away team has a Tie # of replay, and an Attendance of 24 november 1998, and a Home team of rotherham united?",
"role": "user"
},
{
"content": "SELECT away_team FROM table_name_51 WHERE tie_no = \"replay\" AND attendance = \"24 november 1998\" AND home_team = \"rotherham united\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (estimated_function__percentage VARCHAR, measurement VARCHAR)",
"role": "system"
},
{
"content": "What is the estimated function % when the measurement is 8/8?",
"role": "user"
},
{
"content": "SELECT estimated_function__percentage FROM table_name_43 WHERE measurement = \"8/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 (time VARCHAR, laps VARCHAR, rider VARCHAR)",
"role": "system"
},
{
"content": "Which Time has Laps smaller than 28, and a Rider of nicky hayden?",
"role": "user"
},
{
"content": "SELECT time FROM table_name_40 WHERE laps < 28 AND rider = \"nicky hayden\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_20 (cospar_id_satcat_№ VARCHAR, launch_vehicle VARCHAR)",
"role": "system"
},
{
"content": "What is the COSPAR ID of the satellite with a titan iv(401)a launch vehicle?",
"role": "user"
},
{
"content": "SELECT cospar_id_satcat_№ FROM table_name_20 WHERE launch_vehicle = \"titan iv(401)a\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_66 (round VARCHAR, player VARCHAR, position VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "What round is sf/sg player sly williams from a year after 1965 from?",
"role": "user"
},
{
"content": "SELECT round FROM table_name_66 WHERE position = \"sf/sg\" AND year > 1965 AND player = \"sly williams\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11959669_6 (game INTEGER, location_attendance VARCHAR)",
"role": "system"
},
{
"content": "What is the game that the location attendance is pepsi center 19,894?",
"role": "user"
},
{
"content": "SELECT MAX(game) FROM table_11959669_6 WHERE location_attendance = \"Pepsi Center 19,894\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (episodes INTEGER, romaji_title VARCHAR)",
"role": "system"
},
{
"content": "What is the fewest episodes with the Romaji title Regatta~Kimi to Ita Eien~?",
"role": "user"
},
{
"content": "SELECT MIN(episodes) FROM table_name_40 WHERE romaji_title = \"regatta~kimi to ita eien~\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (record VARCHAR, event VARCHAR)",
"role": "system"
},
{
"content": "What was the record at WEC 24?",
"role": "user"
},
{
"content": "SELECT record FROM table_name_43 WHERE event = \"wec 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_17 (Id VARCHAR)",
"role": "system"
},
{
"content": "What is the 2004 when 2013 is 3rd?",
"role": "user"
},
{
"content": "SELECT 2004 FROM table_name_17 WHERE 2013 = \"3rd\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_45 (label VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "which Label is in 15 december 1992?",
"role": "user"
},
{
"content": "SELECT label FROM table_name_45 WHERE date = \"15 december 1992\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (first_branch_opened VARCHAR, branch VARCHAR)",
"role": "system"
},
{
"content": "What is the First Branch Opened, when Branch is Belmont Library?",
"role": "user"
},
{
"content": "SELECT first_branch_opened FROM table_name_21 WHERE branch = \"belmont library\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_37 (points_diff INTEGER, points VARCHAR, against VARCHAR, lost VARCHAR)",
"role": "system"
},
{
"content": "I want the lowest points diff for against being less than 578 and lost being 15 and points more than 26",
"role": "user"
},
{
"content": "SELECT MIN(points_diff) FROM table_name_37 WHERE against < 578 AND lost = 15 AND points > 26",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_69 (construction VARCHAR, name__wade_giles_ VARCHAR)",
"role": "system"
},
{
"content": "which Construction is named heng-hai?",
"role": "user"
},
{
"content": "SELECT construction FROM table_name_69 WHERE name__wade_giles_ = \"heng-hai\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Student (Fname VARCHAR, Lname VARCHAR, StuID VARCHAR); CREATE TABLE Sportsinfo (StuID VARCHAR)",
"role": "system"
},
{
"content": "What is the first name and last name of the student who have most number of sports?",
"role": "user"
},
{
"content": "SELECT T2.Fname, T2.Lname FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID GROUP BY T1.StuID 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_33 (set_4 VARCHAR, set_1 VARCHAR, set_2 VARCHAR)",
"role": "system"
},
{
"content": "What is Set 4, when Set 1 is 19-25, and when Set 2 is 23-25?",
"role": "user"
},
{
"content": "SELECT set_4 FROM table_name_33 WHERE set_1 = \"19-25\" AND set_2 = \"23-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_13 (place VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "In what place is the player with a score of 72-66-75=213?",
"role": "user"
},
{
"content": "SELECT place FROM table_name_13 WHERE score = 72 - 66 - 75 = 213",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (elevated VARCHAR, nationality VARCHAR)",
"role": "system"
},
{
"content": "When was the elector from pisa elevated?",
"role": "user"
},
{
"content": "SELECT elevated FROM table_name_13 WHERE nationality = \"pisa\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Research_Staff (staff_details VARCHAR)",
"role": "system"
},
{
"content": "List the research staff details, and order in ascending order.",
"role": "user"
},
{
"content": "SELECT staff_details FROM Research_Staff ORDER BY staff_details",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (year VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "Which year was held in beijing?",
"role": "user"
},
{
"content": "SELECT year FROM table_name_87 WHERE venue = \"beijing\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (teaching_language VARCHAR, program VARCHAR)",
"role": "system"
},
{
"content": "What is the teaching language for Master of Quantitative Finance?",
"role": "user"
},
{
"content": "SELECT teaching_language FROM table_name_69 WHERE program = \"master of quantitative finance\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (ihsaa_class VARCHAR, school VARCHAR)",
"role": "system"
},
{
"content": "Which IHSAA Class has a School of mitchell?",
"role": "user"
},
{
"content": "SELECT ihsaa_class FROM table_name_4 WHERE school = \"mitchell\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE individuals (individual_last_name VARCHAR, individual_id VARCHAR); CREATE TABLE organization_contact_individuals (individual_id VARCHAR)",
"role": "system"
},
{
"content": "Find the last name of the individuals that have been contact individuals of an organization.",
"role": "user"
},
{
"content": "SELECT DISTINCT t1.individual_last_name FROM individuals AS t1 JOIN organization_contact_individuals AS t2 ON t1.individual_id = t2.individual_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_name_19 (location___state VARCHAR, circuit VARCHAR)",
"role": "system"
},
{
"content": "Where is the Eastern Creek Raceway located?",
"role": "user"
},
{
"content": "SELECT location___state FROM table_name_19 WHERE circuit = \"eastern creek raceway\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_45 (penalties INTEGER, points_total VARCHAR, played VARCHAR)",
"role": "system"
},
{
"content": "What is the least number of penalties he got when his point total was over 1419 in more than 98 games?",
"role": "user"
},
{
"content": "SELECT MIN(penalties) FROM table_name_45 WHERE points_total = 1419 AND played > 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_name_35 (score VARCHAR, opponent VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "What is Score, when Opponent is Portland Trail Blazers, and when Record is 12-58?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_35 WHERE opponent = \"portland trail blazers\" AND record = \"12-58\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (position VARCHAR, year VARCHAR, competition VARCHAR)",
"role": "system"
},
{
"content": "In which position did Iljuštšenko finish in the European Championships held prior to 2008?",
"role": "user"
},
{
"content": "SELECT position FROM table_name_48 WHERE year < 2008 AND competition = \"european championships\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23394920_1 (station_type VARCHAR, callsign VARCHAR)",
"role": "system"
},
{
"content": "When dwhr-tv is the call sign how many station types are there?",
"role": "user"
},
{
"content": "SELECT COUNT(station_type) FROM table_23394920_1 WHERE callsign = \"DWHR-TV\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (venue VARCHAR, home_team VARCHAR)",
"role": "system"
},
{
"content": "Where was South Melbourne played?",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_13 WHERE home_team = \"south melbourne\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (last_title VARCHAR, country VARCHAR, wins VARCHAR, first_title VARCHAR)",
"role": "system"
},
{
"content": "What is the total of Last title that has Wins smaller than 71 and a First title larger than 1968 and a Country of fiji?",
"role": "user"
},
{
"content": "SELECT COUNT(last_title) FROM table_name_79 WHERE wins < 71 AND first_title > 1968 AND country = \"fiji\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE tryout (pPos VARCHAR)",
"role": "system"
},
{
"content": "How many students whose are playing the role of goalie?",
"role": "user"
},
{
"content": "SELECT COUNT(*) FROM tryout WHERE pPos = 'goalie'",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE event (venue VARCHAR, name VARCHAR, Event_Attendance VARCHAR)",
"role": "system"
},
{
"content": "List the event venues and names that have the top 2 most number of people attended.",
"role": "user"
},
{
"content": "SELECT venue, name FROM event ORDER BY Event_Attendance DESC LIMIT 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_23211041_7 (date VARCHAR, location_attendance VARCHAR)",
"role": "system"
},
{
"content": "If the location attendance is the Verizon Center 20,173, what is the date?",
"role": "user"
},
{
"content": "SELECT date FROM table_23211041_7 WHERE location_attendance = \"Verizon Center 20,173\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_1 (grid VARCHAR, laps VARCHAR, rider VARCHAR)",
"role": "system"
},
{
"content": "What grid has 23 laps done by Josh Brookes?",
"role": "user"
},
{
"content": "SELECT grid FROM table_name_1 WHERE laps = 23 AND rider = \"josh brookes\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query 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_5 (population__2002_ INTEGER, population__2011_ VARCHAR)",
"role": "system"
},
{
"content": "Name the least population for 2002 for 2011 being 9564",
"role": "user"
},
{
"content": "SELECT MIN(population__2002_) FROM table_2562572_5 WHERE population__2011_ = 9564",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (years_in_assembly VARCHAR, residence VARCHAR)",
"role": "system"
},
{
"content": "What were the San Francisco resident's years in assembly?",
"role": "user"
},
{
"content": "SELECT years_in_assembly FROM table_name_54 WHERE residence = \"san francisco\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (class_from_1928 VARCHAR, class_to_1928 VARCHAR)",
"role": "system"
},
{
"content": "Which class from 1928 had a class to 1928 of BDi-21?",
"role": "user"
},
{
"content": "SELECT class_from_1928 FROM table_name_88 WHERE class_to_1928 = \"bdi-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_87 (sign VARCHAR, burmese VARCHAR)",
"role": "system"
},
{
"content": "What is the sign of Burmese taninganwe တနင်္ဂနွေ?",
"role": "user"
},
{
"content": "SELECT sign FROM table_name_87 WHERE burmese = \"taninganwe တနင်္ဂနွေ\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_14330096_3 (series_number VARCHAR, writer VARCHAR)",
"role": "system"
},
{
"content": "What number from the total number of episodes is the episode written by Julian Unthank?",
"role": "user"
},
{
"content": "SELECT series_number FROM table_14330096_3 WHERE writer = \"Julian Unthank\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (team VARCHAR, run_3 VARCHAR)",
"role": "system"
},
{
"content": "What is Team, when Run 3 is 1:24.00?",
"role": "user"
},
{
"content": "SELECT team FROM table_name_70 WHERE run_3 = \"1:24.00\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (score VARCHAR, year VARCHAR, partner VARCHAR)",
"role": "system"
},
{
"content": "Which Score has smaller than 1994, and a Partner of elizabeth sayers smylie?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_54 WHERE year < 1994 AND partner = \"elizabeth sayers smylie\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL 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 (name VARCHAR)",
"role": "system"
},
{
"content": "List all customers’ names in the alphabetical order.",
"role": "user"
},
{
"content": "SELECT name FROM accounts ORDER BY name",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (event VARCHAR, method VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "Which event has a Method of submission (triangle choke), and an Opponent of thiago tavares?",
"role": "user"
},
{
"content": "SELECT event FROM table_name_33 WHERE method = \"submission (triangle choke)\" AND opponent = \"thiago tavares\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (attendance VARCHAR, home VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What is the attendance at the Dallas home game on may 12?",
"role": "user"
},
{
"content": "SELECT COUNT(attendance) FROM table_name_67 WHERE home = \"dallas\" AND date = \"may 12\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_46 (tie_no VARCHAR, home_team VARCHAR)",
"role": "system"
},
{
"content": "What is the tie number for Middlesbrough?",
"role": "user"
},
{
"content": "SELECT tie_no FROM table_name_46 WHERE home_team = \"middlesbrough\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_46 (score VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What is the score of player bob rosburg?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_46 WHERE player = \"bob rosburg\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (duration VARCHAR, actor VARCHAR)",
"role": "system"
},
{
"content": "What is the duration for mike walling as the actor?",
"role": "user"
},
{
"content": "SELECT duration FROM table_name_47 WHERE actor = \"mike walling\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (gold INTEGER, nation VARCHAR, total VARCHAR)",
"role": "system"
},
{
"content": "Japan (JPN) with a total of less than 5, has what average gold medals?",
"role": "user"
},
{
"content": "SELECT AVG(gold) FROM table_name_51 WHERE nation = \"japan (jpn)\" AND total < 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 singer (song_name VARCHAR, age INTEGER)",
"role": "system"
},
{
"content": "List all song names by singers above the average age.",
"role": "user"
},
{
"content": "SELECT song_name FROM singer WHERE age > (SELECT AVG(age) FROM singer)",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_61 (event_place VARCHAR, time VARCHAR)",
"role": "system"
},
{
"content": "Where did someone run a 61:32",
"role": "user"
},
{
"content": "SELECT event_place FROM table_name_61 WHERE time = \"61: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_94 (games VARCHAR, drawn VARCHAR, lost VARCHAR)",
"role": "system"
},
{
"content": "How many Games have a Drawn larger than 0, and a Lost of 1?",
"role": "user"
},
{
"content": "SELECT COUNT(games) FROM table_name_94 WHERE drawn > 0 AND lost = 1",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_17 (total INTEGER, to_par INTEGER)",
"role": "system"
},
{
"content": "Which Total has a To par larger than 12?",
"role": "user"
},
{
"content": "SELECT MIN(total) FROM table_name_17 WHERE to_par > 12",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_71 (medal VARCHAR, name VARCHAR, sport VARCHAR, games VARCHAR)",
"role": "system"
},
{
"content": "What Medal did James Odwori receive for Boxing in the 1970 Edinburgh Games?",
"role": "user"
},
{
"content": "SELECT medal FROM table_name_71 WHERE sport = \"boxing\" AND games = \"1970 edinburgh\" AND name = \"james odwori\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15026994_2 (writer VARCHAR, viewing_figure VARCHAR)",
"role": "system"
},
{
"content": "What writers are associated with a viewing figure of 7.01 million?",
"role": "user"
},
{
"content": "SELECT writer FROM table_15026994_2 WHERE viewing_figure = \"7.01 million\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (school_club_team VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What college team did Derek Fisher play for?",
"role": "user"
},
{
"content": "SELECT school_club_team FROM table_name_19 WHERE player = \"derek fisher\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2467150_2 (cores VARCHAR, tdp VARCHAR)",
"role": "system"
},
{
"content": "What is every value for cores if TDP is 17 W?",
"role": "user"
},
{
"content": "SELECT cores FROM table_2467150_2 WHERE tdp = \"17 W\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (medal VARCHAR, games VARCHAR, sport VARCHAR)",
"role": "system"
},
{
"content": "What medal was won in the 1996 Atlanta games in wrestling?",
"role": "user"
},
{
"content": "SELECT medal FROM table_name_60 WHERE games = \"1996 atlanta\" AND sport = \"wrestling\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (long INTEGER, loss VARCHAR, gain VARCHAR)",
"role": "system"
},
{
"content": "When the player gained below 1,405 yards and lost over 390 yards, what's the sum of the long yards?",
"role": "user"
},
{
"content": "SELECT SUM(long) FROM table_name_59 WHERE loss > 390 AND gain < 1 OFFSET 405",
"role": "assistant"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.