conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (remarks VARCHAR, airline VARCHAR)"
},
{
"from": "human",
"value": "What is the Remark of Airline of Dutch Antilles Express?"
},
{
"from": "gpt",
"value": "SELECT remarks FROM table_name_79 WHERE airline = \"dutch antilles expr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (category VARCHAR, title VARCHAR, year VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "What Category has a Year that's smaller than 2006, has Result of Nominated, and a Title of Cold Feet?"
},
{
"from": "gpt",
"value"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (year INTEGER, title VARCHAR)"
},
{
"from": "human",
"value": "What is recorded as the lowest Year that has the Title of Cold Feet?"
},
{
"from": "gpt",
"value": "SELECT MIN(year) FROM table_name_96 WHERE title = \"cold feet\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (category VARCHAR, title VARCHAR, result VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What Category has a Result of Nominated, Year of 2006, and the Title of Pierrepoint?"
},
{
"from": "gpt",
"value": "SELECT categor... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (title VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What Title is listed for the Year of 1999?"
},
{
"from": "gpt",
"value": "SELECT title FROM table_name_63 WHERE year = 1999"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (year VARCHAR, result VARCHAR, title VARCHAR, award VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of Year for the Title of The Queen, has an Award of British Academy Film Award, and has a Result of Won?"
},
{
"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (date VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What was the date of the game against Northwestern?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_62 WHERE opponent = \"northwestern\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (opponent VARCHAR, city VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent when the city was Louisville?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_44 WHERE city = \"louisville\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (score VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What was the score of the game against Minnesota?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_55 WHERE opponent = \"minnesota\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (date VARCHAR, competition VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "On what date was a friendly competition and a result of 3–0?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_69 WHERE competition =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (date VARCHAR, score VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "When was the score 1–0, and the result 4–0?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_67 WHERE score = \"1–0\" AND result = \"4–0\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (result VARCHAR, score VARCHAR, venue VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the result at dakar , senegal, on 3 september 2011, and with a Score of 2–0?"
},
{
"from": "gpt",
"value": "SELECT result FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (time VARCHAR, rank VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Which time has a Rank larger than 3, and a Name of andrey kapralov?"
},
{
"from": "gpt",
"value": "SELECT time FROM table_name_31 WHERE rank > 3 AND na... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (nationality VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Which Nationality has a Name of igor koleda?"
},
{
"from": "gpt",
"value": "SELECT nationality FROM table_name_42 WHERE name = \"igor koleda\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (headquarters VARCHAR, company VARCHAR)"
},
{
"from": "human",
"value": "Where is the headquarters of the getinge group located?"
},
{
"from": "gpt",
"value": "SELECT headquarters FROM table_name_26 WHERE company = \"getinge gr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (s_asset__billion_ VARCHAR, profits__billion_$_ VARCHAR, revenue__billion_$__ VARCHAR, headquarters VARCHAR, market_value__billion_$_ VARCHAR)"
},
{
"from": "human",
"value": "How much is the total assets of a company based in Stockholm, S... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (date VARCHAR, opponents VARCHAR)"
},
{
"from": "human",
"value": "Name the date for zi yan jie zheng opponent"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_64 WHERE opponents = \"zi yan jie zheng\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (partner VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Name the partner for 14 october 2007"
},
{
"from": "gpt",
"value": "SELECT partner FROM table_name_75 WHERE date = \"14 october 2007\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (partner VARCHAR, opponents VARCHAR)"
},
{
"from": "human",
"value": "Name the partner for opponents of alexandra dulgheru magdaléna rybáriková"
},
{
"from": "gpt",
"value": "SELECT partner FROM table_name_43 WHERE opponents = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (opponents VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Name the opponents for 24 july 2011"
},
{
"from": "gpt",
"value": "SELECT opponents FROM table_name_45 WHERE date = \"24 july 2011\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (pick__number INTEGER, name VARCHAR, overall VARCHAR)"
},
{
"from": "human",
"value": "What is Ken Walter's lowest pick number with an overall pick number larger than 195?"
},
{
"from": "gpt",
"value": "SELECT MIN(pick__number)... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (appearance VARCHAR, polyphenyl_ether VARCHAR)"
},
{
"from": "human",
"value": "What does Polyphenyl Ether of 3- and 4-ring oxythio look like?"
},
{
"from": "gpt",
"value": "SELECT appearance FROM table_name_80 WHERE polyphenyl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (distance VARCHAR, course VARCHAR)"
},
{
"from": "human",
"value": "How long was the course from Naples to Foggia?"
},
{
"from": "gpt",
"value": "SELECT distance FROM table_name_2 WHERE course = \"naples to foggia\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (score VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "Name the score with opponent of milos raonic"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_82 WHERE opponent = \"milos raonic\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (date VARCHAR, surface VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "Name the date with a hard surface and tournament of usa f5, brownsville"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_83 WHERE su... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (outcome VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "Name the outcome with tournament of mexico f12, obregón"
},
{
"from": "gpt",
"value": "SELECT outcome FROM table_name_57 WHERE tournament = \"mexico f12, ob... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (tournament VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Name the tournament for march 25, 2012"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_24 WHERE date = \"march 25, 2012\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (score_in_the_final VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the final score for the August 25, 1996 match?"
},
{
"from": "gpt",
"value": "SELECT score_in_the_final FROM table_name_29 WHERE date = \"augu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (year INTEGER, points VARCHAR, engine VARCHAR)"
},
{
"from": "human",
"value": "What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine?"
},
{
"from": "gpt",
"value": "SELECT AVG(yea... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What entrant had a Maserati 250F chassis and fewer than 6 points before 1957?"
},
{
"from": "gpt",
"value": "SELECT entrant FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (chassis VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What chassis has a year of 1951?"
},
{
"from": "gpt",
"value": "SELECT chassis FROM table_name_7 WHERE year = 1951"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (chassis VARCHAR, points VARCHAR, engine VARCHAR, entrant VARCHAR)"
},
{
"from": "human",
"value": "What is the chassis of Officine Alfieri Maserati with a Maserati Straight-6 engine and fewer than 6 points?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (lane INTEGER, rank VARCHAR, time VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Which lane has a time less than 49.67, is from Michael Klim and less than 1 rank?"
},
{
"from": "gpt",
"value": "SELECT MAX(lane) FROM ta... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (lane INTEGER, name VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest lane with Lorenzo Vismara and a time higher than 49.67?"
},
{
"from": "gpt",
"value": "SELECT MIN(lane) FROM table_name_69 WHERE nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (home VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who was the home team on January 8?"
},
{
"from": "gpt",
"value": "SELECT home FROM table_name_41 WHERE date = \"january 8\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (opponent VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "Who was the Opponent when the Attendance was 38,150?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_25 WHERE attendance = \"38,150\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (location VARCHAR, classification VARCHAR, institution VARCHAR)"
},
{
"from": "human",
"value": "Where is NCAA division ii Franklin Pierce University located at?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_54... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (nickname VARCHAR, institution VARCHAR)"
},
{
"from": "human",
"value": "Post University has what nickname?"
},
{
"from": "gpt",
"value": "SELECT nickname FROM table_name_4 WHERE institution = \"post university\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (current_conference VARCHAR, nickname VARCHAR)"
},
{
"from": "human",
"value": "The River Hawks belonged to what current conference?"
},
{
"from": "gpt",
"value": "SELECT current_conference FROM table_name_6 WHERE nickname = \"r... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (nickname VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What is the nickname of the school located in Manchester, New Hampshire?"
},
{
"from": "gpt",
"value": "SELECT nickname FROM table_name_54 WHERE location = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (classification VARCHAR, current_conference VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What is the classification for the school in the NEC Conference located in New Britain, Connecticut?"
},
{
"from": "gpt",
"v... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (institution VARCHAR, nickname VARCHAR, classification VARCHAR, current_conference VARCHAR)"
},
{
"from": "human",
"value": "What institution is a NCAA Division i school and part of the NEC conference with a nickname the Blue Devils?"
},... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (record VARCHAR, home VARCHAR)"
},
{
"from": "human",
"value": "What was the record at the home of the Montreal Maroons"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_59 WHERE home = \"montreal maroons\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (school VARCHAR, _number___county VARCHAR)"
},
{
"from": "human",
"value": "which school shows #/county of 29 hamilton?"
},
{
"from": "gpt",
"value": "SELECT school FROM table_name_49 WHERE _number___county = \"29 hamilton\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (mascot VARCHAR, enrollment_08_09 VARCHAR)"
},
{
"from": "human",
"value": "what is the mascot for the enrollment 08-09 of 320?"
},
{
"from": "gpt",
"value": "SELECT mascot FROM table_name_73 WHERE enrollment_08_09 = 320"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (school VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "what is the school in michigantown?"
},
{
"from": "gpt",
"value": "SELECT school FROM table_name_93 WHERE location = \"michigantown\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (episode_number VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Which episode number was associated with Vibhav Gautam?"
},
{
"from": "gpt",
"value": "SELECT episode_number FROM table_name_1 WHERE name = \"vibhav gautam\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (city_state VARCHAR, status VARCHAR)"
},
{
"from": "human",
"value": "Which city/state was associated with a contestant whose status was 2nd runner-up?"
},
{
"from": "gpt",
"value": "SELECT city_state FROM table_name_52 WHERE s... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (name VARCHAR, episode_number VARCHAR)"
},
{
"from": "human",
"value": "Which contestant was associated with episode 34?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_30 WHERE episode_number = \"episode 34\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (status VARCHAR, city_state VARCHAR)"
},
{
"from": "human",
"value": "What is the status of the city/state of Indor, Madhya Pradesh?"
},
{
"from": "gpt",
"value": "SELECT status AS Date FROM table_name_1 WHERE city_state = \"ind... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (role VARCHAR, director VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "What role did John Wayne play in The Trail Beyond, directed by R.N. Bradbury?"
},
{
"from": "gpt",
"value": "SELECT role FROM table_name_56 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (director VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "Who directed the movie The Star Packer?"
},
{
"from": "gpt",
"value": "SELECT director FROM table_name_79 WHERE title = \"the star packer\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (role VARCHAR, leading_lady VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "What role did John Wayne play in The Lawless Frontier, with Sheila Terry as the leading lady?"
},
{
"from": "gpt",
"value": "SELECT role FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (title VARCHAR, role VARCHAR)"
},
{
"from": "human",
"value": "In what movie did John Wayne play the role of Chris Morrell?"
},
{
"from": "gpt",
"value": "SELECT title FROM table_name_54 WHERE role = \"chris morrell\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (role VARCHAR, leading_lady VARCHAR)"
},
{
"from": "human",
"value": "What role did John Wayne play with Verna Hillie as the leading lady?"
},
{
"from": "gpt",
"value": "SELECT role FROM table_name_80 WHERE leading_lady = \"ver... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (director VARCHAR, role VARCHAR)"
},
{
"from": "human",
"value": "Who directed the movie when John Wayne played the role of John Travers?"
},
{
"from": "gpt",
"value": "SELECT director FROM table_name_54 WHERE role = \"john tra... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (record VARCHAR, decision VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the record for November 26, with the decision made by Prusek?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_44 WHERE decis... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (record VARCHAR, home VARCHAR, visitor VARCHAR, decision VARCHAR)"
},
{
"from": "human",
"value": "What is the record for game where Columbus is visitor, Phoenix is home, and decision is made by Denis?"
},
{
"from": "gpt",
"valu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (record VARCHAR, decision VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the record for November 4, with a decision made by Denis?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_10 WHERE decision ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (intergiro_classification VARCHAR, points_classification VARCHAR, winner VARCHAR)"
},
{
"from": "human",
"value": "What is the Intergiro classification of Nicolaj bo Larsen, who has a Fabrizio guidi point classification?"
},
{
"fro... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (mountains_classification VARCHAR, winner VARCHAR, general_classification VARCHAR)"
},
{
"from": "human",
"value": "What is the mountain classification of Mario Cipollini, who has a general classification of Pavel tonkov?"
},
{
"fr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (stage VARCHAR, winner VARCHAR, trofeo_fast_team VARCHAR, points_classification VARCHAR)"
},
{
"from": "human",
"value": "What is the stage of Fabiano Fontanelli, who had a Trofeo Fast Team of Gewiss Playbus and a point classification of F... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)"
},
{
"from": "human",
"value": "What is the stage with a point classification of Silvio Martinello and Davide Rebellin as the general classification?"
},
{... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (trofeo_fast_team VARCHAR, points_classification VARCHAR, stage VARCHAR)"
},
{
"from": "human",
"value": "What is the Trofeo Fast Team with a point classification of Silvio Martinello and stage 6?"
},
{
"from": "gpt",
"value": ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (points_for VARCHAR, club VARCHAR)"
},
{
"from": "human",
"value": "How many points did the Castres have?"
},
{
"from": "gpt",
"value": "SELECT points_for FROM table_name_59 WHERE club = \"castres\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (club VARCHAR, drawn VARCHAR, points_for VARCHAR)"
},
{
"from": "human",
"value": "Who is the club that had 617 points and a draw of 0?"
},
{
"from": "gpt",
"value": "SELECT club FROM table_name_37 WHERE drawn = \"0\" AND point... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (bonus_points VARCHAR, club VARCHAR)"
},
{
"from": "human",
"value": "What number of bonus points did Stade Français?"
},
{
"from": "gpt",
"value": "SELECT bonus_points FROM table_name_38 WHERE club = \"stade français\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (opponent VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent at the game when the record was 15–15?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_68 WHERE record = \"15–15\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (opponent VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent at the game attended by 23,203?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_63 WHERE attendance = \"23,203\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (loss VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the loss of the game when the record was 16–15?"
},
{
"from": "gpt",
"value": "SELECT loss FROM table_name_19 WHERE record = \"16–15\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (attendance VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What was the attendance at the game that had a score of 16–7?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_8 WHERE score = \"16–7\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (date VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What was the date of the game attended by 25,022?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_70 WHERE attendance = \"25,022\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (record VARCHAR, attendance INTEGER)"
},
{
"from": "human",
"value": "Which record has an attendance larger than 28,459?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_43 WHERE attendance > 28 OFFSET 459"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (score VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "When the record was 32-37 what was the score?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_92 WHERE record = \"32-37\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "On the date of june 7 what was the score?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_31 WHERE date = \"june 7\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (score VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the score of the game when the record was 68-39?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_8 WHERE record = \"68-39\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the game of the game against the White Sox with a record of 81-48?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_75 WHERE o... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (date VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the date of the game when the record was 66-38?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_54 WHERE record = \"66-38\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (category VARCHAR, nominee VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "What category was Brian D'arcy James nominated for?"
},
{
"from": "gpt",
"value": "SELECT category FROM table_name_6 WHERE nominee = \"brian d'... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (moving_to VARCHAR, transfer_fee VARCHAR)"
},
{
"from": "human",
"value": "What is the item \"Moving to\", when the Transfer fee is £300,000?"
},
{
"from": "gpt",
"value": "SELECT moving_to FROM table_name_56 WHERE transfer_fee... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (country VARCHAR, transfer_fee VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the Country, when the Transfer fee is \"loan\", and when the Name is Lynch?"
},
{
"from": "gpt",
"value": "SELECT country FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (transfer_window VARCHAR, transfer_fee VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the Transfer window, when the Transfer fee is \"free\", and when the Name is Dugdale?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (name VARCHAR, transfer_fee VARCHAR)"
},
{
"from": "human",
"value": "What is the Name, when the Transfer fee is \"loan\"?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_80 WHERE transfer_fee = \"loan\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR)"
},
{
"from": "human",
"value": "What is the Transfer window, when the Transfer fee is \"free\", and when the item \"Moving to\" is Norwich City?"
},
{
"from": "gpt... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (transfer_fee VARCHAR, transfer_window VARCHAR, moving_to VARCHAR)"
},
{
"from": "human",
"value": "What is the Transfer fee, when the Transfer window is \"winter\", and when the item \"Moving to\" is Northwich Victoria?"
},
{
"fro... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR)"
},
{
"from": "human",
"value": "What companyw as the constructor when the Time/Retired was collision, and a Grid of 11?"
},
{
"from": "gpt",
"value": "SELECT constructo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (time_retired VARCHAR, grid VARCHAR)"
},
{
"from": "human",
"value": "What shows as the Time/Retired for Grid 8?"
},
{
"from": "gpt",
"value": "SELECT time_retired FROM table_name_2 WHERE grid = \"8\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (laps VARCHAR, grid VARCHAR)"
},
{
"from": "human",
"value": "What is the number of laps for Grid 3?"
},
{
"from": "gpt",
"value": "SELECT laps FROM table_name_36 WHERE grid = \"3\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (constructor VARCHAR, driver VARCHAR)"
},
{
"from": "human",
"value": "What company was the constructor when Nick Heidfeld was the driver/"
},
{
"from": "gpt",
"value": "SELECT constructor FROM table_name_50 WHERE driver = \"ni... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (laps VARCHAR, time_retired VARCHAR)"
},
{
"from": "human",
"value": "What shows for laps when the Time/Retired was +1:08.577?"
},
{
"from": "gpt",
"value": "SELECT laps FROM table_name_48 WHERE time_retired = \"+1:08.577\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (constructor VARCHAR, grid VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the constructor for Grid 1?"
},
{
"from": "gpt",
"value": "SELECT constructor FROM table_name_11 WHERE grid = \"1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (test_career VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "When was Mushfiqur Rahim's test career?"
},
{
"from": "gpt",
"value": "SELECT test_career FROM table_name_98 WHERE player = \"mushfiqur rahim\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (points INTEGER, year INTEGER)"
},
{
"from": "human",
"value": "Name the sum of points for 1984"
},
{
"from": "gpt",
"value": "SELECT SUM(points) FROM table_name_95 WHERE year < 1984"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (points VARCHAR, engine VARCHAR)"
},
{
"from": "human",
"value": "Name the points for Engine of chevrolet 265c"
},
{
"from": "gpt",
"value": "SELECT points FROM table_name_99 WHERE engine = \"chevrolet 265c\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (chassis VARCHAR, points VARCHAR, engine VARCHAR)"
},
{
"from": "human",
"value": "Name the chassis of 147 points and engine of ford cosworth dfx"
},
{
"from": "gpt",
"value": "SELECT chassis FROM table_name_43 WHERE points = 1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (term VARCHAR, district VARCHAR, party VARCHAR)"
},
{
"from": "human",
"value": "Which term had a Democratic representative from district 7?"
},
{
"from": "gpt",
"value": "SELECT term FROM table_name_22 WHERE district = \"7\" A... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (term VARCHAR, hometown VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What was the term of Bruce Biers Kendall whose hometown is Anchorage?"
},
{
"from": "gpt",
"value": "SELECT term FROM table_name_6 WHERE hometown = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (hometown VARCHAR, legislatures VARCHAR)"
},
{
"from": "human",
"value": "What is the hometown of the representative that served the twenty-sixth legislature?"
},
{
"from": "gpt",
"value": "SELECT hometown FROM table_name_22 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (qual VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the qual with a 19 rank?"
},
{
"from": "gpt",
"value": "SELECT qual FROM table_name_28 WHERE rank = \"19\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (rank VARCHAR, finish VARCHAR)"
},
{
"from": "human",
"value": "What rank has a 25 finish?"
},
{
"from": "gpt",
"value": "SELECT rank FROM table_name_33 WHERE finish = \"25\""
}
] | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.