conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (year VARCHAR, tournament VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "What was the year of the World Half Marathon Championships with a result of 3rd?"
},
{
"from": "gpt",
"value": "SELECT year FROM table_name_5 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (result VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What was the result of the tournament in 2001?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_67 WHERE year = 2001"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (capacity INTEGER, navigator VARCHAR)"
},
{
"from": "human",
"value": "What is the average capacity for the vehicle having a navigator of Macneall?"
},
{
"from": "gpt",
"value": "SELECT AVG(capacity) FROM table_name_89 WHERE na... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (vehicle VARCHAR, class VARCHAR)"
},
{
"from": "human",
"value": "Which vehicle had a class of CM14?"
},
{
"from": "gpt",
"value": "SELECT vehicle FROM table_name_8 WHERE class = \"cm14\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (driver VARCHAR, class VARCHAR, navigator VARCHAR)"
},
{
"from": "human",
"value": "Who was the driver of the vehicle having class of CM22 and navigator of Macneall?"
},
{
"from": "gpt",
"value": "SELECT driver FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (total_time VARCHAR, navigator VARCHAR)"
},
{
"from": "human",
"value": "What is the total time of the vehicle having a navigator of Vandenberg?"
},
{
"from": "gpt",
"value": "SELECT total_time FROM table_name_79 WHERE navigato... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What is the bronze with more than 2 gold and less than 14 total and 4 silver?"
},
{
"from": "gpt",
"value": "SELECT AVG(bronze) FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (silver INTEGER, total VARCHAR)"
},
{
"from": "human",
"value": "How many silvers are there with a total of 11?"
},
{
"from": "gpt",
"value": "SELECT SUM(silver) FROM table_name_83 WHERE total = 11"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (silver VARCHAR, gold VARCHAR, nation VARCHAR)"
},
{
"from": "human",
"value": "How many silvers are there with more than 2 golds in Germany?"
},
{
"from": "gpt",
"value": "SELECT COUNT(silver) FROM table_name_81 WHERE gold > 2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (reaction INTEGER, heat VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the average reaction for brigitte foster-hylton after heat 1?"
},
{
"from": "gpt",
"value": "SELECT AVG(reaction) FROM table_name_53 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (round VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "What round did the home team Pohang Steelers play?"
},
{
"from": "gpt",
"value": "SELECT round FROM table_name_32 WHERE home_team = \"pohang steelers\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (round INTEGER, away_team VARCHAR)"
},
{
"from": "human",
"value": "What is the latest round for Pohang Steelers as the away team?"
},
{
"from": "gpt",
"value": "SELECT MAX(round) FROM table_name_28 WHERE away_team = \"pohang s... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (album VARCHAR, remix VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "what is the album when the remix is dead guys remix and the year is after 2003?"
},
{
"from": "gpt",
"value": "SELECT album FROM table_name_51 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (pick INTEGER, player VARCHAR)"
},
{
"from": "human",
"value": "What is Joselito Escobar's Pick number?"
},
{
"from": "gpt",
"value": "SELECT SUM(pick) FROM table_name_96 WHERE player = \"joselito escobar\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (player VARCHAR, college VARCHAR, pick VARCHAR)"
},
{
"from": "human",
"value": "What is the Pick 3 Player from East College?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_67 WHERE college = \"east\" AND pick = 3... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (pba_team VARCHAR, college VARCHAR)"
},
{
"from": "human",
"value": "What is Ateneo de Manila's PBA Team?"
},
{
"from": "gpt",
"value": "SELECT pba_team FROM table_name_96 WHERE college = \"ateneo de manila\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (college VARCHAR, pick VARCHAR, pba_team VARCHAR)"
},
{
"from": "human",
"value": "What is the College of the Player from PBA Team Alaska Milkmen with a Pick number of 3 or less?"
},
{
"from": "gpt",
"value": "SELECT college FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (college VARCHAR, pba_team VARCHAR)"
},
{
"from": "human",
"value": "What is the College of the Player from San Miguel Beermen PBA Team?"
},
{
"from": "gpt",
"value": "SELECT college FROM table_name_31 WHERE pba_team = \"san mi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (Web VARCHAR, client VARCHAR, project VARCHAR)"
},
{
"from": "human",
"value": "who is the web client when the client is x and the project is goto servers vnc java server (gsvncj)?"
},
{
"from": "gpt",
"value": "SELECT Web AS c... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (color_quality VARCHAR, relay VARCHAR)"
},
{
"from": "human",
"value": "what is the color quality when the relay is ✓?"
},
{
"from": "gpt",
"value": "SELECT color_quality FROM table_name_9 WHERE relay = \"✓\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (proxy VARCHAR, license VARCHAR, image_quality VARCHAR, encryption VARCHAR)"
},
{
"from": "human",
"value": "what is the proxy when the image quality is ✓, the encryption is ssl and the license is proprietary?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (image_quality VARCHAR, date VARCHAR, multiple_sessions VARCHAR, authentication VARCHAR)"
},
{
"from": "human",
"value": "what is the image quality when the multiple sessions is x, the authentication is ✓ and the date is may 15, 2007?"
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (cores VARCHAR, l3_cache VARCHAR, model_number VARCHAR)"
},
{
"from": "human",
"value": "What is listed for the Cores that has the L3 cache of 8 MB and Model number of Core i7-860?"
},
{
"from": "gpt",
"value": "SELECT cores FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (memory VARCHAR, turbo VARCHAR, release_date VARCHAR)"
},
{
"from": "human",
"value": "What Memory has a Turbo of 2/2/4/5 and the Release date of May 2010?"
},
{
"from": "gpt",
"value": "SELECT memory FROM table_name_32 WHERE t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (model_number VARCHAR, sspec_number VARCHAR)"
},
{
"from": "human",
"value": "What Model number has the sSpec numebr of SLBJG(B1)?"
},
{
"from": "gpt",
"value": "SELECT model_number FROM table_name_30 WHERE sspec_number = \"slb... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (turbo VARCHAR, release_price___usd__ VARCHAR)"
},
{
"from": "human",
"value": "What Turbo has the Release price (USD) of $583?"
},
{
"from": "gpt",
"value": "SELECT turbo FROM table_name_29 WHERE release_price___usd__ = \"$583... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (prominence__m_ INTEGER, elevation__m_ VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest prominence for a peak with elevation of 3,615 meters?"
},
{
"from": "gpt",
"value": "SELECT MIN(prominence__m_) FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (col__m_ VARCHAR, elevation__m_ VARCHAR)"
},
{
"from": "human",
"value": "What is the Col entry for the peak with an elevation of 2,308 meters?"
},
{
"from": "gpt",
"value": "SELECT COUNT(col__m_) FROM table_name_86 WHERE eleva... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (actor VARCHAR, character VARCHAR)"
},
{
"from": "human",
"value": "who is the actor that played rachel mckenna?"
},
{
"from": "gpt",
"value": "SELECT actor FROM table_name_64 WHERE character = \"rachel mckenna\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (actor VARCHAR, soap_opera VARCHAR, years VARCHAR)"
},
{
"from": "human",
"value": "who is the actor for shortland street for the years 1993–1999, 2001–2003, 2007, 2009—?"
},
{
"from": "gpt",
"value": "SELECT actor FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (soap_opera VARCHAR, years VARCHAR)"
},
{
"from": "human",
"value": "what is the soap opera when the years are 2000–2004, 2005—?"
},
{
"from": "gpt",
"value": "SELECT soap_opera FROM table_name_10 WHERE years = \"2000–2004, 200... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (character VARCHAR, duration VARCHAR)"
},
{
"from": "human",
"value": "what is the character with the duration of 11 years?"
},
{
"from": "gpt",
"value": "SELECT character FROM table_name_47 WHERE duration = \"11 years\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (soap_opera VARCHAR, actor VARCHAR)"
},
{
"from": "human",
"value": "what is the soap opera for elin sogn?"
},
{
"from": "gpt",
"value": "SELECT soap_opera FROM table_name_48 WHERE actor = \"elin sogn\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (station VARCHAR, owned_since VARCHAR, channel___tv___rf__ VARCHAR)"
},
{
"from": "human",
"value": "What station was owned since 2011, and a channel (tv/rf) of 27?"
},
{
"from": "gpt",
"value": "SELECT station FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (affiliation VARCHAR, owned_since VARCHAR, channel___tv___rf__ VARCHAR)"
},
{
"from": "human",
"value": "What affiliation has an owned since larger than 1991, and also has a channel (tv/rf) of 42?"
},
{
"from": "gpt",
"value": ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (city_of_license__market VARCHAR, channel___tv___rf__ VARCHAR, owned_since VARCHAR, affiliation VARCHAR)"
},
{
"from": "human",
"value": "What city of license/market has an owned since before 2011,and a affiliation of abc and channel (tv/r... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (prominence__m_ INTEGER, elevation__m_ VARCHAR)"
},
{
"from": "human",
"value": "COunt the sum of Prominence (m) of an Elevation (m) of 2,024?"
},
{
"from": "gpt",
"value": "SELECT SUM(prominence__m_) FROM table_name_69 WHERE e... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (prominence__m_ INTEGER, col__m_ INTEGER)"
},
{
"from": "human",
"value": "Count the Prominence (m) of Col (m) smaller than 0?"
},
{
"from": "gpt",
"value": "SELECT AVG(prominence__m_) FROM table_name_9 WHERE col__m_ < 0"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (col__m_ INTEGER, peak VARCHAR, prominence__m_ VARCHAR)"
},
{
"from": "human",
"value": "Name the lowest Col (m) with a Peak of pico basilé, and a Prominence (m) smaller than 3,011?"
},
{
"from": "gpt",
"value": "SELECT MIN(col... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (week VARCHAR, tv_time VARCHAR)"
},
{
"from": "human",
"value": "What is the Week of the game with TV Time of Fox 4:15ET?"
},
{
"from": "gpt",
"value": "SELECT COUNT(week) FROM table_name_81 WHERE tv_time = \"fox 4:15et\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (tv_time VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the TV Time of the game on December 27, 2003?"
},
{
"from": "gpt",
"value": "SELECT tv_time FROM table_name_51 WHERE date = \"december 27, 2003\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (opponent VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What is the Opponent at the game with Attendance of 68,436?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_97 WHERE attendance = \"68,436\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (attendance VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the Attendance at the game against the Cincinnati Bengals?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_7 WHERE opponent = \"cin... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (opponent VARCHAR, week VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "What is the Opponent of the game after Week 3 with a Result of L 10–6?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_86 WHERE we... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (date VARCHAR, tv_time VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "What is the Date of the Game with a Result of w 22–16 in TV Time of CBS 1:00ET?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_90 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (venue VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "At what Venue was the Attendance 47,678?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_81 WHERE attendance = \"47,678\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (attendance VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the Attendance of New Zealand Scores in bold?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_6 WHERE date = \"new zealand scores in bo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (lost VARCHAR, drawn VARCHAR, bonus_points VARCHAR)"
},
{
"from": "human",
"value": "What is the number of lost games when 2 were drawn, and there were 6 bonus points?"
},
{
"from": "gpt",
"value": "SELECT lost FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (bonus_points VARCHAR, drawn VARCHAR)"
},
{
"from": "human",
"value": "What is the number of bonus points when there are 4 drawn?"
},
{
"from": "gpt",
"value": "SELECT bonus_points FROM table_name_28 WHERE drawn = \"4\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (bonus_points VARCHAR, drawn VARCHAR, points_against VARCHAR)"
},
{
"from": "human",
"value": "What is the number of bonus points when there are 2 drawn and the points against is 599?"
},
{
"from": "gpt",
"value": "SELECT bonus... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (lost VARCHAR, played VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "What is the lost number when the team played 26 games and there were 83 points?"
},
{
"from": "gpt",
"value": "SELECT lost FROM table_name_32 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (lost VARCHAR, drawn VARCHAR, points_against VARCHAR)"
},
{
"from": "human",
"value": "What is the lost number for the team with 2 drawn games, and 572 points against?"
},
{
"from": "gpt",
"value": "SELECT lost FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (bonus_points VARCHAR, drawn VARCHAR, points_for VARCHAR)"
},
{
"from": "human",
"value": "What is the number of bonus points for the team with 2 drawn games and 475 points?"
},
{
"from": "gpt",
"value": "SELECT bonus_points FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (transfer_fee VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the transfer fee for Helguera?"
},
{
"from": "gpt",
"value": "SELECT transfer_fee FROM table_name_23 WHERE name = \"helguera\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (transfer_fee VARCHAR, moving_from VARCHAR)"
},
{
"from": "human",
"value": "What was the transfer fee when the moving from was celta de Vigo?"
},
{
"from": "gpt",
"value": "SELECT transfer_fee FROM table_name_25 WHERE moving_f... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (transfer_window VARCHAR, moving_from VARCHAR)"
},
{
"from": "human",
"value": "What was the transfer window with a moving from of fenerbahçe?"
},
{
"from": "gpt",
"value": "SELECT transfer_window FROM table_name_21 WHERE movin... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (nat VARCHAR, moving_from VARCHAR)"
},
{
"from": "human",
"value": "What nation had a moving from of espanyol?"
},
{
"from": "gpt",
"value": "SELECT nat FROM table_name_97 WHERE moving_from = \"espanyol\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (transfer_fee VARCHAR, ends VARCHAR)"
},
{
"from": "human",
"value": "What was the transfer fee for the player with an ends of 2007?"
},
{
"from": "gpt",
"value": "SELECT transfer_fee FROM table_name_79 WHERE ends = 2007"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (series VARCHAR, release_date VARCHAR)"
},
{
"from": "human",
"value": "What is the Series of the Filmography with a Release date of 1946-03-16?"
},
{
"from": "gpt",
"value": "SELECT series FROM table_name_85 WHERE release_date... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (director VARCHAR, production_number VARCHAR)"
},
{
"from": "human",
"value": "Who is the Director of the Filmography with Production Number of 11-14?"
},
{
"from": "gpt",
"value": "SELECT director FROM table_name_76 WHERE prod... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (series VARCHAR, release_date VARCHAR)"
},
{
"from": "human",
"value": "What is the Series of the Filmography with Release date of 1946-01-05?"
},
{
"from": "gpt",
"value": "SELECT series FROM table_name_1 WHERE release_date = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (series VARCHAR, production_number VARCHAR)"
},
{
"from": "human",
"value": "What is the Series of the Filmography with a Production Number of M-4-15?"
},
{
"from": "gpt",
"value": "SELECT series FROM table_name_37 WHERE produc... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (venue VARCHAR, score VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "What venue has a score of 4-0 with the 2002 Tiger Cup listed as the competition?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (competition VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What competition has a score of 1-3?"
},
{
"from": "gpt",
"value": "SELECT competition FROM table_name_47 WHERE score = \"1-3\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (competition VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What competition listed is dated November 17, 2003?"
},
{
"from": "gpt",
"value": "SELECT competition FROM table_name_32 WHERE date = \"november 17, 2003\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (venue VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What venue listed is dated February 22, 2003?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_4 WHERE date = \"february 22, 2003\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (venue VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "What venue is listed as having a competition titled Friendly?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_88 WHERE competition = \"friendly\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (notes VARCHAR, time___sec__ VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "Which Notes have a Time larger than 23.34, and a Rank of 8?"
},
{
"from": "gpt",
"value": "SELECT notes FROM table_name_24 WHERE time___sec__ ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (week INTEGER, date VARCHAR)"
},
{
"from": "human",
"value": "In what week was the December 21, 1969 game?"
},
{
"from": "gpt",
"value": "SELECT AVG(week) FROM table_name_68 WHERE date = \"december 21, 1969\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (opposing_team VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "Which Opposing Team has a Venue of rectory ground, devonport?"
},
{
"from": "gpt",
"value": "SELECT opposing_team FROM table_name_14 WHERE venue = \"rector... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (date VARCHAR, opposing_team VARCHAR)"
},
{
"from": "human",
"value": "When has an Opposing Team of mid-districts?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_72 WHERE opposing_team = \"mid-districts\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (class__old__to_1868 VARCHAR, quantity INTEGER)"
},
{
"from": "human",
"value": "Can you tell me the Class (old) to 1868 that has the Quantity larger than 8?"
},
{
"from": "gpt",
"value": "SELECT class__old__to_1868 FROM table_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (date VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What was the date of the Cross Code debut that had an Int'l Debut in the year 2008?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_20 WHERE year = \"2008... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (year VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What year did Coenraad Breytenbach have their Int'l Debut?"
},
{
"from": "gpt",
"value": "SELECT year FROM table_name_92 WHERE player = \"coenraad breytenbach\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (george_h_w_bush VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "What percent of respondents had no opinion on George H.W. Bush?"
},
{
"from": "gpt",
"value": "SELECT george_h_w_bush FROM table_name_84 WHERE result = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (lane INTEGER, heat VARCHAR, time VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What was Christian Kubusch's lane when the heat was more than 2 and time was DNS?"
},
{
"from": "gpt",
"value": "SELECT SUM(lane) FROM ta... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (lane INTEGER, nationality VARCHAR)"
},
{
"from": "human",
"value": "What's Bulgaria's lane?"
},
{
"from": "gpt",
"value": "SELECT AVG(lane) FROM table_name_19 WHERE nationality = \"bulgaria\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (lane INTEGER, nationality VARCHAR, heat VARCHAR)"
},
{
"from": "human",
"value": "What's Great Britain's lane with a heat less than 3?"
},
{
"from": "gpt",
"value": "SELECT AVG(lane) FROM table_name_40 WHERE nationality = \"gr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (lane INTEGER, nationality VARCHAR, heat VARCHAR)"
},
{
"from": "human",
"value": "What's Spain's lane with a heat less than 4?"
},
{
"from": "gpt",
"value": "SELECT AVG(lane) FROM table_name_93 WHERE nationality = \"spain\" AN... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (heat INTEGER, lane VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What's the heat in the lane less than 3 with a time of 14:48.39?"
},
{
"from": "gpt",
"value": "SELECT AVG(heat) FROM table_name_99 WHERE lane < 3 AND ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (heat INTEGER, lane VARCHAR, nationality VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What's China's heat for Zhang Lin in a lane after 6?"
},
{
"from": "gpt",
"value": "SELECT SUM(heat) FROM table_name_61 WHERE nati... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (bronze VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Who won bronze in 1994?"
},
{
"from": "gpt",
"value": "SELECT bronze FROM table_name_72 WHERE year = 1994"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (position VARCHAR, pick VARCHAR, college VARCHAR)"
},
{
"from": "human",
"value": "Which position was picked before 63, for Oklahoma College?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_46 WHERE pick < 63 AND... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (college VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "Which College has a Position of Offensive Tackle?"
},
{
"from": "gpt",
"value": "SELECT college FROM table_name_68 WHERE position = \"offensive tackle\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (player VARCHAR, balls VARCHAR)"
},
{
"from": "human",
"value": "Which player had 50 balls?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_21 WHERE balls = 50"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (release_date VARCHAR, title VARCHAR, series VARCHAR, director VARCHAR, production_number VARCHAR)"
},
{
"from": "human",
"value": "What date was Apes of Wrath written by Friz Freleng, production number higher than 1496 from series mm rele... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (production_number INTEGER, title VARCHAR, director VARCHAR, series VARCHAR)"
},
{
"from": "human",
"value": "What is the production number directed by Robert McKimson in series mm titled People Are Bunny?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (series VARCHAR, director VARCHAR, release_date VARCHAR)"
},
{
"from": "human",
"value": "What was the series of the episode directed by Abe Levitow released on 1959-06-27?"
},
{
"from": "gpt",
"value": "SELECT series FROM tabl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (release_date VARCHAR, title VARCHAR, production_number VARCHAR, director VARCHAR)"
},
{
"from": "human",
"value": "What is the release date of the episode named Mouse-Placed Kitten with an episode number less than 1495 directed by Robert ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (player VARCHAR, round INTEGER)"
},
{
"from": "human",
"value": "Which Player has a Round larger than 8?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_50 WHERE round > 8"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (nationality VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is tom cassidy's nationality?"
},
{
"from": "gpt",
"value": "SELECT nationality FROM table_name_25 WHERE player = \"tom cassidy\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (college_junior_club_team VARCHAR, pick VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "Which College/Junior/Club Team has a Pick larger than 70, and a Round smaller than 7?"
},
{
"from": "gpt",
"value": "SELECT college... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (player VARCHAR, round INTEGER)"
},
{
"from": "human",
"value": "Which Player has a Round larger than 8?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_87 WHERE round > 8"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (county VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "Which County has a Location of edinburgh?"
},
{
"from": "gpt",
"value": "SELECT county FROM table_name_74 WHERE location = \"edinburgh\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (enrollment INTEGER, location VARCHAR)"
},
{
"from": "human",
"value": "COunt the average Enrollment in hope?"
},
{
"from": "gpt",
"value": "SELECT AVG(enrollment) FROM table_name_32 WHERE location = \"hope\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (mascot VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR)"
},
{
"from": "human",
"value": "Which Mascot has IHSAA Class of aa, and a Enrollment larger than 369?"
},
{
"from": "gpt",
"value": "SELECT mascot FROM table_name_10 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (league_goals INTEGER, league_apps VARCHAR, fa_cup_goals VARCHAR)"
},
{
"from": "human",
"value": "what is the lowest league goals when the league apps is 1 and the fa cup goals is more than 0?"
},
{
"from": "gpt",
"value": "SEL... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (fa_cup_goals INTEGER, total_goals VARCHAR, total_apps VARCHAR)"
},
{
"from": "human",
"value": "what is the highest fa cup goals when the total goals is more than 3 and total apps is 31 (1)?"
},
{
"from": "gpt",
"value": "SELE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (league_goals VARCHAR, league_apps VARCHAR, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR)"
},
{
"from": "human",
"value": "what is the league goals when the fa cup goals is higher than 0, the fa cup apps is 2 and the league apps is 45?"
},
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (total_goals VARCHAR, fa_cup_goals VARCHAR, total_apps VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "how many times is the total apps 1 and the fa cup goals less than 0 for bob mountain?"
},
{
"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.