conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (lost VARCHAR, points VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "How much Lost has Points larger than 15, and a Name of ev pegnitz?"
},
{
"from": "gpt",
"value": "SELECT COUNT(lost) FROM table_name_23 WHERE points ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (english_translation VARCHAR, artist VARCHAR)"
},
{
"from": "human",
"value": "what is the english translation when the artist is ann christine?"
},
{
"from": "gpt",
"value": "SELECT english_translation FROM table_name_10 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (player VARCHAR, pick VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What player was picked earlier than 126 by the Houston Oilers?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_3 WHERE pick < 126 AND tea... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (college VARCHAR, pick VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What college was picked later than 122 by the Boston Patriots?"
},
{
"from": "gpt",
"value": "SELECT college FROM table_name_88 WHERE pick > 122 AND... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (to_par VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "what is the to par for geoff ogilvy?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_65 WHERE player = \"geoff ogilvy\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (country VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "what is the country for geoff ogilvy?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_88 WHERE player = \"geoff ogilvy\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (to_par VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "what is the to par for retief goosen?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_93 WHERE player = \"retief goosen\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (total VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "how many times is the player jim furyk?"
},
{
"from": "gpt",
"value": "SELECT COUNT(total) FROM table_name_55 WHERE player = \"jim furyk\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (lane INTEGER, time VARCHAR, react VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest lane in which an athlete got a time larger than 20.75 and a react smaller than 0.166?"
},
{
"from": "gpt",
"value": "SELECT MIN(lan... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (react INTEGER, time VARCHAR, athlete VARCHAR)"
},
{
"from": "human",
"value": "What is Christian Malcolm´s highest react when his time was below 20.58?"
},
{
"from": "gpt",
"value": "SELECT MAX(react) FROM table_name_72 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (position VARCHAR, pick VARCHAR, year_ VARCHAR, a_ VARCHAR)"
},
{
"from": "human",
"value": "what is the position when the year [A} is after 2011 and the pick is 28?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (player_name VARCHAR, pick VARCHAR, year_ VARCHAR, a_ VARCHAR)"
},
{
"from": "human",
"value": "Who is the player when the pick is 22 and the year [A] is after 1979?"
},
{
"from": "gpt",
"value": "SELECT player_name FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (player_name VARCHAR, pick VARCHAR, year_ VARCHAR, a_ VARCHAR)"
},
{
"from": "human",
"value": "who is the player when the pick is 15 and the year [A] is 2000?"
},
{
"from": "gpt",
"value": "SELECT player_name FROM table_name_7... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (country VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which country was the player from who scored 66-72-70=207?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_45 WHERE score = 66 - 72 - 70 = 207"
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What place was the player who scored 70-69-68=207?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_6 WHERE score = 70 - 69 - 68 = 207"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (country VARCHAR, place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What country was the player in t10 place with a score of 66-72-70=207?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_12 WHERE plac... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (to_par VARCHAR, country VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is the to par of United States' Cristie Kerr?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_66 WHERE country = \"united stat... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (original_artist VARCHAR, length VARCHAR)"
},
{
"from": "human",
"value": "Who is the original artist of the 3:00 song?"
},
{
"from": "gpt",
"value": "SELECT original_artist FROM table_name_87 WHERE length = \"3:00\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (song VARCHAR, length VARCHAR)"
},
{
"from": "human",
"value": "Which song lasts 3:34?"
},
{
"from": "gpt",
"value": "SELECT song FROM table_name_59 WHERE length = \"3:34\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (song VARCHAR, length VARCHAR)"
},
{
"from": "human",
"value": "Which song lasts 4:08?"
},
{
"from": "gpt",
"value": "SELECT song FROM table_name_86 WHERE length = \"4:08\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (bronze INTEGER, nation VARCHAR, silver VARCHAR)"
},
{
"from": "human",
"value": "How many bronze medals for Romania when the silver count is more than 1?"
},
{
"from": "gpt",
"value": "SELECT AVG(bronze) FROM table_name_96 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (manager VARCHAR, wpct VARCHAR, years VARCHAR, losses VARCHAR, wins VARCHAR)"
},
{
"from": "human",
"value": "Which manager had less than 287 losses, less than 80 wins, a win percentage of 0.296, and was employed in 1904?"
},
{
"fr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (us_hot_100 VARCHAR, us_r VARCHAR, b VARCHAR)"
},
{
"from": "human",
"value": "Which U.S. Hot has 13 as the U.S. R&B?"
},
{
"from": "gpt",
"value": "SELECT us_hot_100 FROM table_name_95 WHERE us_r & b = \"13\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (us_rap VARCHAR, album VARCHAR)"
},
{
"from": "human",
"value": "What U.S. Rap has life in the concrete jungle as the album?"
},
{
"from": "gpt",
"value": "SELECT us_rap FROM table_name_15 WHERE album = \"life in the concrete j... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (notes VARCHAR, built VARCHAR)"
},
{
"from": "human",
"value": "What are the Notes of the Mill Built in the 19th Century?"
},
{
"from": "gpt",
"value": "SELECT notes FROM table_name_27 WHERE built = \"19th century\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (type VARCHAR, name_of_mill VARCHAR)"
},
{
"from": "human",
"value": "What is the Type of Mill at Molen de Stud?"
},
{
"from": "gpt",
"value": "SELECT type FROM table_name_84 WHERE name_of_mill = \"molen de stud\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (name_of_mill VARCHAR, built VARCHAR)"
},
{
"from": "human",
"value": "What is the Name of the Mill Built in 1802?"
},
{
"from": "gpt",
"value": "SELECT name_of_mill FROM table_name_73 WHERE built = \"1802\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (location VARCHAR, built VARCHAR)"
},
{
"from": "human",
"value": "What is the Location of the Mill Built in the Early 19th Century?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_50 WHERE built = \"early 19th c... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (record VARCHAR, home VARCHAR, visitor VARCHAR)"
},
{
"from": "human",
"value": "What was the record for the game played by the home team San Francisco 49ers and visitor Philadelphia Eagles?"
},
{
"from": "gpt",
"value": "SELEC... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the record for the game played on September 27?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_26 WHERE date = \"september 27\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (place INTEGER, artist VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "What is the highest place of a song by Henri Dès that has fewer than 8 points?"
},
{
"from": "gpt",
"value": "SELECT MAX(place) FROM table_name_6 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (team_2 VARCHAR, date VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "What team was 2 on November 22, 2008 when the result was 1-0?"
},
{
"from": "gpt",
"value": "SELECT team_2 FROM table_name_82 WHERE date = \"novemb... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (team_2 VARCHAR, team_1 VARCHAR, ground VARCHAR)"
},
{
"from": "human",
"value": "What team was 2 when Tatung was team 1 at National Pei Men Senior High School?"
},
{
"from": "gpt",
"value": "SELECT team_2 FROM table_name_32 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (ground VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "Where was the game played that has a result of 0-4?"
},
{
"from": "gpt",
"value": "SELECT ground FROM table_name_36 WHERE result = \"0-4\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (team_2 VARCHAR, team_1 VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "What team is 2 when 1 is Taipower and the result is 0-1?"
},
{
"from": "gpt",
"value": "SELECT team_2 FROM table_name_90 WHERE team_1 = \"taipowe... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (team_2 VARCHAR, ground VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "What team is 2 when the game result is 0-4 at Pailing Sport Park?"
},
{
"from": "gpt",
"value": "SELECT team_2 FROM table_name_32 WHERE ground = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (points VARCHAR, place VARCHAR, draw VARCHAR, artist VARCHAR)"
},
{
"from": "human",
"value": "What is the total point value when there are less than 12 draws, the rank is less than 17, and Philipp Kirkorov is the artist?"
},
{
"fr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (place INTEGER, points VARCHAR, draw VARCHAR, english_translation VARCHAR)"
},
{
"from": "human",
"value": "What is the total ranking when there are less than 16 draws, less than 1 point, and the English translation is in love with you?"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (draw INTEGER, english_translation VARCHAR, points VARCHAR, place VARCHAR)"
},
{
"from": "human",
"value": "What is the highest draw number when there are more than 31 points, a rank greater than 6, and the English translation is listen to... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (population INTEGER, county VARCHAR)"
},
{
"from": "human",
"value": "What was the population of Green County?"
},
{
"from": "gpt",
"value": "SELECT MIN(population) FROM table_name_15 WHERE county = \"green\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (score VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What was the score of the game against Minnesota?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_69 WHERE opponent = \"minnesota\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (high_points VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What player had the high point on July 7?"
},
{
"from": "gpt",
"value": "SELECT high_points FROM table_name_21 WHERE date = \"july 7\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (format VARCHAR, single VARCHAR)"
},
{
"from": "human",
"value": "What's the format of the single, I Can't Stay?"
},
{
"from": "gpt",
"value": "SELECT format FROM table_name_6 WHERE single = \"i can't stay\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (backed_with VARCHAR, record_label VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What's the Backed after 2008 with a label of Wild World?"
},
{
"from": "gpt",
"value": "SELECT backed_with FROM table_name_24 WHERE reco... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (date INTEGER, other_details VARCHAR)"
},
{
"from": "human",
"value": "What's the date for Details of 1000 copies?"
},
{
"from": "gpt",
"value": "SELECT MIN(date) FROM table_name_74 WHERE other_details = \"1000 copies\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (nation VARCHAR, athlete VARCHAR, medal_count VARCHAR)"
},
{
"from": "human",
"value": "What nation has paavo nurmi as the athlete, with a medal count less than 12?"
},
{
"from": "gpt",
"value": "SELECT nation FROM table_name_6... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (sport VARCHAR, medal_count VARCHAR)"
},
{
"from": "human",
"value": "Which sport has 17 as the medal count?"
},
{
"from": "gpt",
"value": "SELECT sport FROM table_name_4 WHERE medal_count = 17"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (record_medal_event VARCHAR, medal_count VARCHAR, sport VARCHAR, athlete VARCHAR)"
},
{
"from": "human",
"value": "What record medal event has athletics as the sport, with robert garrett as the athlete, and a medal count less than 3?"
},... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (opponent VARCHAR, week VARCHAR)"
},
{
"from": "human",
"value": "What is the Opponent of the game in Week 3?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_21 WHERE week = 3"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the Attendance of the game on December 12, 2004?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_84 WHERE date = \"december 12, 2004\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (attendance VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the Attendance of the game against Jacksonville Jaguars?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_53 WHERE opponent = \"jac... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (score VARCHAR, player VARCHAR, money___£__ VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "Which Score has a Money ( £ ) of 90,400, and a Country of south africa, and a Player of thomas aiken? Question 1"
},
{
"from": "... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (money___£__ VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "How much Money( £ )australia has ?"
},
{
"from": "gpt",
"value": "SELECT money___£__ FROM table_name_11 WHERE country = \"australia\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (money___£__ VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR)"
},
{
"from": "human",
"value": "Count the Money ( £ ) of south africa with a To par of +1, and a Player of ernie els?"
},
{
"from": "gpt",
"value": "SELECT... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (place VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Where has a Player of tom watson?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_22 WHERE player = \"tom watson\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (score VARCHAR, to_par VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "Which Score has a To par of +1 in sweden?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_67 WHERE to_par = \"+1\" AND country = \"sw... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (to_par VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Which To par is of thomas aiken?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_77 WHERE player = \"thomas aiken\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the average expenditures on R&D for Croatia after 2007?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest expenditures on R&D for Poland after 2011?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (opposition VARCHAR, score VARCHAR, round VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "What is the Opposition in the First Round of the UEFA Cup with a Score of 3–1 (h), 2–0 (a)?"
},
{
"from": "gpt",
"value": ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (season VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the Season of the game with a Score of 0–2 (a), 3–1 (h)?"
},
{
"from": "gpt",
"value": "SELECT season FROM table_name_24 WHERE score = \"0–2 (a), 3–1 (h)\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (location VARCHAR, school VARCHAR, year_joined VARCHAR, previous_conference VARCHAR)"
},
{
"from": "human",
"value": "Which Location has a Year Joined of 1966, and a Previous Conference of noble county, and a School of wawaka?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (year_left INTEGER, location VARCHAR)"
},
{
"from": "human",
"value": "How much Year Left has a Location of howe?"
},
{
"from": "gpt",
"value": "SELECT SUM(year_left) FROM table_name_13 WHERE location = \"howe\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (school VARCHAR, year_left VARCHAR, mascot VARCHAR)"
},
{
"from": "human",
"value": "Which School has a Year Left of 1966, and a Mascot of indians?"
},
{
"from": "gpt",
"value": "SELECT school FROM table_name_8 WHERE year_left =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (elevator VARCHAR, elector VARCHAR)"
},
{
"from": "human",
"value": "Who was the Elevator of Giacomo Colonna?"
},
{
"from": "gpt",
"value": "SELECT elevator FROM table_name_21 WHERE elector = \"giacomo colonna\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (elevated VARCHAR, elevator VARCHAR, cardinalatial_order_and_title VARCHAR)"
},
{
"from": "human",
"value": "What is the date of elevation for the Cardinal elevated by Nicholas III to the title of Cardinal-Deacon of S. Eustachio?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (elevated VARCHAR, cardinalatial_order_and_title VARCHAR)"
},
{
"from": "human",
"value": "What was the date of elevation for the cardinal given the order and title of Cardinal-Priest of S. Pudenziana?"
},
{
"from": "gpt",
"val... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (games_behind__gb_ VARCHAR, division__div_ VARCHAR)"
},
{
"from": "human",
"value": "What are the games behind for the Oklahoma City Thunder division?"
},
{
"from": "gpt",
"value": "SELECT games_behind__gb_ FROM table_name_49 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (highest_elevation VARCHAR, lowest_point VARCHAR)"
},
{
"from": "human",
"value": "What is the highest elevation of a place where the lowest point is the Allaine River, National border?"
},
{
"from": "gpt",
"value": "SELECT hig... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (lowest_elevation VARCHAR, highest_point VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest elevation value whose highest point is Mont Raimeux?"
},
{
"from": "gpt",
"value": "SELECT lowest_elevation FROM table_name_6... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (rank INTEGER, lowest_point VARCHAR, canton VARCHAR)"
},
{
"from": "human",
"value": "What rank is Vaud with the lowest point is Lake Geneva?"
},
{
"from": "gpt",
"value": "SELECT SUM(rank) FROM table_name_19 WHERE lowest_point... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (rank INTEGER, canton VARCHAR)"
},
{
"from": "human",
"value": "Wich rank is given to the Canton of Schaffhausen?"
},
{
"from": "gpt",
"value": "SELECT SUM(rank) FROM table_name_4 WHERE canton = \"schaffhausen\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (highest_elevation VARCHAR, highest_point VARCHAR)"
},
{
"from": "human",
"value": "What is the highest elevation for the highest point of Schnebelhorn?"
},
{
"from": "gpt",
"value": "SELECT highest_elevation FROM table_name_7 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (highest_point VARCHAR, canton VARCHAR)"
},
{
"from": "human",
"value": "What is the Canton of Vaud's highest point?"
},
{
"from": "gpt",
"value": "SELECT highest_point FROM table_name_85 WHERE canton = \"vaud\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (type VARCHAR, in_service VARCHAR, vessel VARCHAR)"
},
{
"from": "human",
"value": "What type of ship is a Kobben class vessel that has been in service longer than 2?"
},
{
"from": "gpt",
"value": "SELECT type FROM table_name_1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (unit VARCHAR, type VARCHAR, origin VARCHAR)"
},
{
"from": "human",
"value": "What is the unit for a submarine type ship from Norway?"
},
{
"from": "gpt",
"value": "SELECT unit FROM table_name_74 WHERE type = \"submarine\" AND ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (opponent VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent with a 32-25 record?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_50 WHERE record = \"32-25\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (location_attendance VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What is the location/ attendance for a 35-28 record?"
},
{
"from": "gpt",
"value": "SELECT location_attendance FROM table_name_4 WHERE record = \"35-... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (year INTEGER, result VARCHAR, nominee_s_ VARCHAR)"
},
{
"from": "human",
"value": "What is the latest year when Neal Baer was a nominee, and the result was nominated?"
},
{
"from": "gpt",
"value": "SELECT MAX(year) FROM table_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (year INTEGER, nominee_s_ VARCHAR)"
},
{
"from": "human",
"value": "That is the total year that Neal Baer is a nominee?"
},
{
"from": "gpt",
"value": "SELECT SUM(year) FROM table_name_91 WHERE nominee_s_ = \"neal baer\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (episode VARCHAR, result VARCHAR, nominee_s_ VARCHAR)"
},
{
"from": "human",
"value": "For what episode was the nominee (s) Walon Green, Joe Sachs nominated as a result?"
},
{
"from": "gpt",
"value": "SELECT episode FROM table_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (result VARCHAR, nominee_s_ VARCHAR)"
},
{
"from": "human",
"value": "Nominee Neal Baer had what result?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_23 WHERE nominee_s_ = \"neal baer\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (episode VARCHAR, year VARCHAR, nominee_s_ VARCHAR)"
},
{
"from": "human",
"value": "What episode after 1998 had John Wells as the nominee?"
},
{
"from": "gpt",
"value": "SELECT episode FROM table_name_25 WHERE year > 1998 AND ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (world_record VARCHAR)"
},
{
"from": "human",
"value": "Who has the world record of 153kg in the clean & jerk?"
},
{
"from": "gpt",
"value": "SELECT 153 AS kg FROM table_name_27 WHERE world_record = \"clean & jerk\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (release_date VARCHAR, sspec_number VARCHAR)"
},
{
"from": "human",
"value": "What's the release date for the processor spec number SLBEQ(d0)?"
},
{
"from": "gpt",
"value": "SELECT release_date FROM table_name_29 WHERE sspec_nu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (release_date VARCHAR, model_number VARCHAR)"
},
{
"from": "human",
"value": "What's the release date of model number CORE I7-940?"
},
{
"from": "gpt",
"value": "SELECT release_date FROM table_name_27 WHERE model_number = \"cor... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (release_price___usd__ VARCHAR, i_o_bus VARCHAR, part_number_s_ VARCHAR)"
},
{
"from": "human",
"value": "What's the release price of the processor with the part number bx80601975at80601002274aa, and has 1 × 6.4 gt/s qpi I/O?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (release_price___usd__ VARCHAR, frequency VARCHAR, i_o_bus VARCHAR)"
},
{
"from": "human",
"value": "What's the release price of a processor that has a frequency of 3.2 ghz and 1 × 6.4 gt/s qpi I/O?"
},
{
"from": "gpt",
"value"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (aids_orphans_as__percentage_of_orphans INTEGER, double__aids_related_ VARCHAR, paternal__total_ VARCHAR)"
},
{
"from": "human",
"value": "What is the number of AIDS Orphans as % of Orphans when the Double (AIDS Related) number is 41,000, ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (total_orphans__total_ INTEGER, total_orphans__aids_related_ VARCHAR, maternal__total_ VARCHAR)"
},
{
"from": "human",
"value": "What is the Total Orphans number when the number of Total Orphans (AIDS Related) is < 100, and the Maternal (T... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (term_start VARCHAR, party VARCHAR)"
},
{
"from": "human",
"value": "What's the term start date for Meretz?"
},
{
"from": "gpt",
"value": "SELECT term_start FROM table_name_94 WHERE party = \"meretz\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (clubs_involved INTEGER, clubs_remaining VARCHAR)"
},
{
"from": "human",
"value": "How many clubs are involved when the clubs remaining are 2?"
},
{
"from": "gpt",
"value": "SELECT SUM(clubs_involved) FROM table_name_88 WHERE c... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (new_entries_this_round VARCHAR, leagues_entering_at_this_round VARCHAR)"
},
{
"from": "human",
"value": "How many new entries when the leagues entering in the round are tff third league & turkish regional amateur league?"
},
{
"fr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (clubs_remaining INTEGER, round VARCHAR)"
},
{
"from": "human",
"value": "What is the number of clubs remaining in the second round?"
},
{
"from": "gpt",
"value": "SELECT MIN(clubs_remaining) FROM table_name_65 WHERE round = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (round VARCHAR, clubs_involved VARCHAR)"
},
{
"from": "human",
"value": "Which round has 4 clubs involved?"
},
{
"from": "gpt",
"value": "SELECT round FROM table_name_51 WHERE clubs_involved = 4"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (clubs_involved INTEGER, winners_from_previous_round VARCHAR, clubs_remaining VARCHAR)"
},
{
"from": "human",
"value": "How many clubs are involved when there are 4 winners from the previous rounds and more than 4 clubs remaining?"
},
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (away_team VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the Away team at the game with a Score of 4 – 2?"
},
{
"from": "gpt",
"value": "SELECT away_team FROM table_name_29 WHERE score = \"4 – 2\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (tie_no VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What is the Tie no of the game with an Attendance of 4,658?"
},
{
"from": "gpt",
"value": "SELECT tie_no FROM table_name_34 WHERE attendance = \"4,658\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (home_team VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What is the Home team at the Lincoln City Away game?"
},
{
"from": "gpt",
"value": "SELECT home_team FROM table_name_80 WHERE away_team = \"lincoln city\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (away_team VARCHAR, score VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What is the Away team at the game with a Score of 1 – 0 and Attendance of 1,791?"
},
{
"from": "gpt",
"value": "SELECT away_team FROM table_... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.