conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (total VARCHAR, set_1 VARCHAR)"
},
{
"from": "human",
"value": "What is the total when the score for set 1 is 14–25?"
},
{
"from": "gpt",
"value": "SELECT total FROM table_name_75 WHERE set_1 = \"14–25\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (total VARCHAR, set_2 VARCHAR)"
},
{
"from": "human",
"value": "What is the total when the score for set 2 is 20–25?"
},
{
"from": "gpt",
"value": "SELECT total FROM table_name_21 WHERE set_2 = \"20–25\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (total VARCHAR, set_2 VARCHAR)"
},
{
"from": "human",
"value": "What is the total when the score for set 2 is 25–22?"
},
{
"from": "gpt",
"value": "SELECT total FROM table_name_86 WHERE set_2 = \"25–22\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (price VARCHAR, downstream VARCHAR)"
},
{
"from": "human",
"value": "What is the price of 150 mbps downstread?"
},
{
"from": "gpt",
"value": "SELECT price FROM table_name_20 WHERE downstream = \"150 mbps\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (upstream VARCHAR, price VARCHAR)"
},
{
"from": "human",
"value": "What is the upstream with the price 65 chf?"
},
{
"from": "gpt",
"value": "SELECT upstream FROM table_name_1 WHERE price = \"65 chf\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (price VARCHAR, internet_plan VARCHAR)"
},
{
"from": "human",
"value": "What is the price of the internet 150 plans?"
},
{
"from": "gpt",
"value": "SELECT price FROM table_name_63 WHERE internet_plan = \"internet 150\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (upstream VARCHAR, downstream VARCHAR)"
},
{
"from": "human",
"value": "What is the upstream for the 100 mbps downstream?"
},
{
"from": "gpt",
"value": "SELECT upstream FROM table_name_82 WHERE downstream = \"100 mbps\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (price VARCHAR, downstream VARCHAR)"
},
{
"from": "human",
"value": "What is the price of 60 mbps downstream?"
},
{
"from": "gpt",
"value": "SELECT price FROM table_name_22 WHERE downstream = \"60 mbps\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (upstream VARCHAR, internet_plan VARCHAR)"
},
{
"from": "human",
"value": "What is the upstream for the internet 100 plans?"
},
{
"from": "gpt",
"value": "SELECT upstream FROM table_name_42 WHERE internet_plan = \"internet 100\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (club_team VARCHAR, round INTEGER)"
},
{
"from": "human",
"value": "Which club team was the player from who was selected in a round under 4?"
},
{
"from": "gpt",
"value": "SELECT club_team FROM table_name_12 WHERE round < 4"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (club_team VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What was the club team for Kyle de Coste?"
},
{
"from": "gpt",
"value": "SELECT club_team FROM table_name_98 WHERE player = \"kyle de coste\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (w_plyf INTEGER, w_l_percentage VARCHAR, first_yr VARCHAR, g_plyf VARCHAR, g_ VARCHAR, _500 VARCHAR)"
},
{
"from": "human",
"value": "What is the highest w plyf with a first yr before 1960, a G plyf greater than 0, a G > .500 less than 43,... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (yr_plyf INTEGER, g_plyf VARCHAR, coach VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of the yr plyf of coach ed robinson, who has a G plyf of 0?"
},
{
"from": "gpt",
"value": "SELECT SUM(yr_plyf) FROM table_name_6 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (yr_plyf VARCHAR, g_plyf INTEGER)"
},
{
"from": "human",
"value": "What is the total number of yr plyf with a G plyf less than 0?"
},
{
"from": "gpt",
"value": "SELECT COUNT(yr_plyf) FROM table_name_56 WHERE g_plyf < 0"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (coach VARCHAR, last_yr VARCHAR, yr_plyf VARCHAR, w_l_percentage VARCHAR, first_yr VARCHAR)"
},
{
"from": "human",
"value": "Who is the coach with a w-l% greater than 0.516, a first yr before 1925, a yr plyf greater than 2, and a last yr i... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (last_yr INTEGER, l_plyf INTEGER)"
},
{
"from": "human",
"value": "What is the average last yr with an l plyf less than 0?"
},
{
"from": "gpt",
"value": "SELECT AVG(last_yr) FROM table_name_98 WHERE l_plyf < 0"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (last_yr INTEGER, yr_plyf INTEGER)"
},
{
"from": "human",
"value": "What is the earliest last year with a yr plyf less than 0?"
},
{
"from": "gpt",
"value": "SELECT MIN(last_yr) FROM table_name_97 WHERE yr_plyf < 0"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (to_par VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the To par of the Player with a Score of 69-70=139?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_59 WHERE score = 69 - 70 = 139"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (to_par VARCHAR, place VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is Bob Gilder in Place T3's To par?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_43 WHERE place = \"t3\" AND player = \"bob g... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (high_points VARCHAR, high_rebounds VARCHAR, game VARCHAR, location_attendance VARCHAR)"
},
{
"from": "human",
"value": "What is High Points, when Game is less than 82, when Location Attendance is \"Quicken Loans Arena 20,562\", and when H... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (game INTEGER, high_assists VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest Game, when High Assists is \"Maurice Williams (8)\"?"
},
{
"from": "gpt",
"value": "SELECT MIN(game) FROM table_name_11 WHERE high_assists... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (game INTEGER, date VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest Game, when Date is \"April 12\"?"
},
{
"from": "gpt",
"value": "SELECT MIN(game) FROM table_name_95 WHERE date = \"april 12\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (winner VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is Winner, when Date is 5 Sep?"
},
{
"from": "gpt",
"value": "SELECT winner FROM table_name_43 WHERE date = \"5 sep\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (team VARCHAR, circuit VARCHAR, winner VARCHAR)"
},
{
"from": "human",
"value": "What is Team, when Circuit is Queensland Raceway, and when Winner is Garth Tander?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_96 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (date VARCHAR, team VARCHAR, circuit VARCHAR)"
},
{
"from": "human",
"value": "What is Date, when Team is Holden Racing Team, and when Circuit is Eastern Creek Raceway?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (team VARCHAR, circuit VARCHAR)"
},
{
"from": "human",
"value": "What is Team, when Circuit is Phillip Island Grand Prix Circuit?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_1 WHERE circuit = \"phillip island gran... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (circuit VARCHAR, series VARCHAR)"
},
{
"from": "human",
"value": "What is Circuit, when Series is ASTC Round 4?"
},
{
"from": "gpt",
"value": "SELECT circuit FROM table_name_26 WHERE series = \"astc round 4\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (react VARCHAR, name VARCHAR, lane VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of React, when Name is Sean Wroe, and when Lane is greater than 2?"
},
{
"from": "gpt",
"value": "SELECT COUNT(react) FROM ta... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (lane INTEGER, mark VARCHAR, react VARCHAR)"
},
{
"from": "human",
"value": "What is the highest Lane, when Mark is 46.65, and when React is greater than 0.251?"
},
{
"from": "gpt",
"value": "SELECT MAX(lane) FROM table_name_44... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (react INTEGER, mark VARCHAR, lane VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest React, when Mark is 46.26 sb, and when Lane is greater than 6?"
},
{
"from": "gpt",
"value": "SELECT MIN(react) FROM table_name_61 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (mark VARCHAR, lane VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What is Mark, when Lane is greater than 2, and when Country is Bahamas?"
},
{
"from": "gpt",
"value": "SELECT mark FROM table_name_44 WHERE lane > 2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (number VARCHAR, language VARCHAR)"
},
{
"from": "human",
"value": "What is the number of the belarusian language?"
},
{
"from": "gpt",
"value": "SELECT number FROM table_name_11 WHERE language = \"belarusian\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (number VARCHAR, percentage___percentage_ VARCHAR)"
},
{
"from": "human",
"value": "What is the number with an 80.62 percentage?"
},
{
"from": "gpt",
"value": "SELECT number FROM table_name_91 WHERE percentage___percentage_ = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (males VARCHAR, percentage___percentage_ VARCHAR)"
},
{
"from": "human",
"value": "How many males have a percentage of 80.62?"
},
{
"from": "gpt",
"value": "SELECT males FROM table_name_82 WHERE percentage___percentage_ = \"80.... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (name VARCHAR, team VARCHAR, wsu_year_s_ VARCHAR)"
},
{
"from": "human",
"value": "What is Name, when Team is New York Knicks, and when WSU Year(s) is 1965-68?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_8 WHERE t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (name VARCHAR, wsu_year_s_ VARCHAR)"
},
{
"from": "human",
"value": "What is Name, when WSU Year(s) is 1981-82?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_89 WHERE wsu_year_s_ = \"1981-82\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (wsu_year_s_ VARCHAR, pro_year_s_ VARCHAR)"
},
{
"from": "human",
"value": "What is WSU Year(s), when Pro Year(s) is 1974-77?"
},
{
"from": "gpt",
"value": "SELECT wsu_year_s_ FROM table_name_88 WHERE pro_year_s_ = \"1974-77\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (pro_year_s_ VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What is Pro Year(s), when Team is Cincinnati Royals?"
},
{
"from": "gpt",
"value": "SELECT pro_year_s_ FROM table_name_79 WHERE team = \"cincinnati royals\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (position VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What is Position, when Team is Cincinnati Royals?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_77 WHERE team = \"cincinnati royals\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (name VARCHAR, team VARCHAR, wsu_year_s_ VARCHAR)"
},
{
"from": "human",
"value": "What is Name, when Team is Detroit Pistons, and when WSU Year(s) is 1979-82?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_3 WHERE t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (position VARCHAR, overall VARCHAR, pick VARCHAR)"
},
{
"from": "human",
"value": "What is Position, when Overallis less than 314, and when Pick is less than 8?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_84 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (overall INTEGER, round VARCHAR, pick VARCHAR)"
},
{
"from": "human",
"value": "What is the average value of Overall, when Round is greater than 11, and when Pick is greater than 10?"
},
{
"from": "gpt",
"value": "SELECT AVG(ove... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (name VARCHAR, overall VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "What is Name, when Overall is greater than 132, and when Round is 12?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_59 WHERE overall >... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (college VARCHAR, pick VARCHAR)"
},
{
"from": "human",
"value": "What is College, when Pick is 20?"
},
{
"from": "gpt",
"value": "SELECT college FROM table_name_18 WHERE pick = 20"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (overall INTEGER, pick VARCHAR)"
},
{
"from": "human",
"value": "What is average Overall, when Pick is 19?"
},
{
"from": "gpt",
"value": "SELECT AVG(overall) FROM table_name_80 WHERE pick = 19"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (pick INTEGER, round VARCHAR, college VARCHAR)"
},
{
"from": "human",
"value": "What is the average pick for Princeton after round 3?"
},
{
"from": "gpt",
"value": "SELECT AVG(pick) FROM table_name_29 WHERE round > 3 AND colleg... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (round INTEGER, college VARCHAR)"
},
{
"from": "human",
"value": "What is the earliest round Clark was in?"
},
{
"from": "gpt",
"value": "SELECT MIN(round) FROM table_name_86 WHERE college = \"clark\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "What is the tie number when the home team was gillingham?"
},
{
"from": "gpt",
"value": "SELECT tie_no FROM table_name_12 WHERE home_team = \"gillingham\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (score VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "What was the score when the home team was goole town?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_84 WHERE home_team = \"goole town\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (date VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "What date had the home team as brentford?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_30 WHERE home_team = \"brentford\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (tie_no VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What was the tie number when bradford park avenue was the away team?"
},
{
"from": "gpt",
"value": "SELECT tie_no FROM table_name_96 WHERE away_team = \"bradf... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (house_1950 VARCHAR, governors_1950 VARCHAR)"
},
{
"from": "human",
"value": "What shows for House 1950 when the Governors 1950 show governors 1995?"
},
{
"from": "gpt",
"value": "SELECT house_1950 FROM table_name_39 WHERE gove... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (house_1950 VARCHAR, general_1950 VARCHAR)"
},
{
"from": "human",
"value": "What shows for House 1950 when the General 1950 is general 1986?"
},
{
"from": "gpt",
"value": "SELECT house_1950 FROM table_name_19 WHERE general_1950... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (governors_1950 VARCHAR, general_1950 VARCHAR)"
},
{
"from": "human",
"value": "What is the Governors 1950 when the General 1950 is general 1979?"
},
{
"from": "gpt",
"value": "SELECT governors_1950 FROM table_name_46 WHERE gen... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (house_1950 VARCHAR, governors_1950 VARCHAR)"
},
{
"from": "human",
"value": "What shows for House 1950 with a 1950 less than 1980, and Governors 1950 of governors 1970?"
},
{
"from": "gpt",
"value": "SELECT house_1950 FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (month VARCHAR, year VARCHAR, album VARCHAR)"
},
{
"from": "human",
"value": "What month before 1973 is listed for the album united we stand?"
},
{
"from": "gpt",
"value": "SELECT month FROM table_name_83 WHERE year < 1973 AND ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (name_of_the_river VARCHAR, name_of_the_state_where_found_in_india VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the river found in Madhya Pradesh, India?"
},
{
"from": "gpt",
"value": "SELECT name_of_the_river ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (name_of_deity VARCHAR, name_of_the_state_where_found_in_india VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the deity that the state of Bihar was named after?"
},
{
"from": "gpt",
"value": "SELECT name_of_deity... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (name_of_deity VARCHAR, name_of_the_river VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the diety for the river of sone?"
},
{
"from": "gpt",
"value": "SELECT name_of_deity FROM table_name_16 WHERE name_of_the_r... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (name_of_the_stone__sila_ VARCHAR, name_of_the_state_where_found_in_india VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the stone found in Andhra Pradesh, India?"
},
{
"from": "gpt",
"value": "SELECT name_of_the... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (date VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What date was the game score 103-94?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_26 WHERE score = \"103-94\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "Who is the away team that played home team of Perth Wildcats?"
},
{
"from": "gpt",
"value": "SELECT away_team FROM table_name_12 WHERE home_team = \"perth ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (score VARCHAR, date VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "What is the score of the game that was played on 29 November at State Sports Centre?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_29 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (date VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "What date did home team Gold Coast Blaze play?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_14 WHERE home_team = \"gold coast blaze\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (report VARCHAR, date VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What kind of report was for the game played on 29 November with Melbourne Tigers being the away team?"
},
{
"from": "gpt",
"value": "SELECT repo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (away_team VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "Who is the away team that played home team Perth Wildcats?"
},
{
"from": "gpt",
"value": "SELECT away_team FROM table_name_82 WHERE home_team = \"perth wil... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (opponent VARCHAR, week VARCHAR)"
},
{
"from": "human",
"value": "Who did they play in week 11?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_79 WHERE week = 11"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (date VARCHAR, week VARCHAR)"
},
{
"from": "human",
"value": "What day did they play in week 6?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_36 WHERE week = 6"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (date VARCHAR, score VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "Name the Date which has a Score of 3-1 and Attendances of 32 590?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_52 WHERE score = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (venue VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which Venue is on 2004-07-24?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_68 WHERE date = \"2004-07-24\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (score VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "Which Score has a Venue of idrottsparken?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_31 WHERE venue = \"idrottsparken\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (comp VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which Comp is on 2004-10-17?"
},
{
"from": "gpt",
"value": "SELECT comp FROM table_name_84 WHERE date = \"2004-10-17\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (venue VARCHAR, opponents VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which Venue has a Opponents of halmstad and a Score of 1-1?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_84 WHERE opponents = \"h... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (attendance VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "Which Attendance that has a Venue of ryavallen?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_66 WHERE venue = \"ryavallen\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (tournament VARCHAR, outcome VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is Tournament, when Outcome is Winner, and when Date is 13 July 2013?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_63... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (date VARCHAR, outcome VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is Date, when Outcome is Winner, and when Opponent is An-Sophie Mestach?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_68 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is Score, when Date is 10 July 2011?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_65 WHERE date = \"10 july 2011\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (network VARCHAR, play_by_play VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What network has a Play-by-play by Jack Edwards in 2000?"
},
{
"from": "gpt",
"value": "SELECT network FROM table_name_3 WHERE play_by_play =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (pregame_host VARCHAR, network VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the pregame host when Bold was the network?"
},
{
"from": "gpt",
"value": "SELECT pregame_host FROM table_name_98 WHERE network = \"bo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (play_by_play VARCHAR, color_commentator_s_ VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What was the Play-by-play when the color commentator was Eric Wynalda, earlier than 2005?"
},
{
"from": "gpt",
"value": "SELECT... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (pregame_host VARCHAR, color_commentator_s_ VARCHAR, play_by_play VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the pregame host when the Play-by-play was by JP Dellacamera, earlier than 2009, and Color commen... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (date VARCHAR, score VARCHAR, set_1 VARCHAR)"
},
{
"from": "human",
"value": "What date was the score 3–0, and set 1 was 25–22?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_88 WHERE score = \"3–0\" AND set_1 = \"2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (date VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What date was the total 56–75?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_31 WHERE total = \"56–75\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (set_1 VARCHAR, set_3 VARCHAR)"
},
{
"from": "human",
"value": "What is the Set 1 when Set 3 was 25–15?"
},
{
"from": "gpt",
"value": "SELECT set_1 FROM table_name_34 WHERE set_3 = \"25–15\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (date VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What date was the total 75–45?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_42 WHERE total = \"75–45\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (december INTEGER, opponent VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of the dates in december that were against the atlanta flames before game 40?"
},
{
"from": "gpt",
"value": "SELECT SUM(decembe... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (score VARCHAR, game VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What was the score of the game against montreal canadiens after game 26?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_59 WHERE game... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (round INTEGER, player VARCHAR)"
},
{
"from": "human",
"value": "In what Round was Grant Long Drafted?"
},
{
"from": "gpt",
"value": "SELECT MIN(round) FROM table_name_6 WHERE player = \"grant long\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (player VARCHAR, school_club_team VARCHAR)"
},
{
"from": "human",
"value": "What is the Player from Memphis?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_70 WHERE school_club_team = \"memphis\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (player VARCHAR, pick VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "What Player was picked after Round 2 with a Pick number larger than 33?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_58 WHERE pick >... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (round INTEGER, school_club_team VARCHAR)"
},
{
"from": "human",
"value": "In what Round was the Memphis Player drafted?"
},
{
"from": "gpt",
"value": "SELECT AVG(round) FROM table_name_75 WHERE school_club_team = \"memphis\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (school_club_team VARCHAR, years_for_grizzlies VARCHAR)"
},
{
"from": "human",
"value": "Which School/Club Team holds the 2006-2009 Years of Grizzlies ?"
},
{
"from": "gpt",
"value": "SELECT school_club_team FROM table_name_22 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (player VARCHAR, years_for_grizzlies VARCHAR)"
},
{
"from": "human",
"value": "Who was the Player in the 1998-2000 Year of Grizzlies?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_14 WHERE years_for_grizzlies = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (nationality VARCHAR, years_for_grizzlies VARCHAR)"
},
{
"from": "human",
"value": "What is the Nationality of the 1998-2000 Years for Grizzlies?"
},
{
"from": "gpt",
"value": "SELECT nationality FROM table_name_54 WHERE years_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (player VARCHAR, years_for_grizzlies VARCHAR, nationality VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "Who was the 1999-2002 Years for Grizzlies small forward Player who was from the United States?"
},
{
"from": "gpt... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (player VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "Which Player is the shooting guard?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_69 WHERE position = \"shooting guard\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (location_attendance VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What is the location and attendance of game 44?"
},
{
"from": "gpt",
"value": "SELECT location_attendance FROM table_name_65 WHERE game = 44"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (record VARCHAR, decision VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What is the record of game 42, which had a clemmensen decision?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_76 WHERE decision = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (country VARCHAR, to_par VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What country parred E and scored 71-73-70-74=288?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_19 WHERE to_par = \"e\" AND score... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (money___$__ VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "How much money was scored for 73-71-70-73=287?"
},
{
"from": "gpt",
"value": "SELECT money___$__ FROM table_name_13 WHERE score = 73 - 71 - 70 - 73 = 287"
... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.