conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_221315_3 (pilot VARCHAR, max_altitude__miles_ VARCHAR)"
},
{
"from": "human",
"value": "Who was the pilot of max altitude of 55.9 miles?"
},
{
"from": "gpt",
"value": "SELECT pilot FROM table_221315_3 WHERE max_altitude__miles_ = \"55.... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_221315_3 (fai_space_flights INTEGER, max_mach VARCHAR)"
},
{
"from": "human",
"value": "What is the highest number of fai space flights when max mach is 5.65?"
},
{
"from": "gpt",
"value": "SELECT MAX(fai_space_flights) FROM table_2213... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_221315_3 (max_altitude__miles_ VARCHAR, pilot VARCHAR)"
},
{
"from": "human",
"value": "What was the maximum altitude for Neil Armstrong?"
},
{
"from": "gpt",
"value": "SELECT max_altitude__miles_ FROM table_221315_3 WHERE pilot = \"Ne... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_221315_3 (max_speed__mph_ VARCHAR, usaf_space_flights VARCHAR, total_flights VARCHAR)"
},
{
"from": "human",
"value": "How many numbers were recorded under max speed for 1 USAF space flight and total flights 34?"
},
{
"from": "gpt",
"v... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_221315_3 (usaf_space_flights VARCHAR, max_speed__mph_ VARCHAR)"
},
{
"from": "human",
"value": "What were all USAF space flights when the aximum speed was 3822?"
},
{
"from": "gpt",
"value": "SELECT usaf_space_flights FROM table_221315... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_221315_3 (max_mach VARCHAR, max_speed__mph_ VARCHAR)"
},
{
"from": "human",
"value": "What was the max mach when the maximum speed was 3887?"
},
{
"from": "gpt",
"value": "SELECT max_mach FROM table_221315_3 WHERE max_speed__mph_ = 388... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2214582_1 (away_leg VARCHAR, round VARCHAR, aggregate VARCHAR)"
},
{
"from": "human",
"value": "What is the record for the away leg in round 1 and aggregate 2-0?"
},
{
"from": "gpt",
"value": "SELECT away_leg FROM table_2214582_1 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_221375_1 (parishes VARCHAR, province_of_1936 VARCHAR)"
},
{
"from": "human",
"value": "Name the parishes for beira baixa province"
},
{
"from": "gpt",
"value": "SELECT COUNT(parishes) FROM table_221375_1 WHERE province_of_1936 = \"Bei... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_221375_1 (municipalities INTEGER, province_of_1936 VARCHAR)"
},
{
"from": "human",
"value": "Name the most municipalities for alto alentejo province (partly ribatejo)"
},
{
"from": "gpt",
"value": "SELECT MAX(municipalities) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_221375_1 (province_of_1936 VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "Name province of 1936 viana do castelo"
},
{
"from": "gpt",
"value": "SELECT province_of_1936 FROM table_221375_1 WHERE district = \"Viana do Caste... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2215159_2 (score VARCHAR, partner VARCHAR)"
},
{
"from": "human",
"value": "What was the score when the partner is Rafael Osuna?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_2215159_2 WHERE partner = \"Rafael Osuna\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2215159_2 (outcome VARCHAR, partner VARCHAR)"
},
{
"from": "human",
"value": "What was the outcome of the game when the partner is Rafael Osuna?"
},
{
"from": "gpt",
"value": "SELECT outcome FROM table_2215159_2 WHERE partner = \"Rafae... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2215159_2 (surface VARCHAR, championship VARCHAR)"
},
{
"from": "human",
"value": "What is the surface of the French Championships?"
},
{
"from": "gpt",
"value": "SELECT surface FROM table_2215159_2 WHERE championship = \"French champi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2215159_2 (outcome VARCHAR, year VARCHAR, surface VARCHAR, partner VARCHAR)"
},
{
"from": "human",
"value": "How many outcomes were there for matches played with Chuck McKinley on grass in 1962?"
},
{
"from": "gpt",
"value": "SELECT CO... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2214582_3 (home_leg VARCHAR, opponents VARCHAR)"
},
{
"from": "human",
"value": "What was the home leg score against partizani tirana?"
},
{
"from": "gpt",
"value": "SELECT home_leg FROM table_2214582_3 WHERE opponents = \"Partizani Ti... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2214582_3 (round VARCHAR, opponents VARCHAR)"
},
{
"from": "human",
"value": "What round did they face fc st. gallen?"
},
{
"from": "gpt",
"value": "SELECT COUNT(round) FROM table_2214582_3 WHERE opponents = \"FC St. Gallen\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2214582_3 (home_leg VARCHAR, opponents VARCHAR)"
},
{
"from": "human",
"value": "What was the home leg score against fc schalke 04?"
},
{
"from": "gpt",
"value": "SELECT home_leg FROM table_2214582_3 WHERE opponents = \"FC Schalke 04\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22167196_1 (dfb_pokal VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "How many dfb-pokal did kevin-prince boateng have?"
},
{
"from": "gpt",
"value": "SELECT COUNT(dfb_pokal) FROM table_22167196_1 WHERE player = \"Kevin-Princ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22165661_3 (head_coach VARCHAR, championship_game_opponent VARCHAR)"
},
{
"from": "human",
"value": "Who is the head coach when Miami University is the championship game opponent?"
},
{
"from": "gpt",
"value": "SELECT head_coach FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22165661_3 (location VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the location when 2-1 is the score?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_22165661_3 WHERE score = \"2-1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22165661_3 (conference VARCHAR, championship_game_opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the conference when Ferris State is the championship game opponent?"
},
{
"from": "gpt",
"value": "SELECT conference FROM tabl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22165661_3 (location VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "What is the location of the 1999 tournament?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_22165661_3 WHERE tournament = 1999"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22165661_3 (score VARCHAR, championship_game_opponent VARCHAR)"
},
{
"from": "human",
"value": "How many scores are there when the championship game opponent is Miami University?"
},
{
"from": "gpt",
"value": "SELECT COUNT(score) FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22165661_3 (head_coach VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Who is the head coach for the score of 4-3?"
},
{
"from": "gpt",
"value": "SELECT head_coach FROM table_22165661_3 WHERE score = \"4-3\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_221653_1 (bleeding_time VARCHAR, platelet_count VARCHAR)"
},
{
"from": "human",
"value": "What is the bleeding time when the platelet count is decreased or unaffected?"
},
{
"from": "gpt",
"value": "SELECT bleeding_time FROM table_221... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_221653_1 (partial_thromboplastin_time VARCHAR, condition VARCHAR)"
},
{
"from": "human",
"value": "What is the partial thromboplastin time when the condition factor x deficiency as seen in amyloid purpura?"
},
{
"from": "gpt",
"value"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_221653_1 (platelet_count VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR)"
},
{
"from": "human",
"value": "How many time does the platelet count occur when prothrombin time and bleeding time are prolonged?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_221653_1 (bleeding_time VARCHAR, condition VARCHAR)"
},
{
"from": "human",
"value": "What is the bleeding time for the disseminated intravascular coagulation condition?"
},
{
"from": "gpt",
"value": "SELECT COUNT(bleeding_time) FROM ta... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_221653_1 (partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR)"
},
{
"from": "human",
"value": "What is the result for partial thromboplastin time when prothrombin time and bleeding time are prolonged?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_221653_1 (platelet_count VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR)"
},
{
"from": "human",
"value": "What is the platelet count when partial thromboplastin time and bleeding time are unaffected?"
},
{
"from": "gpt... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22170495_7 (top_50_ranking INTEGER, title VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest top 50 ranking that the episode titled \"the god-why-don't-you-love-me blues\" received?"
},
{
"from": "gpt",
"value": "SELECT MIN(t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22170495_7 (title VARCHAR, original_airing VARCHAR)"
},
{
"from": "human",
"value": "Which episodes originally aired on April 19, 2010?"
},
{
"from": "gpt",
"value": "SELECT title FROM table_22170495_7 WHERE original_airing = \"April 1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22170495_7 (scripted_show_ranking INTEGER, title VARCHAR)"
},
{
"from": "human",
"value": "The episode titled \"Epiphany\" received what scripted show ranking?"
},
{
"from": "gpt",
"value": "SELECT MIN(scripted_show_ranking) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22170495_7 (top_50_ranking VARCHAR, original_airing VARCHAR)"
},
{
"from": "human",
"value": "How many of the episodes in the top 50 rankings were originally aired on June 28, 2010?"
},
{
"from": "gpt",
"value": "SELECT COUNT(top_50_ra... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22171978_1 (athletic_nickname VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "For the location of quezon city , metro manila what is the athletic nickname?"
},
{
"from": "gpt",
"value": "SELECT athletic_nickname FROM table_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22171978_1 (location VARCHAR, athletic_nickname VARCHAR)"
},
{
"from": "human",
"value": "How many locations are there for the athletic nickname is blue crusaders?"
},
{
"from": "gpt",
"value": "SELECT COUNT(location) FROM table_221719... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22171978_1 (school_colors VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "How many entries are shown for school colors for the location of naga , camarines sur?"
},
{
"from": "gpt",
"value": "SELECT COUNT(school_colors) FRO... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22171978_1 (enrollment VARCHAR, athletic_nickname VARCHAR)"
},
{
"from": "human",
"value": "For the athletic nickname of golden knights how many entries are shown for enrollment?"
},
{
"from": "gpt",
"value": "SELECT COUNT(enrollment) ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22171978_1 (founded VARCHAR, institution VARCHAR)"
},
{
"from": "human",
"value": "What year was the ateneo de manila university founded?"
},
{
"from": "gpt",
"value": "SELECT founded FROM table_22171978_1 WHERE institution = \"Ateneo ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22171978_1 (founded VARCHAR, athletic_nickname VARCHAR)"
},
{
"from": "human",
"value": "What year was the athletic nickname blue crusaders founded?"
},
{
"from": "gpt",
"value": "SELECT founded FROM table_22171978_1 WHERE athletic_nic... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22181917_2 (original_air_date VARCHAR, season__number VARCHAR)"
},
{
"from": "human",
"value": "How many original airdates did season 20 have?"
},
{
"from": "gpt",
"value": "SELECT COUNT(original_air_date) FROM table_22181917_2 WHERE s... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22181917_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)"
},
{
"from": "human",
"value": "Who directed the episode that was watched by 6.62 million U.S. viewers?"
},
{
"from": "gpt",
"value": "SELECT directed_by FROM table_22181... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22181917_2 (production_code VARCHAR, us_viewers__millions_ VARCHAR)"
},
{
"from": "human",
"value": "What is the production code for the episode with 8.56 million U.S. viewers?"
},
{
"from": "gpt",
"value": "SELECT production_code FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22181917_2 (title VARCHAR, us_viewers__millions_ VARCHAR)"
},
{
"from": "human",
"value": "What is the title of the episode that had 9.76 million U.S. viewers?"
},
{
"from": "gpt",
"value": "SELECT title FROM table_22181917_2 WHERE us_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22170495_6 (title VARCHAR, original_airing_on_e4 VARCHAR)"
},
{
"from": "human",
"value": "What is the title of the original airing on e4 May 2, 2010?"
},
{
"from": "gpt",
"value": "SELECT title FROM table_22170495_6 WHERE original_air... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22170495_6 (total_viewers VARCHAR, original_airing_on_channel_4 VARCHAR)"
},
{
"from": "human",
"value": "How many total viewers have April 21, 2010 as the original airing on channel 4?"
},
{
"from": "gpt",
"value": "SELECT COUNT(total... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22170495_6 (position_in_e4s_ratings_b VARCHAR, original_airing_on_channel_4 VARCHAR)"
},
{
"from": "human",
"value": "What is the position in e4s ratings b when June 30, 2010 is the original airing on channel 4?"
},
{
"from": "gpt",
"v... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22170495_6 (original_airing_on_channel_4 VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "When is the original airing on channel 4 with being alive as the title?"
},
{
"from": "gpt",
"value": "SELECT original_airing_on_channel_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22170495_6 (position_in_channel_4s_ratings_a VARCHAR, original_airing_on_channel_4 VARCHAR)"
},
{
"from": "human",
"value": "How many position in channel 4s ratings a have February 24, 2010 as the original airing on channel 4?"
},
{
"from"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22180353_1 (type VARCHAR, registration VARCHAR)"
},
{
"from": "human",
"value": "What are all types where registration is HB-OPU?"
},
{
"from": "gpt",
"value": "SELECT type FROM table_22180353_1 WHERE registration = \"HB-OPU\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22180353_1 (registration VARCHAR, type VARCHAR)"
},
{
"from": "human",
"value": "What is every registration for the type of T 6 G?"
},
{
"from": "gpt",
"value": "SELECT registration FROM table_22180353_1 WHERE type = \"T 6 G\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22180353_1 (construction VARCHAR, registration VARCHAR)"
},
{
"from": "human",
"value": "What is every construction date for the registration of HB-HOS?"
},
{
"from": "gpt",
"value": "SELECT construction AS date FROM table_22180353_1 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22180353_1 (conformity_to_original_design VARCHAR, registration VARCHAR)"
},
{
"from": "human",
"value": "What is every conformity to original design if registration is HB-DAI?"
},
{
"from": "gpt",
"value": "SELECT conformity_to_origin... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2219961_2 (season__number INTEGER, director VARCHAR)"
},
{
"from": "human",
"value": "What is the latest season number that Eric Tuchman directed? "
},
{
"from": "gpt",
"value": "SELECT MAX(season__number) FROM table_2219961_2 WHERE di... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2219961_2 (season__number VARCHAR, nbc_airdate VARCHAR)"
},
{
"from": "human",
"value": "How man seasons have the air date of October 2, 2001? "
},
{
"from": "gpt",
"value": "SELECT COUNT(season__number) FROM table_2219961_2 WHERE nbc_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2220432_1 (report VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What was the report in the race where the winning team was Roush Fenway Racing? "
},
{
"from": "gpt",
"value": "SELECT report FROM table_2220432_1 WHERE team = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2220432_1 (miles__km_ VARCHAR, average_speed__mph_ VARCHAR)"
},
{
"from": "human",
"value": "What was the miles (km) for the race that had an average speed of 136.117 MPH?"
},
{
"from": "gpt",
"value": "SELECT miles__km_ FROM table_222... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226343_1 (miles__km_ VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What are the miles when February 25 is the date?"
},
{
"from": "gpt",
"value": "SELECT miles__km_ FROM table_2226343_1 WHERE date = \"February 25\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226343_1 (laps VARCHAR, average_speed__mph_ VARCHAR)"
},
{
"from": "human",
"value": "How many laps have an average speed of 141.911?"
},
{
"from": "gpt",
"value": "SELECT laps FROM table_2226343_1 WHERE average_speed__mph_ = \"141.91... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226343_1 (manufacturer VARCHAR, average_speed__mph_ VARCHAR)"
},
{
"from": "human",
"value": "Who is the manufacturer when 150.088 is the average speed (mph)?"
},
{
"from": "gpt",
"value": "SELECT manufacturer FROM table_2226343_1 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226343_1 (manufacturer VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who is the manufacturer for the date of June 22?"
},
{
"from": "gpt",
"value": "SELECT manufacturer FROM table_2226343_1 WHERE date = \"June 22\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226343_1 (laps VARCHAR, race_time VARCHAR)"
},
{
"from": "human",
"value": "How many laps have a race time of 3:31:24?"
},
{
"from": "gpt",
"value": "SELECT laps FROM table_2226343_1 WHERE race_time = \"3:31:24\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226343_1 (laps VARCHAR, average_speed__mph_ VARCHAR)"
},
{
"from": "human",
"value": "How many laps have an average speed (mph) of 140.22?"
},
{
"from": "gpt",
"value": "SELECT laps FROM table_2226343_1 WHERE average_speed__mph_ = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22265716_1 (director VARCHAR, original_title VARCHAR)"
},
{
"from": "human",
"value": "Who directed the film with the original title of три летња дана?"
},
{
"from": "gpt",
"value": "SELECT director FROM table_22265716_1 WHERE original... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22265716_1 (director VARCHAR, film_title_used_in_nomination VARCHAR)"
},
{
"from": "human",
"value": "Who directed the film with the title three summer days?"
},
{
"from": "gpt",
"value": "SELECT director FROM table_22265716_1 WHERE fi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22265716_1 (director VARCHAR, original_title VARCHAR)"
},
{
"from": "human",
"value": "Who is the director of the film with the title лепа села лепо горе?"
},
{
"from": "gpt",
"value": "SELECT director FROM table_22265716_1 WHERE origi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22261877_1 (us_viewers__million_ VARCHAR, production_code VARCHAR)"
},
{
"from": "human",
"value": "How many viewers in millions watched the episode with the production code 6acx16?"
},
{
"from": "gpt",
"value": "SELECT us_viewers__mil... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22261877_1 (original_air_date VARCHAR, production_code VARCHAR)"
},
{
"from": "human",
"value": "What is the air date of the episode with the production code 6acx19? "
},
{
"from": "gpt",
"value": "SELECT original_air_date FROM table_2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_2 (original_air_date VARCHAR, production_code VARCHAR)"
},
{
"from": "human",
"value": "What is the original air date for the production code of 1.12?"
},
{
"from": "gpt",
"value": "SELECT original_air_date FROM table_2226817_2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_2 (no_in_series VARCHAR, production_code VARCHAR)"
},
{
"from": "human",
"value": "How many number of series have a production code of 1.11?"
},
{
"from": "gpt",
"value": "SELECT no_in_series FROM table_2226817_2 WHERE producti... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_2 (no_in_series INTEGER, production_code VARCHAR)"
},
{
"from": "human",
"value": "How many number of series have the production code of 1.11?"
},
{
"from": "gpt",
"value": "SELECT MAX(no_in_series) FROM table_2226817_2 WHERE p... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_2 (written_by VARCHAR, original_air_date VARCHAR)"
},
{
"from": "human",
"value": "Who wrote when the original airdate is April 5, 1987?"
},
{
"from": "gpt",
"value": "SELECT written_by FROM table_2226817_2 WHERE original_air_d... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_2 (directed_by VARCHAR, production_code VARCHAR)"
},
{
"from": "human",
"value": "Who directed when the production code is 1.02?"
},
{
"from": "gpt",
"value": "SELECT directed_by FROM table_2226817_2 WHERE production_code = \"1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_4 (production_code VARCHAR, original_air_date VARCHAR)"
},
{
"from": "human",
"value": "Name the production code for november 27, 1988"
},
{
"from": "gpt",
"value": "SELECT production_code FROM table_2226817_4 WHERE original_ai... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_4 (original_air_date VARCHAR, production_code VARCHAR)"
},
{
"from": "human",
"value": "Name the original air date for 3.04 production code"
},
{
"from": "gpt",
"value": "SELECT original_air_date FROM table_2226817_4 WHERE prod... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_4 (written_by VARCHAR, original_air_date VARCHAR)"
},
{
"from": "human",
"value": "Name who wrote the episode that aired april 9, 1989"
},
{
"from": "gpt",
"value": "SELECT written_by FROM table_2226817_4 WHERE original_air_dat... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_4 (no_in_season VARCHAR, production_code VARCHAR)"
},
{
"from": "human",
"value": "Name the number of number in season for 3.09"
},
{
"from": "gpt",
"value": "SELECT COUNT(no_in_season) FROM table_2226817_4 WHERE production_cod... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_12 (original_air_date VARCHAR, production_code VARCHAR)"
},
{
"from": "human",
"value": "when was the episode premiere if the production code is 11.19? "
},
{
"from": "gpt",
"value": "SELECT COUNT(original_air_date) FROM table_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_12 (title VARCHAR, original_air_date VARCHAR)"
},
{
"from": "human",
"value": "what is the name of the episode whose premiere was in march 2, 1997?"
},
{
"from": "gpt",
"value": "SELECT title FROM table_2226817_12 WHERE origina... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_12 (title VARCHAR, production_code VARCHAR)"
},
{
"from": "human",
"value": "what is the name of the episode when the production code is 11.01?"
},
{
"from": "gpt",
"value": "SELECT title FROM table_2226817_12 WHERE production_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_12 (title VARCHAR, production_code VARCHAR)"
},
{
"from": "human",
"value": "what is the name of the episode if the production code is 11.12?"
},
{
"from": "gpt",
"value": "SELECT title FROM table_2226817_12 WHERE production_co... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_12 (no_in_series VARCHAR, directed_by VARCHAR)"
},
{
"from": "human",
"value": "how many episodes has been directed by Mark K. Samuels ?"
},
{
"from": "gpt",
"value": "SELECT COUNT(no_in_series) FROM table_2226817_12 WHERE dire... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_3 (directed_by VARCHAR, written_by VARCHAR)"
},
{
"from": "human",
"value": "Who directed what was written by Michael G. Moye & Ron Leavitt & J. Stanford Parker?"
},
{
"from": "gpt",
"value": "SELECT directed_by FROM table_2226... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_8 (production_code VARCHAR, written_by VARCHAR)"
},
{
"from": "human",
"value": "What are all the production codes of episodes written by Michael G. Moye?"
},
{
"from": "gpt",
"value": "SELECT production_code FROM table_2226817... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_8 (written_by VARCHAR, no_in_season VARCHAR)"
},
{
"from": "human",
"value": "Who is the writer of episode 13?"
},
{
"from": "gpt",
"value": "SELECT COUNT(written_by) FROM table_2226817_8 WHERE no_in_season = 13"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_8 (no_in_series VARCHAR, production_code VARCHAR)"
},
{
"from": "human",
"value": "Which series number has the production code 7.07?"
},
{
"from": "gpt",
"value": "SELECT COUNT(no_in_series) FROM table_2226817_8 WHERE productio... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_8 (no_in_season INTEGER, production_code VARCHAR)"
},
{
"from": "human",
"value": "How many seasons have the production code 7.01 for an episode? "
},
{
"from": "gpt",
"value": "SELECT MAX(no_in_season) FROM table_2226817_8 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_8 (no_in_series VARCHAR, no_in_season VARCHAR)"
},
{
"from": "human",
"value": "How many episodes in the series are from season 12?"
},
{
"from": "gpt",
"value": "SELECT no_in_series FROM table_2226817_8 WHERE no_in_season = 12... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_9 (no_in_season INTEGER, no_in_series VARCHAR)"
},
{
"from": "human",
"value": "How many seasons had episode 158?"
},
{
"from": "gpt",
"value": "SELECT MIN(no_in_season) FROM table_2226817_9 WHERE no_in_series = 158"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_9 (production_code VARCHAR, written_by VARCHAR)"
},
{
"from": "human",
"value": "What is the production code of the episode directed by Stacie Lipp?"
},
{
"from": "gpt",
"value": "SELECT production_code FROM table_2226817_9 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_9 (title VARCHAR, no_in_series VARCHAR)"
},
{
"from": "human",
"value": "What is the name of episode 165?"
},
{
"from": "gpt",
"value": "SELECT title FROM table_2226817_9 WHERE no_in_series = 165"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2226817_9 (directed_by VARCHAR, production_code VARCHAR)"
},
{
"from": "human",
"value": "How many episodes have the production code 8.04"
},
{
"from": "gpt",
"value": "SELECT COUNT(directed_by) FROM table_2226817_9 WHERE production_co... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_222771_1 (alpha_2_code VARCHAR, alpha_3_code VARCHAR)"
},
{
"from": "human",
"value": "What is the Alpha 2 code for the area also known as TCA?"
},
{
"from": "gpt",
"value": "SELECT alpha_2_code FROM table_222771_1 WHERE alpha_3_code =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_222771_1 (alpha_3_code VARCHAR, alpha_2_code VARCHAR)"
},
{
"from": "human",
"value": "What is the Alpha 3 code for the area also known as FO?"
},
{
"from": "gpt",
"value": "SELECT alpha_3_code FROM table_222771_1 WHERE alpha_2_code = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_222771_1 (alpha_2_code VARCHAR, alpha_3_code VARCHAR)"
},
{
"from": "human",
"value": "What is the alpha 2 code for the area also known as NZL?"
},
{
"from": "gpt",
"value": "SELECT alpha_2_code FROM table_222771_1 WHERE alpha_3_code ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_222771_1 (iso_3166_2_codes VARCHAR, english_short_name__upper_lower_case_ VARCHAR)"
},
{
"from": "human",
"value": "What is the ISO for South Sudan?"
},
{
"from": "gpt",
"value": "SELECT iso_3166_2_codes FROM table_222771_1 WHERE engli... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_222771_1 (alpha_2_code VARCHAR, english_short_name__upper_lower_case_ VARCHAR)"
},
{
"from": "human",
"value": "What is the Alpha 2 code for Papua New Guinea?"
},
{
"from": "gpt",
"value": "SELECT alpha_2_code FROM table_222771_1 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_222771_1 (numeric_code VARCHAR, alpha_3_code VARCHAR)"
},
{
"from": "human",
"value": "What is the number reference for LIE?"
},
{
"from": "gpt",
"value": "SELECT numeric_code FROM table_222771_1 WHERE alpha_3_code = \"LIE\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22274142_1 (launch_date VARCHAR, transmission VARCHAR)"
},
{
"from": "human",
"value": "How many launch dates are there for digital transmission?"
},
{
"from": "gpt",
"value": "SELECT COUNT(launch_date) FROM table_22274142_1 WHERE tran... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_22269839_1 (written_by VARCHAR, production_code VARCHAR)"
},
{
"from": "human",
"value": "Who wrote the title with production code 7acx14?"
},
{
"from": "gpt",
"value": "SELECT written_by FROM table_22269839_1 WHERE production_code = \... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.