conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (score VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "Which Score has an Opponent of seattle?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_62 WHERE opponent = \"seattle\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (record VARCHAR, high_points VARCHAR)"
},
{
"from": "human",
"value": "Which Record has a High points of hoffman (16)?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_58 WHERE high_points = \"hoffman (16)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (round INTEGER, record VARCHAR)"
},
{
"from": "human",
"value": "Which round has a record of 5-3 (1)?"
},
{
"from": "gpt",
"value": "SELECT MIN(round) FROM table_name_51 WHERE record = \"5-3 (1)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (djurgården_scorers VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "Who were the Djurgarden scorers when the venue was Idrottsparken?"
},
{
"from": "gpt",
"value": "SELECT djurgården_scorers FROM table_name_21 WHERE ve... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (series VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "what is the series when the team is gunbroker racing?"
},
{
"from": "gpt",
"value": "SELECT series FROM table_name_95 WHERE team = \"gunbroker racing\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (team VARCHAR, make VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "what is the team when the make is dodge and the year is after 2008?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_18 WHERE make = \"dodge\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (make VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "what is the make for the year 2008?"
},
{
"from": "gpt",
"value": "SELECT make FROM table_name_88 WHERE year = 2008"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (year INTEGER, driver VARCHAR)"
},
{
"from": "human",
"value": "what is the year when the driver was kevin lepage?"
},
{
"from": "gpt",
"value": "SELECT SUM(year) FROM table_name_87 WHERE driver = \"kevin lepage\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (team VARCHAR, driver VARCHAR, schedule VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "what is the team when the schedule is limited, year is earlier than 2007 and the driver is jason white?"
},
{
"from": "gpt",
"value... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (rank INTEGER, games VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "Which rank is the lowest with 37 games and more than 613 points?"
},
{
"from": "gpt",
"value": "SELECT MIN(rank) FROM table_name_44 WHERE games = 37... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (rank INTEGER, team VARCHAR, games VARCHAR)"
},
{
"from": "human",
"value": "What is Grupo Capitol Valladolid's highest rank with more than 34 games?"
},
{
"from": "gpt",
"value": "SELECT MAX(rank) FROM table_name_99 WHERE team... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (points VARCHAR, rank VARCHAR, games VARCHAR)"
},
{
"from": "human",
"value": "How many points are there for rank 5 with more than 34 games?"
},
{
"from": "gpt",
"value": "SELECT COUNT(points) FROM table_name_80 WHERE rank = 5 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (location VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Where is the kap shui mun bridge?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_35 WHERE name = \"kap shui mun bridge\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (tournament VARCHAR)"
},
{
"from": "human",
"value": "What tournament shows 2013 as 2r, and a 2010 as 1r?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_32 WHERE 2013 = \"2r\" AND 2010 = \"1r\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (Id VARCHAR)"
},
{
"from": "human",
"value": "What shows for 2013 when the 2008 is 1r?"
},
{
"from": "gpt",
"value": "SELECT 2013 FROM table_name_77 WHERE 2008 = \"1r\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (Id VARCHAR)"
},
{
"from": "human",
"value": "What shows for 2011 when 2012 is q1, and a 2010 is 4r?"
},
{
"from": "gpt",
"value": "SELECT 2011 FROM table_name_49 WHERE 2012 = \"q1\" AND 2010 = \"4r\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (tournament VARCHAR)"
},
{
"from": "human",
"value": "What tournament has a 2010 of 1r, and a 2008 of 1r?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_4 WHERE 2010 = \"1r\" AND 2008 = \"1r\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (tournament VARCHAR)"
},
{
"from": "human",
"value": "What shows for 2011 at the French open?"
},
{
"from": "gpt",
"value": "SELECT 2011 FROM table_name_82 WHERE tournament = \"french open\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (Id VARCHAR)"
},
{
"from": "human",
"value": "What shows for 2013 when 2012 is 2r?"
},
{
"from": "gpt",
"value": "SELECT 2013 FROM table_name_16 WHERE 2012 = \"2r\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (south_asians_2011 VARCHAR, province VARCHAR, south_asians_2001 VARCHAR)"
},
{
"from": "human",
"value": "How many South Asians were there in 2011 in Quebec when there were fewer than 59,510 in 2001?"
},
{
"from": "gpt",
"value... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (province VARCHAR, south_asians_2001 VARCHAR, south_asians_2011 VARCHAR)"
},
{
"from": "human",
"value": "Which province had fewer than 190 South Asians in 2001 and 115 South Asians in 2011?"
},
{
"from": "gpt",
"value": "SELEC... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (south_asians_2001 INTEGER, province VARCHAR, south_asians_2011 VARCHAR)"
},
{
"from": "human",
"value": "How many South Asians on average were in Alberta in 2001 and in 2011 had 159,055?"
},
{
"from": "gpt",
"value": "SELECT A... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (result VARCHAR, extra VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "What is Result, when Extra is \"Heptathlon\", and when Venue is \"Götzis , Austria\"?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (year VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of Year(s), when Tournament is \"World Championships\"?"
},
{
"from": "gpt",
"value": "SELECT COUNT(year) FROM table_name_50 WHERE tou... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (venue VARCHAR, year VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "What is Venue, when Year is 2005, and when Result is 8th?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_63 WHERE year = 2005 AND resul... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (tournament VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "What is Tournament, when Result is 18th?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_50 WHERE result = \"18th\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (venue VARCHAR, year VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "What is Venue, when Year is after 2003, and when Tournament is \"Hypo-Meeting\"?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_89 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (to_par VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "When the score was 71-71-70-70=282 what was the To par recorded?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_94 WHERE score = 71 - 71 - 70 - 70 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (score VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What was the score for Tom Lehman?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_68 WHERE player = \"tom lehman\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (november INTEGER, game INTEGER)"
},
{
"from": "human",
"value": "What is the sum of November, when Game is greater than 23?"
},
{
"from": "gpt",
"value": "SELECT SUM(november) FROM table_name_40 WHERE game > 23"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (november INTEGER, game VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of November, when Game is \"17\"?"
},
{
"from": "gpt",
"value": "SELECT SUM(november) FROM table_name_55 WHERE game = 17"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (game INTEGER, opponent VARCHAR, november VARCHAR)"
},
{
"from": "human",
"value": "What is the highest Game, when Opponent is \"Chicago Black Hawks\", and when November is less than 16?"
},
{
"from": "gpt",
"value": "SELECT MA... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (player VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What player has a total of 297?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_87 WHERE total = 297"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (country VARCHAR, total VARCHAR, finish VARCHAR)"
},
{
"from": "human",
"value": "Which country has a total less than 289 and finished t2?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_22 WHERE total < 289 AND f... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (player VARCHAR, finish VARCHAR)"
},
{
"from": "human",
"value": "Which player finished t35?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_89 WHERE finish = \"t35\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (finish VARCHAR, total VARCHAR, year_s__won VARCHAR)"
},
{
"from": "human",
"value": "What finish has a total of more than 289 and won in 1979?"
},
{
"from": "gpt",
"value": "SELECT finish FROM table_name_54 WHERE total > 289 A... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (name VARCHAR, moving_to VARCHAR)"
},
{
"from": "human",
"value": "What is Name, when Moving To is \"NEC Nijmegen\"?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_30 WHERE moving_to = \"nec nijmegen\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (date_from VARCHAR, moving_to VARCHAR)"
},
{
"from": "human",
"value": "What is Date From, when Moving To is \"Birmingham City\"?"
},
{
"from": "gpt",
"value": "SELECT date_from FROM table_name_46 WHERE moving_to = \"birmingham... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (pos VARCHAR, date_to VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is Pos., when Date To is \"30 June 2009\", and when Name is \"Eddie Johnson\"?"
},
{
"from": "gpt",
"value": "SELECT pos FROM table_name_18 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (pos VARCHAR, date_from VARCHAR)"
},
{
"from": "human",
"value": "What is Pos., when Date From is \"28 August 2008\"?"
},
{
"from": "gpt",
"value": "SELECT pos FROM table_name_8 WHERE date_from = \"28 august 2008\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (moving_to VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is Moving To, when Name is \"Leon Andreasen\"?"
},
{
"from": "gpt",
"value": "SELECT moving_to FROM table_name_18 WHERE name = \"leon andreasen\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (date_to VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is Date To, when Name is \"Lee Cook\"?"
},
{
"from": "gpt",
"value": "SELECT date_to FROM table_name_47 WHERE name = \"lee cook\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (listed VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "When was the oakachoy covered bridge listed?"
},
{
"from": "gpt",
"value": "SELECT listed FROM table_name_34 WHERE name = \"oakachoy covered bridge\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (county VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "In which county is the swann covered bridge located?"
},
{
"from": "gpt",
"value": "SELECT county FROM table_name_4 WHERE name = \"swann covered bridge\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (name VARCHAR, county VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "Which bridge is located in Nectar, in Blount County?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_17 WHERE county = \"blount\" AND ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (county VARCHAR, built VARCHAR)"
},
{
"from": "human",
"value": "Which county built a bridge in 1934?"
},
{
"from": "gpt",
"value": "SELECT county FROM table_name_59 WHERE built = \"1934\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (built VARCHAR, location VARCHAR, county VARCHAR, listed VARCHAR)"
},
{
"from": "human",
"value": "In which year did Blount County build a bridge in Cleveland that was listed on 1981-08-20?"
},
{
"from": "gpt",
"value": "SELECT... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (score VARCHAR, time VARCHAR, set_3 VARCHAR)"
},
{
"from": "human",
"value": "What is the score with a time at 18:00 and a score for set 3 of 13–25?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_12 WHERE time = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (set_2 VARCHAR, set_1 VARCHAR)"
},
{
"from": "human",
"value": "What is the score for set 2 when the score of set 1 is 19–25?"
},
{
"from": "gpt",
"value": "SELECT set_2 FROM table_name_70 WHERE set_1 = \"19–25\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (total VARCHAR, time VARCHAR, set_3 VARCHAR)"
},
{
"from": "human",
"value": "How much is the total with a time at 16:00 and score for set 3 of 18–25?"
},
{
"from": "gpt",
"value": "SELECT total FROM table_name_41 WHERE time = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (set_2 VARCHAR, time VARCHAR, set_1 VARCHAR)"
},
{
"from": "human",
"value": "What is the score for set 2 when the time is 18:00 and the score of set 1 is 18–25?"
},
{
"from": "gpt",
"value": "SELECT set_2 FROM table_name_48 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (total VARCHAR, set_3 VARCHAR)"
},
{
"from": "human",
"value": "What was the total with a score in set 3 of 13–25?"
},
{
"from": "gpt",
"value": "SELECT total FROM table_name_55 WHERE set_3 = \"13–25\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (champion__seed_ VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What was the Champion of the Tournament with a Score of 79–75 OT?"
},
{
"from": "gpt",
"value": "SELECT champion__seed_ FROM table_name_1 WHERE score = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (champion__seed_ VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What was the Champion of the Game with a Score of 65–56?"
},
{
"from": "gpt",
"value": "SELECT champion__seed_ FROM table_name_78 WHERE score = \"65–56\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (manufacturer VARCHAR, rider VARCHAR, laps VARCHAR, grid VARCHAR)"
},
{
"from": "human",
"value": "Which Manufacturer has a Laps of 21, a Grid larger than 16, and a Rider of akira ryō?"
},
{
"from": "gpt",
"value": "SELECT manu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (time_retired VARCHAR, rider VARCHAR)"
},
{
"from": "human",
"value": "Which Time/Retired has a Rider of daijiro kato?"
},
{
"from": "gpt",
"value": "SELECT time_retired FROM table_name_43 WHERE rider = \"daijiro kato\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (manufacturer VARCHAR, rider VARCHAR)"
},
{
"from": "human",
"value": "Which Manufacturer has a Rider of daijiro kato?"
},
{
"from": "gpt",
"value": "SELECT manufacturer FROM table_name_49 WHERE rider = \"daijiro kato\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (time_retired VARCHAR, manufacturer VARCHAR, rider VARCHAR)"
},
{
"from": "human",
"value": "Which Time/Retired has a Manufacturer of yamaha, and a Rider of garry mccoy?"
},
{
"from": "gpt",
"value": "SELECT time_retired FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the team with round less than 2, and the nationality is the United States?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (position VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What position does John Carlson play?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_15 WHERE player = \"john carlson\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (high_rebounds VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "Who had the highest rebounds on game 5?"
},
{
"from": "gpt",
"value": "SELECT high_rebounds FROM table_name_33 WHERE game = 5"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (overall VARCHAR, round VARCHAR, pick VARCHAR)"
},
{
"from": "human",
"value": "How many Overall went in a round larger than 7 with a pick less than 7?"
},
{
"from": "gpt",
"value": "SELECT COUNT(overall) FROM table_name_39 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (rank VARCHAR, events VARCHAR, prize_money__$__ VARCHAR)"
},
{
"from": "human",
"value": "What is the rank for the player with events greater than 23 and prize money in excess of $823,783?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (prize_money__ INTEGER, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the prize money for the player ranked 1?"
},
{
"from": "gpt",
"value": "SELECT MAX(prize_money__) AS $__ FROM table_name_16 WHERE rank = 1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (round INTEGER, event VARCHAR)"
},
{
"from": "human",
"value": "What was the lowest round for the KOTC 25: Flaming Fury event?"
},
{
"from": "gpt",
"value": "SELECT MIN(round) FROM table_name_82 WHERE event = \"kotc 25: flaming... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (opponent VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent for the KOTC 25: Flaming Fury event?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_82 WHERE event = \"kotc 25: flaming fur... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (opponent VARCHAR, round VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent in the WMMA 1: McCorkle vs. Heden event that went more than 1 round?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (res VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the result when his record was 25-15?"
},
{
"from": "gpt",
"value": "SELECT res FROM table_name_83 WHERE record = \"25-15\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (position VARCHAR, round VARCHAR, nationality VARCHAR)"
},
{
"from": "human",
"value": "What is Position, when Round is less than 6, and when Nationality is \"Denmark\"?"
},
{
"from": "gpt",
"value": "SELECT position FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (position VARCHAR, nationality VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "What is Position, when Nationality is \"Canada\", and when Round is greater than 3?"
},
{
"from": "gpt",
"value": "SELECT position FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (round VARCHAR, college_junior_club_team__league_ VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of Round, when College/Junior/Club Team (League) is \"Kelowna Rockets ( WHL )\"?"
},
{
"from": "gpt",
"value":... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (round VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What round did the fight last when Mikhail Ilyukhin's record was 15-5?"
},
{
"from": "gpt",
"value": "SELECT round FROM table_name_21 WHERE record = \"15-5\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (method VARCHAR, record VARCHAR, round VARCHAR, res VARCHAR)"
},
{
"from": "human",
"value": "What method did Mikhail Ilyukhin win the fight in round 1 when his record was 13-5?"
},
{
"from": "gpt",
"value": "SELECT method FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (method VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the method of resolution when Mikhail Ilyukhin's record was 4-0?"
},
{
"from": "gpt",
"value": "SELECT method FROM table_name_92 WHERE record = \"4-0\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (date VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "When was the score 123-112?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_97 WHERE score = \"123-112\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (opponent VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Who did they play when the score was 95-118?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_63 WHERE score = \"95-118\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (opponent VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Who did they play when the score was 95-114?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_11 WHERE score = \"95-114\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (date VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "When was the score 92-134?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_38 WHERE score = \"92-134\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (score VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "When they were 2-32 what did they score?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_71 WHERE record = \"2-32\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (to_par INTEGER, total INTEGER)"
},
{
"from": "human",
"value": "When the total was smaller than 290, what was the highest To par?"
},
{
"from": "gpt",
"value": "SELECT MAX(to_par) FROM table_name_24 WHERE total < 290"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (to_par VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of To par for Lee Trevino?"
},
{
"from": "gpt",
"value": "SELECT COUNT(to_par) FROM table_name_4 WHERE player = \"lee trevino\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (to_par INTEGER, finish VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of To par when the Finish is t11?"
},
{
"from": "gpt",
"value": "SELECT SUM(to_par) FROM table_name_59 WHERE finish = \"t11\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (runs INTEGER, player VARCHAR)"
},
{
"from": "human",
"value": "What was Donald Bradman's average runs?"
},
{
"from": "gpt",
"value": "SELECT AVG(runs) FROM table_name_21 WHERE player = \"donald bradman\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (runs INTEGER, matches INTEGER)"
},
{
"from": "human",
"value": "What was the highest amount of runs for more than 5 matches?"
},
{
"from": "gpt",
"value": "SELECT MAX(runs) FROM table_name_45 WHERE matches > 5"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (shot_pct INTEGER, blank_ends INTEGER)"
},
{
"from": "human",
"value": "What is the lowest Shot Pct., when Blank Ends is greater than 6?"
},
{
"from": "gpt",
"value": "SELECT MIN(shot_pct) FROM table_name_2 WHERE blank_ends > 6"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (shot_pct VARCHAR, stolen_ends VARCHAR)"
},
{
"from": "human",
"value": "What is Shot Pct., when Stolen Ends is 2?"
},
{
"from": "gpt",
"value": "SELECT shot_pct FROM table_name_67 WHERE stolen_ends = 2"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (ends_won VARCHAR, province VARCHAR, stolen_ends VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of Ends Won, when Province is \"Saskatchewan\", and when Stolen Ends is less than 6?"
},
{
"from": "gpt",
"valu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (date VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "On what date were Perth Wildcats the away team?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_28 WHERE away_team = \"perth wildcats\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (date VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "On what date was the score 121-113?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_84 WHERE score = \"121-113\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (date VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "On what date was Adelaide 36ers the home team?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_64 WHERE home_team = \"adelaide 36ers\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (report VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "Which report is for Townsville Entertainment Centre?"
},
{
"from": "gpt",
"value": "SELECT report FROM table_name_6 WHERE venue = \"townsville entertainment centre... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (home_team VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which home team had a score of 85-101?"
},
{
"from": "gpt",
"value": "SELECT home_team FROM table_name_7 WHERE score = \"85-101\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (Box VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "What was the box core for the Melbourne Tigers?"
},
{
"from": "gpt",
"value": "SELECT Box AS score FROM table_name_21 WHERE home_team = \"melbourne tigers\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (author VARCHAR, featuring VARCHAR)"
},
{
"from": "human",
"value": "who is the author when featuring is leela, the master, kraals?"
},
{
"from": "gpt",
"value": "SELECT author FROM table_name_42 WHERE featuring = \"leela, the ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (author VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "who is the author when the title is destination: nerva?"
},
{
"from": "gpt",
"value": "SELECT author FROM table_name_73 WHERE title = \"destination: nerva\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (featuring VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "who is featuring when the title is energy of the daleks?"
},
{
"from": "gpt",
"value": "SELECT featuring FROM table_name_18 WHERE title = \"energy of the dalek... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (title VARCHAR, featuring VARCHAR, series_sorted VARCHAR)"
},
{
"from": "human",
"value": "what is the title when the featuring is leela and series sorted is 4s/b?"
},
{
"from": "gpt",
"value": "SELECT title FROM table_name_71 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (opponent VARCHAR, december VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the Opponent that has the December of 2?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_52 WHERE december = 2"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (december INTEGER, opponent VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the average December rhat has the Opponent of @ toronto maple leafs?"
},
{
"from": "gpt",
"value": "SELECT AVG(december) FROM table_name_18 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (score VARCHAR, december VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the Score that has the December of 10?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_55 WHERE december = 10"
}
] | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.