conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (runners_up VARCHAR, last_final_lost VARCHAR)"
},
{
"from": "human",
"value": "How many runners-up did the club with the last final lost in 1985 have?"
},
{
"from": "gpt",
"value": "SELECT runners_up FROM table_name_39 WHERE la... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (last_final_lost VARCHAR, last_win VARCHAR)"
},
{
"from": "human",
"value": "When was the last final lost of the club with a last win in 1959?"
},
{
"from": "gpt",
"value": "SELECT last_final_lost FROM table_name_70 WHERE last_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (last_win VARCHAR, club VARCHAR)"
},
{
"from": "human",
"value": "When was the last win of Celtic?"
},
{
"from": "gpt",
"value": "SELECT last_win FROM table_name_89 WHERE club = \"celtic\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (club VARCHAR, runners_up VARCHAR)"
},
{
"from": "human",
"value": "Which club had 13 runners-up?"
},
{
"from": "gpt",
"value": "SELECT club FROM table_name_27 WHERE runners_up = \"13\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (visitor VARCHAR, home VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who is the visitor in Philadelphia on March 6?"
},
{
"from": "gpt",
"value": "SELECT visitor FROM table_name_41 WHERE home = \"philadelphia\" AND da... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (date VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "what date were they playing in hawthorn"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_17 WHERE away_team = \"hawthorn\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (report VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "what report was in geelong"
},
{
"from": "gpt",
"value": "SELECT report FROM table_name_48 WHERE home_team = \"geelong\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (town_city VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "In what Town/City is Nana Museum of The Arctic located?"
},
{
"from": "gpt",
"value": "SELECT town_city FROM table_name_45 WHERE name = \"nana museum of the arc... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (name VARCHAR, town_city VARCHAR, type VARCHAR)"
},
{
"from": "human",
"value": "What is the Name of the Multiple Type museum in Anchorage?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_54 WHERE town_city = \"ancho... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (name VARCHAR, borough VARCHAR, type VARCHAR)"
},
{
"from": "human",
"value": "In what Borough is the Anchorage museum of Natural History?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_31 WHERE borough = \"anchorag... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (region VARCHAR, type VARCHAR, town_city VARCHAR)"
},
{
"from": "human",
"value": "In what Region is the Native American museum in Anchorage?"
},
{
"from": "gpt",
"value": "SELECT region FROM table_name_8 WHERE type = \"native a... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (type VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What Type of museum is the Valdez museum?"
},
{
"from": "gpt",
"value": "SELECT type FROM table_name_73 WHERE name = \"valdez museum\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (borough VARCHAR, type VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "In what Borough is the History Type Fairbanks Community Museum?"
},
{
"from": "gpt",
"value": "SELECT borough FROM table_name_82 WHERE type = \"hist... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (zip_code_prefix_es_ VARCHAR, county_seat VARCHAR)"
},
{
"from": "human",
"value": "what is the zip code of boonville"
},
{
"from": "gpt",
"value": "SELECT zip_code_prefix_es_ FROM table_name_39 WHERE county_seat = \"boonville\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (tournament VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which tournament was held on 9 Jun 2002?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_57 WHERE date = \"9 jun 2002\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "What is the winning score with a margin of victory of 4 strokes for the NEC Invitational tournament?"
},
{
"from": "gpt",
"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (runner_s__up VARCHAR, winning_score VARCHAR)"
},
{
"from": "human",
"value": "Who is the runner-up where the winning score is β8 (71-69-67-73=280)?"
},
{
"from": "gpt",
"value": "SELECT runner_s__up FROM table_name_45 WHERE wi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "What is the winning score for Tournament of linde german masters with a margin of victory of 1 stroke?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (runner_s__up VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR)"
},
{
"from": "human",
"value": "Who is runner-up where the winning score is β6 (65-70-70-69=274) and the margin of victory is 3 strokes?"
},
{
"from": "gpt",... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (winning_score VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR)"
},
{
"from": "human",
"value": "What is the winning score where the runner-up is Robert-Jan Derksen and the margin of victory is 1 stroke?"
},
{
"from": "gpt... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (high_rebounds VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What are the high rebounds of team @ Charlotte?"
},
{
"from": "gpt",
"value": "SELECT high_rebounds FROM table_name_17 WHERE team = \"@ charlotte\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (high_rebounds VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What is the high rebounds of game 68?"
},
{
"from": "gpt",
"value": "SELECT high_rebounds FROM table_name_46 WHERE game = 68"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (score VARCHAR, game VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What is the score of New York team before game 61?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_63 WHERE game < 61 AND team = \"new yor... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (tier VARCHAR, opponent_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "When David McNamara was the opponent in the final, what was the tier?"
},
{
"from": "gpt",
"value": "SELECT tier FROM table_name_59 WHERE opponent_i... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (international_tourist_arrivals__2011_ VARCHAR, international_tourist_arrivals__2012_ VARCHAR)"
},
{
"from": "human",
"value": "In 2011, how many tourists visited the country that had 23.4 million tourists in 2012?"
},
{
"from": "gp... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (international_tourist_arrivals__2012_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR)"
},
{
"from": "human",
"value": "How many tourists visited the country that had 2.5 million tourists in 2011?"
},
{
"from": "gpt",
"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (distance VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "How far Venue of seoul, south korea is?"
},
{
"from": "gpt",
"value": "SELECT distance FROM table_name_6 WHERE venue = \"seoul, south korea\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (venue VARCHAR, tournament VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "Which Venue has a Tournament of olympic games with a Result of 4th?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_33 WHERE tourn... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "What is the Result of Venue of edmonton, canada?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_54 WHERE venue = \"edmonton, canada\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (team_2 VARCHAR)"
},
{
"from": "human",
"value": "What is the 1st leg of Team 2 PSV Eindhoven?"
},
{
"from": "gpt",
"value": "SELECT 1 AS st_leg FROM table_name_21 WHERE team_2 = \"psv eindhoven\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (opponent VARCHAR, game_site VARCHAR, week VARCHAR)"
},
{
"from": "human",
"value": "Which opponent was played at Forbes Field after week 4?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_76 WHERE game_site = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (opponent VARCHAR, week VARCHAR)"
},
{
"from": "human",
"value": "Which opponent was played on week 9?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_46 WHERE week = 9"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (date VARCHAR, game_site VARCHAR)"
},
{
"from": "human",
"value": "What was the date of the game played at Fenway Park?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_28 WHERE game_site = \"fenway park\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (opponents VARCHAR, year VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "Which Opponents have a Year of 1998β99, and a Team of aston villa?"
},
{
"from": "gpt",
"value": "SELECT opponents FROM table_name_23 WHERE year =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (score VARCHAR, opponents VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Which Score has Opponents of valencia, and a Year of 2011β12?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_21 WHERE opponents = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (opponents VARCHAR, team VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Which Opponents have a Team of arsenal, and a Year of 1963β64?"
},
{
"from": "gpt",
"value": "SELECT opponents FROM table_name_49 WHERE team = \"a... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (opponents VARCHAR, year VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "Which Opponents have a Year of 1999β2000, and a Team of leeds united?"
},
{
"from": "gpt",
"value": "SELECT opponents FROM table_name_78 WHERE yea... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (opponents VARCHAR, progress VARCHAR, score VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "Which Opponents have a Score of 1β2, and a Team of arsenal, and Progress of first round?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (rank VARCHAR, points INTEGER)"
},
{
"from": "human",
"value": "How much Rank has Points larger than 282.5?"
},
{
"from": "gpt",
"value": "SELECT COUNT(rank) FROM table_name_11 WHERE points > 282.5"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (rank INTEGER, points INTEGER)"
},
{
"from": "human",
"value": "Which Rank is the highest one that has Points smaller than 256.6?"
},
{
"from": "gpt",
"value": "SELECT MAX(rank) FROM table_name_98 WHERE points < 256.6"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (nationality VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "Which 2nd (m) is the highest one that has a Nationality of sui, and a Rank smaller than 3?"
},
{
"from": "gpt",
"value": "SELECT MAX(2 AS nd__m_) FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (uk_broadcast_date VARCHAR, presenter VARCHAR)"
},
{
"from": "human",
"value": "What is the UK broadcast date of the episode where Chris Bonington was the presenter?"
},
{
"from": "gpt",
"value": "SELECT uk_broadcast_date FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (episode_title VARCHAR, presenter VARCHAR)"
},
{
"from": "human",
"value": "What is the episode title of the episode with Ben Okri as the presenter?"
},
{
"from": "gpt",
"value": "SELECT episode_title FROM table_name_74 WHERE p... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (presenter VARCHAR, uk_broadcast_date VARCHAR)"
},
{
"from": "human",
"value": "Who is the presenter of the episode broadcast in the UK on 1996-09-25?"
},
{
"from": "gpt",
"value": "SELECT presenter FROM table_name_45 WHERE uk_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (uk_broadcast_date VARCHAR, presenter VARCHAR)"
},
{
"from": "human",
"value": "What is the UK broadcast date of the episode with Ben Okri as the presenter?"
},
{
"from": "gpt",
"value": "SELECT uk_broadcast_date FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (score VARCHAR, home VARCHAR)"
},
{
"from": "human",
"value": "What was the score when the team played at the bobcats?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_92 WHERE home = \"bobcats\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (score VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the score when the Spurs' record was 43-13?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_72 WHERE record = \"43-13\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (country_name VARCHAR, numeric_code VARCHAR, latin_3_letter_code VARCHAR)"
},
{
"from": "human",
"value": "What is the country's name with a numeric code less than 246 and a Latin 3-letter code of slv?"
},
{
"from": "gpt",
"val... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (russian_name VARCHAR, latin_3_letter_code VARCHAR)"
},
{
"from": "human",
"value": "What is the Russian name with lbr as the Latin 3-letter code?"
},
{
"from": "gpt",
"value": "SELECT russian_name FROM table_name_86 WHERE lati... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (country_name VARCHAR, numeric_code VARCHAR, latin_2_letter_code VARCHAR)"
},
{
"from": "human",
"value": "What is the country name with a numeric code less than 580 and a dk Latin 2-letter code?"
},
{
"from": "gpt",
"value": "S... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (cyrillic_code VARCHAR, latin_2_letter_code VARCHAR)"
},
{
"from": "human",
"value": "What is the Cyrillic code with a cu Latin 2-letter code?"
},
{
"from": "gpt",
"value": "SELECT cyrillic_code FROM table_name_68 WHERE latin_2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (place INTEGER, draw VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "Name the least place for draw more than 3 and points of 8"
},
{
"from": "gpt",
"value": "SELECT MIN(place) FROM table_name_47 WHERE draw > 3 AND poi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (song VARCHAR, points VARCHAR, draw VARCHAR)"
},
{
"from": "human",
"value": "Name the song for points less than 16 and draw less than 3"
},
{
"from": "gpt",
"value": "SELECT song FROM table_name_99 WHERE points < 16 AND draw <... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (single VARCHAR, artist VARCHAR)"
},
{
"from": "human",
"value": "what is the single of the queen"
},
{
"from": "gpt",
"value": "SELECT single FROM table_name_67 WHERE artist = \"queen\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (artist VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "what artist won in 1953"
},
{
"from": "gpt",
"value": "SELECT artist FROM table_name_41 WHERE year = \"1953\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (year VARCHAR, artist VARCHAR)"
},
{
"from": "human",
"value": "what year did david whitfield win"
},
{
"from": "gpt",
"value": "SELECT year FROM table_name_14 WHERE artist = \"david whitfield\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (rank INTEGER, points VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the average rank of Roman Koudelka, who has less than 274.4 points?"
},
{
"from": "gpt",
"value": "SELECT AVG(rank) FROM table_name_41 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (points INTEGER, game INTEGER)"
},
{
"from": "human",
"value": "How many points was before game 14?"
},
{
"from": "gpt",
"value": "SELECT SUM(points) FROM table_name_82 WHERE game < 14"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (points INTEGER, november VARCHAR)"
},
{
"from": "human",
"value": "What is the average points on November 6?"
},
{
"from": "gpt",
"value": "SELECT AVG(points) FROM table_name_8 WHERE november = 6"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (against INTEGER, difference VARCHAR, lost VARCHAR)"
},
{
"from": "human",
"value": "Which average's against score has 2 as a difference and a lost of 5?"
},
{
"from": "gpt",
"value": "SELECT AVG(against) FROM table_name_34 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (position VARCHAR, difference VARCHAR, against VARCHAR)"
},
{
"from": "human",
"value": "How many positions had a difference of - 4 and an against of less than 24?"
},
{
"from": "gpt",
"value": "SELECT COUNT(position) FROM tabl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (lost INTEGER, points VARCHAR, position VARCHAR, drawn VARCHAR)"
},
{
"from": "human",
"value": "What is the smallest lost when position is larger than 6, drawn is 7, and the points stat is less than 15?"
},
{
"from": "gpt",
"v... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (played INTEGER, difference VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What is the largest played number when the difference is - 8 and position is more than 8?"
},
{
"from": "gpt",
"value": "SELECT MAX(played)... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (drawn INTEGER, difference VARCHAR, against VARCHAR)"
},
{
"from": "human",
"value": "What is the mean drawn when the difference is 0 and the against stat is more than 31?"
},
{
"from": "gpt",
"value": "SELECT AVG(drawn) FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (owner VARCHAR, winner VARCHAR)"
},
{
"from": "human",
"value": "what is the winner of meridiana"
},
{
"from": "gpt",
"value": "SELECT owner FROM table_name_35 WHERE winner = \"meridiana\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (weight INTEGER, number VARCHAR)"
},
{
"from": "human",
"value": "Number of 13 that has what highest weight?"
},
{
"from": "gpt",
"value": "SELECT MAX(weight) FROM table_name_44 WHERE number = 13"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (class VARCHAR, weight VARCHAR)"
},
{
"from": "human",
"value": "Weight of 220 has what class?"
},
{
"from": "gpt",
"value": "SELECT class FROM table_name_5 WHERE weight = 220"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (number INTEGER, name VARCHAR, weight VARCHAR)"
},
{
"from": "human",
"value": "Name of byron geis, and a Weight smaller than 195 involves what average number?"
},
{
"from": "gpt",
"value": "SELECT AVG(number) FROM table_name_6... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the record on March 22?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_58 WHERE date = \"march 22\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (february INTEGER, game VARCHAR)"
},
{
"from": "human",
"value": "What day in february was game 53?"
},
{
"from": "gpt",
"value": "SELECT AVG(february) FROM table_name_96 WHERE game = 53"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (record VARCHAR, february VARCHAR)"
},
{
"from": "human",
"value": "What is the team's record on februrary 23?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_29 WHERE february = 23"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (place INTEGER, total VARCHAR, draw VARCHAR)"
},
{
"from": "human",
"value": "Which Place is the lowest one that has a Total smaller than 24, and a Draw larger than 7?"
},
{
"from": "gpt",
"value": "SELECT MIN(place) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (entrant VARCHAR, points VARCHAR, chassis VARCHAR)"
},
{
"from": "human",
"value": "with lola t86/50 chassis and less than 7 points what is the entrant?"
},
{
"from": "gpt",
"value": "SELECT entrant FROM table_name_87 WHERE poi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (points INTEGER, entrant VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "after 1987 and entrant of first racing what is the highest points?"
},
{
"from": "gpt",
"value": "SELECT MAX(points) FROM table_name_69 WHERE entr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (points VARCHAR, year INTEGER)"
},
{
"from": "human",
"value": "with year greater than 1988 what is the total number of points?"
},
{
"from": "gpt",
"value": "SELECT COUNT(points) FROM table_name_62 WHERE year > 1988"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (points INTEGER, entrant VARCHAR)"
},
{
"from": "human",
"value": "what is the points total for forti corse?"
},
{
"from": "gpt",
"value": "SELECT SUM(points) FROM table_name_49 WHERE entrant = \"forti corse\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (parts_per_example VARCHAR, value_of_quantity VARCHAR)"
},
{
"from": "human",
"value": "What is the Parts-per example of 2Γ10 β6?"
},
{
"from": "gpt",
"value": "SELECT parts_per_example FROM table_name_75 WHERE value_of_quantit... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (coefficient VARCHAR, parts_per_example VARCHAR)"
},
{
"from": "human",
"value": "What is the Coefficient of 2 ppt?"
},
{
"from": "gpt",
"value": "SELECT coefficient FROM table_name_16 WHERE parts_per_example = \"2 ppt\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (format VARCHAR, catalog VARCHAR)"
},
{
"from": "human",
"value": "what is the format of catalog 865 821-1?"
},
{
"from": "gpt",
"value": "SELECT format FROM table_name_25 WHERE catalog = \"865 821-1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (season VARCHAR, title VARCHAR, winner VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What season had Kanto Gakuin University as the winner, with an attendance of n/a, and a title of 37th?"
},
{
"from": "gpt",
"v... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (title VARCHAR, season VARCHAR, attendance VARCHAR, runner_up VARCHAR)"
},
{
"from": "human",
"value": "What was the title for the game with an attendance of n/a with the runner-up being Waseda, and a season of 1995-6 details?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (season VARCHAR, runner_up VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "What season has a runner-up of waseda, and a title of 47th?"
},
{
"from": "gpt",
"value": "SELECT season FROM table_name_25 WHERE runner_up = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (winner VARCHAR, runner_up VARCHAR)"
},
{
"from": "human",
"value": "Who was the winner in the game that had Teikyo as the runner-up?"
},
{
"from": "gpt",
"value": "SELECT winner FROM table_name_94 WHERE runner_up = \"teikyo\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (winner VARCHAR, runner_up VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "Who was the winner in the game that had a title of 32nd, and Waseda as the runner-up?"
},
{
"from": "gpt",
"value": "SELECT winner FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (date VARCHAR, week VARCHAR)"
},
{
"from": "human",
"value": "what is the date on week 6"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_97 WHERE week = 6"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (city VARCHAR, erp__analog__digital_ VARCHAR)"
},
{
"from": "human",
"value": "Which City has 600kw 500kw ERP (Analog/ Digital)?"
},
{
"from": "gpt",
"value": "SELECT city FROM table_name_41 WHERE erp__analog__digital_ = \"600k... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (region_served VARCHAR, haat__analog__digital__1 VARCHAR)"
},
{
"from": "human",
"value": "Which Region served has of 1176 m 1190 m HAAT (Analog/ Digital) 1?"
},
{
"from": "gpt",
"value": "SELECT region_served FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (city VARCHAR, erp__analog__digital_ VARCHAR)"
},
{
"from": "human",
"value": "Which City has 600kw 500kw ERP ?"
},
{
"from": "gpt",
"value": "SELECT city FROM table_name_86 WHERE erp__analog__digital_ = \"600kw 500kw\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (city VARCHAR, erp__analog__digital_ VARCHAR)"
},
{
"from": "human",
"value": "Which City has a 360kw 90kw ERP?"
},
{
"from": "gpt",
"value": "SELECT city FROM table_name_32 WHERE erp__analog__digital_ = \"360kw 90kw\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (series VARCHAR, game INTEGER)"
},
{
"from": "human",
"value": "What was the series standing for games over 4?"
},
{
"from": "gpt",
"value": "SELECT series FROM table_name_2 WHERE game > 4"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (game INTEGER, date VARCHAR)"
},
{
"from": "human",
"value": "What is the game number held on May 20?"
},
{
"from": "gpt",
"value": "SELECT AVG(game) FROM table_name_52 WHERE date = \"may 20\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (score VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the score of the game when the Indians ended up with a record of 55-51?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_33 WHERE record = \"5... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (date VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "On which date did the Indians have a record of 67-58"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_92 WHERE record = \"67-58\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (work VARCHAR, year VARCHAR, result VARCHAR, award VARCHAR)"
},
{
"from": "human",
"value": "Which Work has a Result of nominated, and an Award of contigo award, and a Year smaller than 2002?"
},
{
"from": "gpt",
"value": "SELE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (year VARCHAR, award VARCHAR)"
},
{
"from": "human",
"value": "How many years have an Award of press award?"
},
{
"from": "gpt",
"value": "SELECT COUNT(year) FROM table_name_47 WHERE award = \"press award\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (award VARCHAR, category VARCHAR, result VARCHAR, year VARCHAR, work VARCHAR)"
},
{
"from": "human",
"value": "Which Award has a Year smaller than 2004, and a Work of the clone, and a Result of won, and a Category of favourite actress?"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (year INTEGER, work VARCHAR, award VARCHAR)"
},
{
"from": "human",
"value": "Which Year is the highest one that has a Work of the clone, and an Award of contigo award?"
},
{
"from": "gpt",
"value": "SELECT MAX(year) FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (time_elapsed VARCHAR, destination VARCHAR, closest_approach VARCHAR)"
},
{
"from": "human",
"value": "With the Destination of Jupiter and the Closest approach of 4 February 2004, what is the Time elapsed?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (time_elapsed VARCHAR, launched VARCHAR, closest_approach VARCHAR)"
},
{
"from": "human",
"value": "What Time elapsed has both the Launched of 15 October 1997 and the Closest approach of 24 June 1999?"
},
{
"from": "gpt",
"valu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (time_elapsed VARCHAR, closest_approach VARCHAR)"
},
{
"from": "human",
"value": "What Time elapsed has 14 February 2011 as the Closest approach?"
},
{
"from": "gpt",
"value": "SELECT time_elapsed FROM table_name_11 WHERE close... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.