conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (outcome VARCHAR, year VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the Outcome of the Match played after 2003 with a Score of 6–0, 6–3?"
},
{
"from": "gpt",
"value": "SELECT outcome FROM table_name_88 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (outcome VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the Outcome of the match with a Score of 6–1, 6–1?"
},
{
"from": "gpt",
"value": "SELECT outcome FROM table_name_22 WHERE score = \"6–1, 6–1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (name VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "Who has rank 5?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_23 WHERE rank = 5"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (nationality VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "Which nationality has rank 4?"
},
{
"from": "gpt",
"value": "SELECT nationality FROM table_name_90 WHERE rank = 4"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)"
},
{
"from": "human",
"value": "What title was used in the nomination of Matrimonio All'Italiana?"
},
{
"from": "gpt",
"value": "SELECT film_title_used_in_nominati... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (language VARCHAR, category VARCHAR, original_title VARCHAR)"
},
{
"from": "human",
"value": "What language was the film Pelle Erobreren, which received the best actor nomination, in?"
},
{
"from": "gpt",
"value": "SELECT langu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (film_title_used_in_nomination VARCHAR, language VARCHAR, original_title VARCHAR)"
},
{
"from": "human",
"value": "What title was used in the nomination of the Spanish language film Traffic?"
},
{
"from": "gpt",
"value": "SELEC... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)"
},
{
"from": "human",
"value": "What title was used in the nomination of Una Giornata Particolare?"
},
{
"from": "gpt",
"value": "SELECT film_title_used_in_nomina... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (date VARCHAR, test_debut VARCHAR, position VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What date has a Position of back, later than 1964, and a Test debut of 1st rl test v new zealand?"
},
{
"from": "gpt",
"value":... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (position VARCHAR, test_debut VARCHAR, year VARCHAR, cross_code_debut VARCHAR)"
},
{
"from": "human",
"value": "What is the position earlier than 1907, with a cross-code debut of inaugural rl test v new zealand, and a test debut of inaugur... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (cross_code_debut VARCHAR, year VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is the cross-code debut later than 1958 for Dick Thornett?"
},
{
"from": "gpt",
"value": "SELECT cross_code_debut FROM table_name_87... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (position VARCHAR, cross_code_debut VARCHAR)"
},
{
"from": "human",
"value": "What position has a Cross-code debut of 1st ru test v ireland?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_79 WHERE cross_code_deb... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (time VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What was the time for the match with away team Shatin?"
},
{
"from": "gpt",
"value": "SELECT time FROM table_name_4 WHERE away_team = \"shatin\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (time VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What was the time for the match with away team Convoy Sun Hei Team A?"
},
{
"from": "gpt",
"value": "SELECT time FROM table_name_47 WHERE away_team = \"convoy s... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (away_team VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What was the away team for the match that had a time of 18:30?"
},
{
"from": "gpt",
"value": "SELECT away_team FROM table_name_45 WHERE time = \"18:30\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (time VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What was the time for the match with away team Mutual Team B?"
},
{
"from": "gpt",
"value": "SELECT time FROM table_name_28 WHERE away_team = \"mutual team b\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (time VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "What was the time for the match that had a a home team of HKSSF?"
},
{
"from": "gpt",
"value": "SELECT time FROM table_name_17 WHERE home_team = \"hkssf\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (attendance VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "How many people attended on december 26, 1982?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_78 WHERE date = \"december 26, 1982\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (byes VARCHAR, losses VARCHAR, wins VARCHAR, wimmera_fl VARCHAR)"
},
{
"from": "human",
"value": "How many Byes have Wins smaller than 11, and a Wimmera FL of minyip murtoa, and Losses smaller than 6?"
},
{
"from": "gpt",
"valu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (losses INTEGER, against VARCHAR, wins VARCHAR)"
},
{
"from": "human",
"value": "Which Losses have an Against smaller than 1018, and Wins smaller than 14?"
},
{
"from": "gpt",
"value": "SELECT AVG(losses) FROM table_name_42 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (byes INTEGER, against VARCHAR, wimmera_fl VARCHAR)"
},
{
"from": "human",
"value": "Which Byes have an Against larger than 1018, and a Wimmera FL of horsham diggers?"
},
{
"from": "gpt",
"value": "SELECT MIN(byes) FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (losses INTEGER, wimmera_fl VARCHAR)"
},
{
"from": "human",
"value": "Which Losses have a Wimmera FL of minyip murtoa?"
},
{
"from": "gpt",
"value": "SELECT AVG(losses) FROM table_name_35 WHERE wimmera_fl = \"minyip murtoa\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (against INTEGER, draws VARCHAR, losses VARCHAR, wimmera_fl VARCHAR)"
},
{
"from": "human",
"value": "Which Against has Losses smaller than 5, and a Wimmera FL of warrack eagles, and Draws smaller than 0?"
},
{
"from": "gpt",
"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (country VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Which country has Spence in the name section?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_6 WHERE name = \"spence\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (country VARCHAR, name VARCHAR, status VARCHAR, moving_to VARCHAR)"
},
{
"from": "human",
"value": "Which country has the status of transferred, moving to of released, and Solano as the listed name?"
},
{
"from": "gpt",
"value"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (transfer_fee VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the transfer fee for the country that has the name McCartney listed?"
},
{
"from": "gpt",
"value": "SELECT transfer_fee FROM table_name_46 WHERE name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (name VARCHAR, status VARCHAR, moving_to VARCHAR)"
},
{
"from": "human",
"value": "What is the name listed for the country that has a status of loaned and a moving to listed as leyton orient?"
},
{
"from": "gpt",
"value": "SELE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (transfer_fee VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What is the transfer fee for the country of Nir?"
},
{
"from": "gpt",
"value": "SELECT transfer_fee FROM table_name_53 WHERE country = \"nir\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (fastest_lap VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)"
},
{
"from": "human",
"value": "Who had the fastest lap when adam christodoulou was the winning driver and had the pole position?"
},
{
"from": "gpt",
"value... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (date VARCHAR, circuit VARCHAR, fastest_lap VARCHAR)"
},
{
"from": "human",
"value": "What date was the circuit, snetterton, when riki christodoulou had the fastest lap?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (pole_position VARCHAR, fastest_lap VARCHAR, circuit VARCHAR)"
},
{
"from": "human",
"value": "who had the pole position at rockingham circuit with adam christodoulou having the fastest lap?"
},
{
"from": "gpt",
"value": "SELEC... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (bonus_points VARCHAR, points_against VARCHAR)"
},
{
"from": "human",
"value": "What bonus points have 448 as the points against?"
},
{
"from": "gpt",
"value": "SELECT bonus_points FROM table_name_47 WHERE points_against = \"44... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (points_for VARCHAR, games VARCHAR, total_points VARCHAR)"
},
{
"from": "human",
"value": "What points for have 30 as the game, and 73 as the total points?"
},
{
"from": "gpt",
"value": "SELECT points_for FROM table_name_92 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (drawn VARCHAR, points_for VARCHAR, points_against VARCHAR)"
},
{
"from": "human",
"value": "What drawn has 416 as the points for and 533 as the points against?"
},
{
"from": "gpt",
"value": "SELECT drawn FROM table_name_49 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (match_points VARCHAR, points_against VARCHAR)"
},
{
"from": "human",
"value": "What match points have 755 as the points against?"
},
{
"from": "gpt",
"value": "SELECT match_points FROM table_name_8 WHERE points_against = \"755\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (games VARCHAR, club VARCHAR)"
},
{
"from": "human",
"value": "What games have colomiers as the club?"
},
{
"from": "gpt",
"value": "SELECT games FROM table_name_47 WHERE club = \"colomiers\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (lost VARCHAR, match_points VARCHAR)"
},
{
"from": "human",
"value": "Which lost has 84 as the match points?"
},
{
"from": "gpt",
"value": "SELECT lost FROM table_name_52 WHERE match_points = \"84\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (constituency_number VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "How many constituents does udaipura have?"
},
{
"from": "gpt",
"value": "SELECT constituency_number FROM table_name_37 WHERE name = \"udaipura\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (lane VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What lane was Henrique Barbosa in?"
},
{
"from": "gpt",
"value": "SELECT COUNT(lane) FROM table_name_14 WHERE name = \"henrique barbosa\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (game VARCHAR, year VARCHAR, genre VARCHAR)"
},
{
"from": "human",
"value": "What game was before 2010 and was a role-playing game?"
},
{
"from": "gpt",
"value": "SELECT game FROM table_name_82 WHERE year < 2010 AND genre = \"r... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (platform_s_ VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What was the platform of Red Dead Redemption?"
},
{
"from": "gpt",
"value": "SELECT platform_s_ FROM table_name_11 WHERE game = \"red dead redemption\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (developer_s_ VARCHAR, platform_s_ VARCHAR)"
},
{
"from": "human",
"value": "Who was the developer of Wii?"
},
{
"from": "gpt",
"value": "SELECT developer_s_ FROM table_name_50 WHERE platform_s_ = \"wii\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (year VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What year was The Walking Dead?"
},
{
"from": "gpt",
"value": "SELECT COUNT(year) FROM table_name_95 WHERE game = \"the walking dead\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (platform_s_ VARCHAR, developer_s_ VARCHAR)"
},
{
"from": "human",
"value": "What was the platform when the developer was Telltale Games?"
},
{
"from": "gpt",
"value": "SELECT platform_s_ FROM table_name_43 WHERE developer_s_ =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (game VARCHAR, developer_s_ VARCHAR)"
},
{
"from": "human",
"value": "What is the game of developer Rockstar Games?"
},
{
"from": "gpt",
"value": "SELECT game FROM table_name_71 WHERE developer_s_ = \"rockstar games\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (elevation__m_ VARCHAR, prominence__m_ INTEGER)"
},
{
"from": "human",
"value": "How much Elevation (m) has a Prominence (m) larger than 2,876?"
},
{
"from": "gpt",
"value": "SELECT COUNT(elevation__m_) FROM table_name_18 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (date VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "When was millwall the home team?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_11 WHERE home_team = \"millwall\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (score VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What was the score when Arsenal was the away team?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_49 WHERE away_team = \"arsenal\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (away_team VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which away team had a Score of 2–0?"
},
{
"from": "gpt",
"value": "SELECT away_team FROM table_name_53 WHERE score = \"2–0\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (date VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "When was Arsenal was the away team?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_17 WHERE away_team = \"arsenal\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (date_released VARCHAR, green_communist VARCHAR)"
},
{
"from": "human",
"value": "What's the date released when there was 9.7% of Green communist?"
},
{
"from": "gpt",
"value": "SELECT date_released FROM table_name_53 WHERE gre... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (green_communist VARCHAR, polling_institute VARCHAR)"
},
{
"from": "human",
"value": "What's the green communist when Euroteste/JN is the polling Institute?"
},
{
"from": "gpt",
"value": "SELECT green_communist FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (silver INTEGER, gold VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the most silver medals when the total is more than 2 medals, and with a rank of total, and the number of gold medals is greater than 44?"
},
{
"f... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (gold INTEGER, silver VARCHAR, bronze VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the fewest gold medals when there is 0 bronze medals, and the rank is 19, and silver medals are less than 1?"
},
{
"from": "gpt",... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (bronze INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR)"
},
{
"from": "human",
"value": "What is the largest amount of bronze medals when the silver medals are less than 1, and Belgium (BEL) is the nation, and the gold medals are le... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (bronze INTEGER, silver VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "With silver medals less than 1, and total medals less than 2, what is the most bronze medals?"
},
{
"from": "gpt",
"value": "SELECT MAX(bronze) FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (byes VARCHAR, wins VARCHAR, losses VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the total number of Byes that has the Wins of 14, and the Losses larger than 2?"
},
{
"from": "gpt",
"value": "SELECT COUNT(byes) FRO... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (wins INTEGER, against VARCHAR, losses VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the average Wins that has the Against of 1132, and the Losses smaller than 7?"
},
{
"from": "gpt",
"value": "SELECT AVG(wins) FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (date VARCHAR, location_attendance VARCHAR)"
},
{
"from": "human",
"value": "What was the date for the game that had a Location/Attendance of the spectrum?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_92 WHERE loc... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (opponent VARCHAR, location_attendance VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent when they played at the Skydome?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_53 WHERE location_attendance ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the record on January 17?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_61 WHERE date = \"january 17\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (location_attendance VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the location and attendance when the record was 19-17?"
},
{
"from": "gpt",
"value": "SELECT location_attendance FROM table_name_69 WHERE r... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (city VARCHAR, year_joined VARCHAR, conference_joined VARCHAR)"
},
{
"from": "human",
"value": "What city joined the Independents conference after 1963?"
},
{
"from": "gpt",
"value": "SELECT city FROM table_name_26 WHERE year_j... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (year_joined INTEGER, city VARCHAR, mascot VARCHAR)"
},
{
"from": "human",
"value": "What is the year that the Gary team with mascot of the Tornado joined?"
},
{
"from": "gpt",
"value": "SELECT MIN(year_joined) FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (previous_conference VARCHAR, conference_joined VARCHAR, mascot VARCHAR)"
},
{
"from": "human",
"value": "What was the previous conference for the team with the Governors as their mascot that joined the Indiana Lake Shore conference?"
},... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (year_left INTEGER, mascot VARCHAR)"
},
{
"from": "human",
"value": "What is the year that the Roughriders left the conference?"
},
{
"from": "gpt",
"value": "SELECT MAX(year_left) FROM table_name_25 WHERE mascot = \"roughrider... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (conference_joined VARCHAR, city VARCHAR)"
},
{
"from": "human",
"value": "What conference did the city of Valparaiso join?"
},
{
"from": "gpt",
"value": "SELECT conference_joined FROM table_name_5 WHERE city = \"valparaiso\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (duration VARCHAR, character VARCHAR)"
},
{
"from": "human",
"value": "What is the duration of the character Bartha Zsolt?"
},
{
"from": "gpt",
"value": "SELECT duration FROM table_name_93 WHERE character = \"bartha zsolt\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (loss VARCHAR, name VARCHAR, long VARCHAR)"
},
{
"from": "human",
"value": "How many losses have jake sharp as the name, with a long less than 30?"
},
{
"from": "gpt",
"value": "SELECT COUNT(loss) FROM table_name_81 WHERE name ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (long INTEGER, gain VARCHAR, loss VARCHAR)"
},
{
"from": "human",
"value": "What is the average long that has 1581 as a gain, with a loss less than 308?"
},
{
"from": "gpt",
"value": "SELECT AVG(long) FROM table_name_72 WHERE g... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (gain INTEGER, long VARCHAR, avg_g VARCHAR)"
},
{
"from": "human",
"value": "How many gains have a long greater than 8, with avg/g of 124.9?"
},
{
"from": "gpt",
"value": "SELECT SUM(gain) FROM table_name_27 WHERE long > 8 AND ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (long INTEGER, gain VARCHAR, avg_g VARCHAR)"
},
{
"from": "human",
"value": "How many longs have a gain less than 379, and 0.8 as an avg/g?"
},
{
"from": "gpt",
"value": "SELECT SUM(long) FROM table_name_11 WHERE gain < 379 AND... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (gain INTEGER, name VARCHAR, avg_g VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest gain that has toben opurum as the name, with an avg/g less than 54.1?"
},
{
"from": "gpt",
"value": "SELECT MIN(gain) FROM table_na... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "Which Driver has a Grid smaller than 17, and Points larger than 0, and a Lapse of 87, and a Time/Retired of 1:48:11.023?"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (points INTEGER, laps VARCHAR, grid VARCHAR, driver VARCHAR)"
},
{
"from": "human",
"value": "Which Points have a Grid larger than 7, and a Driver of alex tagliani, and a Lapse smaller than 85?"
},
{
"from": "gpt",
"value": "SE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (date VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "What date has uefa euro 2008 qualification as the competition?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_55 WHERE competition = \"uefa euro 2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (date VARCHAR, competition VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "What date has friendly as the competition, with pretoria, South Africa as the venue?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (score_final INTEGER, competition_description VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest final score of the American Cup competition before 2009?"
},
{
"from": "gpt",
"value": "SELECT MIN(score_f... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (result VARCHAR, week VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the result for the game before week 7 against BYE?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_95 WHERE week < 7 AND opp... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (date VARCHAR, week INTEGER)"
},
{
"from": "human",
"value": "What was the date for the game after week 16?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_74 WHERE week > 16"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (attendance VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What was the attendance for the game against tampa bay buccaneers?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_61 WHERE opponent = \"t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (date VARCHAR, week VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What was the date of the game after week 5 with 62,262 fans attending?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_82 WHERE week >... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (location VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Which Location has a Record of 5–2–1?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_31 WHERE record = \"5–2–1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (record VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "Which Record has an Event of inoki bom-ba-ye 2002?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_1 WHERE event = \"inoki bom-ba-ye 2002\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (opponent VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Which Opponent has a Record of 2–0?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_80 WHERE record = \"2–0\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (record VARCHAR, round VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "Which Record has a Round larger than 2, and an Event of bellator 38?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_62 WHERE round > ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (pick INTEGER, player VARCHAR)"
},
{
"from": "human",
"value": "What was John Jones's pick#?"
},
{
"from": "gpt",
"value": "SELECT SUM(pick) FROM table_name_30 WHERE player = \"john jones\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (pick INTEGER, hometown_school VARCHAR)"
},
{
"from": "human",
"value": "What was the pick # of the player who has a hometown/school of Atlanta, GA?"
},
{
"from": "gpt",
"value": "SELECT AVG(pick) FROM table_name_62 WHERE homet... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (monday_to_friday VARCHAR, mañana_es_para_siempre VARCHAR)"
},
{
"from": "human",
"value": "What is Mañana es para siempre of impreuna pentru totdeauna from Monday to Friday?"
},
{
"from": "gpt",
"value": "SELECT monday_to_frid... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (monday_to_friday VARCHAR, el_canal_de_las_estrellas VARCHAR)"
},
{
"from": "human",
"value": "When does the El Canal de las Estrellas of pop tv show from Monday to Friday?"
},
{
"from": "gpt",
"value": "SELECT monday_to_friday... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (enrollment INTEGER, ihsaa_football_class VARCHAR)"
},
{
"from": "human",
"value": "What is the enrollment for the AAAA class in IHSAA?"
},
{
"from": "gpt",
"value": "SELECT SUM(enrollment) FROM table_name_85 WHERE ihsaa_footba... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (ihsaa_football_class VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What is the IHSAA Football class at Culver?"
},
{
"from": "gpt",
"value": "SELECT ihsaa_football_class FROM table_name_93 WHERE location = \"culv... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (location VARCHAR, mascot VARCHAR)"
},
{
"from": "human",
"value": "What school has the Lancers as their mascot?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_86 WHERE mascot = \"lancers\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (enrollment VARCHAR, school VARCHAR)"
},
{
"from": "human",
"value": "What is the total enrollment at Laville?"
},
{
"from": "gpt",
"value": "SELECT COUNT(enrollment) FROM table_name_97 WHERE school = \"laville\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (avg INTEGER, rank INTEGER)"
},
{
"from": "human",
"value": "What is the highest average for teams ranked higher than 9?"
},
{
"from": "gpt",
"value": "SELECT MAX(avg) FROM table_name_30 WHERE rank > 9"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (name VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the 2008 club with Nadia Centoni Category:Articles with hCards?"
},
{
"from": "gpt",
"value": "SELECT 2008 AS _club FROM table_name_69 WHERE name = \"nadia cen... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (name VARCHAR)"
},
{
"from": "human",
"value": "Which 2008 club has the name Francesca Piccinini Category:Articles with hCards?"
},
{
"from": "gpt",
"value": "SELECT 2008 AS _club FROM table_name_71 WHERE name = \"francesca pic... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (wins INTEGER, against VARCHAR)"
},
{
"from": "human",
"value": "What is the least amount of wins when against is 1314?"
},
{
"from": "gpt",
"value": "SELECT MIN(wins) FROM table_name_41 WHERE against = 1314"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (against INTEGER, draws VARCHAR, wins VARCHAR, club VARCHAR)"
},
{
"from": "human",
"value": "What is the number of against when the wins were 8, and a Club of South Warrnambool, with less than 0 draws?"
},
{
"from": "gpt",
"va... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (wins INTEGER, draws VARCHAR, against VARCHAR, club VARCHAR)"
},
{
"from": "human",
"value": "What is the number of wins when the against is larger than 1155, for Warrnambool, with more than 0 draws?"
},
{
"from": "gpt",
"value... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.