conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_66 (nickname VARCHAR, founded VARCHAR)" }, { "from": "human", "value": "Which Nickname has Founded of 1954?" }, { "from": "gpt", "value": "SELECT nickname FROM table_name_66 WHERE founded = 1954" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (team VARCHAR, location_attendance VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Which team played in the Boston Garden when the final score was L 118-130?" }, { "from": "gpt", "value": "SELECT team FROM table_name_1...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (team VARCHAR, location_attendance VARCHAR, series VARCHAR)" }, { "from": "human", "value": "What team played at the Boston Garden when the series was 1-0?" }, { "from": "gpt", "value": "SELECT team FROM table_name_55 WHERE loc...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (driver VARCHAR, grid VARCHAR)" }, { "from": "human", "value": "Which driver had a grid of 2?" }, { "from": "gpt", "value": "SELECT driver FROM table_name_63 WHERE grid = 2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_79 (grid INTEGER, team VARCHAR, points VARCHAR)" }, { "from": "human", "value": "What is the smallest grid value that had 16 points and a team of Mi-Jack Conquest Racing?" }, { "from": "gpt", "value": "SELECT MIN(grid) FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (points VARCHAR, laps VARCHAR)" }, { "from": "human", "value": "What is the number of points associated with 165 laps?" }, { "from": "gpt", "value": "SELECT points FROM table_name_12 WHERE laps = 165" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (laps VARCHAR, points VARCHAR, grid VARCHAR)" }, { "from": "human", "value": "What is the total number of laps associated with 8 points and a grid under 8?" }, { "from": "gpt", "value": "SELECT COUNT(laps) FROM table_name_9 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_62 (height__ft_ INTEGER, height__m_ VARCHAR, year_built VARCHAR, location VARCHAR)" }, { "from": "human", "value": "What is the lowest height in feet for the building located in platz der einheit 1, gallus, that was built after 1961 with a he...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (height__m_ INTEGER, year_built VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is the sum of the heights in meters for the commerzbank tower built after 1984?" }, { "from": "gpt", "value": "SELECT SUM(height__m_) ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_26 (year_built INTEGER, location VARCHAR, height__m_ VARCHAR)" }, { "from": "human", "value": "What is the earliest year that the building in sonnemannstraße/rückertstraße, ostend was built with a height larger than 185 meters?" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (height__m_ INTEGER, location VARCHAR, height__ft_ VARCHAR)" }, { "from": "human", "value": "What is the lowest height in meters for the building located in mailänder straße 1, sachsenhausen-süd, with a height shorter than 328.1 ft?" }, ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_71 (population INTEGER, area_km_2 VARCHAR, official_name VARCHAR)" }, { "from": "human", "value": "What is the average population vlue for an area smaller than 26.69 square km and has an official name of Rogersville?" }, { "from": "gp...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (album VARCHAR, label VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What's the name of the album from 2012 with a Hammer Music / Nail Records label?" }, { "from": "gpt", "value": "SELECT album FROM table_name_50 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (year VARCHAR, hungarian_top_40_album_charts VARCHAR)" }, { "from": "human", "value": "What year had the Hungarian top 40 album charts of 3?" }, { "from": "gpt", "value": "SELECT year FROM table_name_69 WHERE hungarian_top_40_a...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (release_type VARCHAR, album VARCHAR)" }, { "from": "human", "value": "What type of release was Napisten Hava?" }, { "from": "gpt", "value": "SELECT release_type FROM table_name_81 WHERE album = \"napisten hava\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_44 (album VARCHAR, release_type VARCHAR)" }, { "from": "human", "value": "What was the name of the album that was a demo release?" }, { "from": "gpt", "value": "SELECT album FROM table_name_44 WHERE release_type = \"demo\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (serials_issued VARCHAR, serial_format VARCHAR, issued VARCHAR)" }, { "from": "human", "value": "What is the serials issued in 1982 with a format of ABC-123?" }, { "from": "gpt", "value": "SELECT serials_issued FROM table_name_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_46 (design VARCHAR, serial_format VARCHAR)" }, { "from": "human", "value": "Which design has a serial format of AB-12-34?" }, { "from": "gpt", "value": "SELECT design FROM table_name_46 WHERE serial_format = \"ab-12-34\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (serials_issued VARCHAR, design VARCHAR)" }, { "from": "human", "value": "Which serials were issued with a design of black on yellow?" }, { "from": "gpt", "value": "SELECT serials_issued FROM table_name_78 WHERE design = \"blac...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (outgoing_manager VARCHAR, team VARCHAR)" }, { "from": "human", "value": "WHo was the outgoing manager for the team of fc carl zeiss jena?" }, { "from": "gpt", "value": "SELECT outgoing_manager FROM table_name_36 WHERE team = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (team VARCHAR, manner_of_departure VARCHAR)" }, { "from": "human", "value": "What team did the manager come from who departed due to an end of tenure as caretaker?" }, { "from": "gpt", "value": "SELECT team FROM table_name_56 W...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_73 (date_of_appointment VARCHAR, replaced_by VARCHAR)" }, { "from": "human", "value": "What was the date of appointment for the replaced manager, reiner geyer?" }, { "from": "gpt", "value": "SELECT date_of_appointment FROM table_n...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)" }, { "from": "human", "value": "What was the date of vacancy after the outgoing manager, ralf santelli departed?" }, { "from": "gpt", "value": "SELECT date_of_vacancy FROM tab...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (outgoing_manager VARCHAR, manner_of_departure VARCHAR)" }, { "from": "human", "value": "Who was the outgoing manager who departed due to fc energie cottbus purchased rights?" }, { "from": "gpt", "value": "SELECT outgoing_manag...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_25 (pick VARCHAR, position VARCHAR, overall VARCHAR)" }, { "from": "human", "value": "How many times is the position lb and the overall is less than 46?" }, { "from": "gpt", "value": "SELECT COUNT(pick) FROM table_name_25 WHERE po...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (college VARCHAR, overall VARCHAR, name VARCHAR)" }, { "from": "human", "value": "what is the college when the overall is more than 76 for brian mitchell?" }, { "from": "gpt", "value": "SELECT college FROM table_name_98 WHERE o...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (pick VARCHAR, overall VARCHAR, college VARCHAR)" }, { "from": "human", "value": "what is the pick when the overall is less than 297 and the college is alabama?" }, { "from": "gpt", "value": "SELECT pick FROM table_name_16 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (round INTEGER, college VARCHAR)" }, { "from": "human", "value": "what is the highest round when the college is penn state?" }, { "from": "gpt", "value": "SELECT MAX(round) FROM table_name_72 WHERE college = \"penn state\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_41 (location VARCHAR)" }, { "from": "human", "value": "What is the 1989 number when the 200 number is less than 52.8 in Arizona, New Mexico, and Utah" }, { "from": "gpt", "value": "SELECT SUM(1989) FROM table_name_41 WHERE 2000 < ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_97 (location VARCHAR, reservation VARCHAR)" }, { "from": "human", "value": "What shows for 2000 at the Fort Peck Indian Reservation, Montana, when the 1979 is less than 26.8?" }, { "from": "gpt", "value": "SELECT AVG(2000) FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (Id VARCHAR)" }, { "from": "human", "value": "What is the 2000 number when the 1969 is 54.3, and the 1979 is less than 48.4?" }, { "from": "gpt", "value": "SELECT SUM(2000) FROM table_name_88 WHERE 1969 = 54.3 AND 1979 < 48.4" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (location VARCHAR)" }, { "from": "human", "value": "What is the 2000 number when the 1989 is less than 54.9 in Arizona, New Mexico, and Utah?" }, { "from": "gpt", "value": "SELECT SUM(2000) FROM table_name_94 WHERE 1989 < 54.9 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (reservation VARCHAR)" }, { "from": "human", "value": "What is the 1979 number for Standing Rock Indian Reservation when the 1989 is less than 54.9?" }, { "from": "gpt", "value": "SELECT SUM(1979) FROM table_name_51 WHERE reser...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_71 (kerry_percentage VARCHAR, others_number VARCHAR)" }, { "from": "human", "value": "What Kerry's percentage where 66 people voted for another candidate?" }, { "from": "gpt", "value": "SELECT kerry_percentage FROM table_name_71 W...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (laps INTEGER, time VARCHAR, grid VARCHAR)" }, { "from": "human", "value": "Can you tell me the average Laps that has the Time of +17.485, and the Grid smaller than 7?" }, { "from": "gpt", "value": "SELECT AVG(laps) FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (grid INTEGER, manufacturer VARCHAR, rider VARCHAR)" }, { "from": "human", "value": "Can you tell me the sum of Grid that has the Manufacturer of aprilia, and the sandro cortese?" }, { "from": "gpt", "value": "SELECT SUM(grid) ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (date VARCHAR, game VARCHAR)" }, { "from": "human", "value": "What was the date of game 21?" }, { "from": "gpt", "value": "SELECT date FROM table_name_85 WHERE game = 21" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (score_time VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the score of the game on June 10?" }, { "from": "gpt", "value": "SELECT score_time FROM table_name_10 WHERE date = \"june 10\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (round INTEGER, pick VARCHAR, college_junior_club_team VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What is Sum of Round, when College/Junior/Club Team is Brandon Wheat Kings ( WHL ), when Player is Mike Perovich (D), and when...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (round INTEGER, player VARCHAR, pick VARCHAR)" }, { "from": "human", "value": "What is the sum of Round, when Player is Tim Hunter (RW), and when Pick is less than 54?" }, { "from": "gpt", "value": "SELECT SUM(round) FROM table...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (outgoing_manager VARCHAR, replaced_by VARCHAR)" }, { "from": "human", "value": "Who is the outgoing manager who was replaced by jürgen klopp?" }, { "from": "gpt", "value": "SELECT outgoing_manager FROM table_name_64 WHERE repl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (date_of_appointment VARCHAR, replaced_by VARCHAR)" }, { "from": "human", "value": "What is the date of appointment of the manager who was replaced by markus babbel?" }, { "from": "gpt", "value": "SELECT date_of_appointment FRO...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)" }, { "from": "human", "value": "What was the manner of depature of the manager with a date of appointment on 23 November 2008?" }, { "from": "gpt", "value": "SELECT man...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_44 (replaced_by VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Who replaced the manager of team arminia bielefeld?" }, { "from": "gpt", "value": "SELECT replaced_by FROM table_name_44 WHERE team = \"arminia bielefeld\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (date_of_vacancy VARCHAR, team VARCHAR, date_of_appointment VARCHAR)" }, { "from": "human", "value": "What is the date of vacancy of team fc bayern munich, which had a date of appointment on 27 April 2009?" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_26 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR)" }, { "from": "human", "value": "What is the date of appointment of outgoing manager fred rutten, who had a sacked manner of departure?" }, { "fro...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (length VARCHAR, writer VARCHAR, release VARCHAR)" }, { "from": "human", "value": "What was the length when James Swallow had a release longer than 2.1?" }, { "from": "gpt", "value": "SELECT length FROM table_name_36 WHERE writ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (writer VARCHAR, title VARCHAR)" }, { "from": "human", "value": "Who wrote Infiltration?" }, { "from": "gpt", "value": "SELECT writer FROM table_name_86 WHERE title = \"infiltration\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (release INTEGER, director VARCHAR, title VARCHAR)" }, { "from": "human", "value": "What was the earliest release for Pathogen directed by Sharon Gosling?" }, { "from": "gpt", "value": "SELECT MIN(release) FROM table_name_81 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_54 (length VARCHAR, release VARCHAR)" }, { "from": "human", "value": "What was the length of release 3.6?" }, { "from": "gpt", "value": "SELECT length FROM table_name_54 WHERE release = 3.6" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (date VARCHAR, tournament VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What day was the score for tournament of alcobaça 6–3, 2–6, 7–5?" }, { "from": "gpt", "value": "SELECT date FROM table_name_21 WHERE tournament ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)" }, { "from": "human", "value": "What was the score for alcobaça when the opponent was in the final of xinyun han?" }, { "from": "gpt", "value": "SELECT score F...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)" }, { "from": "human", "value": "What was the score when the opponent was irena pavlovic and the surface was hard?" }, { "from": "gpt", "value": "SELECT score FROM...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (opponent_in_the_final VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What was the opponent in the final when the score was 6–3, 2–6, 7–5?" }, { "from": "gpt", "value": "SELECT opponent_in_the_final FROM table_name_69...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (date VARCHAR, surface VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What day was the surface clay and the score 6–1, 6–4?" }, { "from": "gpt", "value": "SELECT date FROM table_name_23 WHERE surface = \"clay\" AND sc...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (phoenician VARCHAR, hangul VARCHAR)" }, { "from": "human", "value": "What is the Phoenician letter for the Hangul of ㄹ?" }, { "from": "gpt", "value": "SELECT phoenician FROM table_name_77 WHERE hangul = \"ㄹ\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_13 (latin VARCHAR, tibetan VARCHAR)" }, { "from": "human", "value": "What is the Latin letter for the Tibetan of ས?" }, { "from": "gpt", "value": "SELECT latin FROM table_name_13 WHERE tibetan = \"ས\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (greek VARCHAR, latin VARCHAR)" }, { "from": "human", "value": "to the Latin of f, y, u/v/w?" }, { "from": "gpt", "value": "SELECT greek FROM table_name_63 WHERE latin = \"f, y, u/v/w\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (hangul VARCHAR, greek VARCHAR)" }, { "from": "human", "value": "What is the Hangul equivalent of the Greek ϝ, υ?" }, { "from": "gpt", "value": "SELECT hangul FROM table_name_96 WHERE greek = \"ϝ, υ\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (latin VARCHAR, ’phagspa VARCHAR)" }, { "from": "human", "value": "What is the Latin equivalent for the Phagspa of ꡙ?" }, { "from": "gpt", "value": "SELECT latin FROM table_name_72 WHERE ’phagspa = \"ꡙ\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_93 (court_surface VARCHAR, began INTEGER)" }, { "from": "human", "value": "What was the surface played on for the match than began before 1897?" }, { "from": "gpt", "value": "SELECT court_surface FROM table_name_93 WHERE began < 1...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (country VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "For the Indian Wells Masters tournament, what was the country?" }, { "from": "gpt", "value": "SELECT country FROM table_name_96 WHERE tournament = \"indian ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (location VARCHAR, court_surface VARCHAR, country VARCHAR)" }, { "from": "human", "value": "Which location was in China, and played on a hard court?" }, { "from": "gpt", "value": "SELECT location FROM table_name_69 WHERE court_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_83 (country VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "What country was the Paris Masters tournament played in?" }, { "from": "gpt", "value": "SELECT country FROM table_name_83 WHERE tournament = \"paris masters...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (opponents VARCHAR, h___a VARCHAR, scorers VARCHAR)" }, { "from": "human", "value": "Who was the opponent when the H/A was H and the scorer was Ferguson?" }, { "from": "gpt", "value": "SELECT opponents FROM table_name_14 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (opponents VARCHAR, h___a VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Who was the opponent on 11 August 1991 when the H/A was H?" }, { "from": "gpt", "value": "SELECT opponents FROM table_name_96 WHERE h___a = \"h\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (h___a VARCHAR, scorers VARCHAR)" }, { "from": "human", "value": "What was the H/A when the scorer was Hughes?" }, { "from": "gpt", "value": "SELECT h___a FROM table_name_50 WHERE scorers = \"hughes\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (rank INTEGER, gross VARCHAR)" }, { "from": "human", "value": "What was the film that grossed $26,010,864 ranked?" }, { "from": "gpt", "value": "SELECT MIN(rank) FROM table_name_76 WHERE gross = \"$26,010,864\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_79 (gross VARCHAR, studio VARCHAR, title VARCHAR)" }, { "from": "human", "value": "How much did Universal Studio's film Xanadu gross?" }, { "from": "gpt", "value": "SELECT gross FROM table_name_79 WHERE studio = \"universal\" AND ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (rank INTEGER, title VARCHAR)" }, { "from": "human", "value": "What is the rank of Bronco Billy?" }, { "from": "gpt", "value": "SELECT AVG(rank) FROM table_name_21 WHERE title = \"bronco billy\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_42 (founded INTEGER, nickname VARCHAR)" }, { "from": "human", "value": "Name the lowest Founded with the Name cougars?" }, { "from": "gpt", "value": "SELECT MIN(founded) FROM table_name_42 WHERE nickname = \"cougars\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (affiliation VARCHAR, nickname VARCHAR)" }, { "from": "human", "value": "Which Affiliation has a Nickname of cougars?" }, { "from": "gpt", "value": "SELECT affiliation FROM table_name_47 WHERE nickname = \"cougars\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_6 (founded INTEGER, affiliation VARCHAR)" }, { "from": "human", "value": "Name the Founded which has a Affiliation of private/methodist?" }, { "from": "gpt", "value": "SELECT MAX(founded) FROM table_name_6 WHERE affiliation = \"pr...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (label VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is Label, when Date is 1987?" }, { "from": "gpt", "value": "SELECT label FROM table_name_57 WHERE date = \"1987\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_65 (date VARCHAR, format VARCHAR, label VARCHAR)" }, { "from": "human", "value": "What is Date, when Format is Vinyl, and when Label is Mercury?" }, { "from": "gpt", "value": "SELECT date FROM table_name_65 WHERE format = \"vinyl\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (date VARCHAR, region VARCHAR)" }, { "from": "human", "value": "What is Date, when Region is Yugoslavia?" }, { "from": "gpt", "value": "SELECT date FROM table_name_33 WHERE region = \"yugoslavia\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (format VARCHAR, catalogue VARCHAR, label VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is Format, when Label is Bronze, when Date is 1982, and when Catalogue is 204 636?" }, { "from": "gpt", "value": "SELECT for...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (date VARCHAR, label VARCHAR)" }, { "from": "human", "value": "What is Date, when Label is Jugoton?" }, { "from": "gpt", "value": "SELECT date FROM table_name_48 WHERE label = \"jugoton\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (premiere_date VARCHAR, cycle INTEGER)" }, { "from": "human", "value": "What is Premier Date, when Cycle is less than 2?" }, { "from": "gpt", "value": "SELECT premiere_date FROM table_name_53 WHERE cycle < 2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (cycle INTEGER, number_of_contestants VARCHAR, international_destinations VARCHAR)" }, { "from": "human", "value": "What is the lowest Cycle, when Number Of Contestants is 11, and when International Destinations is Paris Gran Canaria?" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (cycle INTEGER, number_of_contestants VARCHAR, premiere_date VARCHAR)" }, { "from": "human", "value": "What is the highest Cycle, when the Number of Constestants is 11, and when Premiere Date is September 3, 2012?" }, { "from": "gp...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (number_of_contestants VARCHAR, cycle VARCHAR)" }, { "from": "human", "value": "What is Number of Contestants, when Cycle is 4?" }, { "from": "gpt", "value": "SELECT number_of_contestants FROM table_name_81 WHERE cycle = 4" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (number_of_contestants VARCHAR, international_destinations VARCHAR)" }, { "from": "human", "value": "What is Number of Contestants, when International Destinations is London Lisbon?" }, { "from": "gpt", "value": "SELECT number_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (pick INTEGER, round VARCHAR, overall VARCHAR)" }, { "from": "human", "value": "What is the lowest pick with fewer than 3 rounds and more than 4 overall?" }, { "from": "gpt", "value": "SELECT MIN(pick) FROM table_name_15 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (round VARCHAR, position VARCHAR, overall VARCHAR)" }, { "from": "human", "value": "Which round has more than 79 overall and a position of QB?" }, { "from": "gpt", "value": "SELECT round FROM table_name_60 WHERE position = \"qb...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (position VARCHAR, round VARCHAR, pick VARCHAR, college VARCHAR)" }, { "from": "human", "value": "Which Notre Dame position has a pick lower than 5 and round 7?" }, { "from": "gpt", "value": "SELECT position FROM table_name_88 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (date VARCHAR, week VARCHAR)" }, { "from": "human", "value": "What was week 17's date?" }, { "from": "gpt", "value": "SELECT date FROM table_name_21 WHERE week = 17" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (opponent VARCHAR, result VARCHAR)" }, { "from": "human", "value": "Which Opponent has a Result of l 24–3?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_16 WHERE result = \"l 24–3\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (result VARCHAR, week VARCHAR)" }, { "from": "human", "value": "What was week 5's result?" }, { "from": "gpt", "value": "SELECT result FROM table_name_81 WHERE week = 5" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (score VARCHAR, location_attendance VARCHAR, high_assists VARCHAR)" }, { "from": "human", "value": "What was the score for Groves High School when the high assist was Giovanni Riley (9)?" }, { "from": "gpt", "value": "SELECT sc...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (high_points VARCHAR, opponent VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the high points for opponent Mid-Michigan destroyers on January 3?" }, { "from": "gpt", "value": "SELECT high_points FROM table_nam...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (opponent VARCHAR, location_attendance VARCHAR)" }, { "from": "human", "value": "What opponent is at Richmond Academy?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_38 WHERE location_attendance = \"richmond aca...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (high_points VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What were the high points on March 29?" }, { "from": "gpt", "value": "SELECT high_points FROM table_name_88 WHERE date = \"march 29\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (opponent VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Which opponent scored 95-101?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_34 WHERE score = \"95-101\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (_m__best_ VARCHAR, _fairest VARCHAR, president VARCHAR, _m__coach VARCHAR)" }, { "from": "human", "value": "Who was the (M) Best & Fairest when ray kaduck was president and richard keane was coach?" }, { "from": "gpt", "value":...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_44 (_m__finishing_position VARCHAR, president VARCHAR, _m__coach VARCHAR)" }, { "from": "human", "value": "What was the (M) Finishe position when ray kaduck was president and corey bowen was coach?" }, { "from": "gpt", "value": "S...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (game INTEGER, score VARCHAR)" }, { "from": "human", "value": "Which Game has a Score of l 102–114 (ot)?" }, { "from": "gpt", "value": "SELECT AVG(game) FROM table_name_90 WHERE score = \"l 102–114 (ot)\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (record VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Which Record has a Date of january 31?" }, { "from": "gpt", "value": "SELECT record FROM table_name_18 WHERE date = \"january 31\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (record VARCHAR, game VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Which Record has a Game larger than 34, and a Date of january 9?" }, { "from": "gpt", "value": "SELECT record FROM table_name_34 WHERE game > 34 AND ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (location_attendance VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Which Location Attendance has a Record of 11–34?" }, { "from": "gpt", "value": "SELECT location_attendance FROM table_name_27 WHERE record = \"11–34...
know_sql
chosen