conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (score VARCHAR)"
},
{
"from": "human",
"value": "What score has 15.0% as the 2012?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_87 WHERE 2012 = \"15.0%\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (Id VARCHAR)"
},
{
"from": "human",
"value": "What 2008 has 14.2% as the 2009?"
},
{
"from": "gpt",
"value": "SELECT 2008 FROM table_name_31 WHERE 2009 = \"14.2%\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (score VARCHAR)"
},
{
"from": "human",
"value": "What score has 15.0% as the 2012?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_16 WHERE 2012 = \"15.0%\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (Id VARCHAR)"
},
{
"from": "human",
"value": "What 2009 has 18.5% as the 2007?"
},
{
"from": "gpt",
"value": "SELECT 2009 FROM table_name_49 WHERE 2007 = \"18.5%\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (Id VARCHAR)"
},
{
"from": "human",
"value": "What 2011 has 12.7% as the 2010?"
},
{
"from": "gpt",
"value": "SELECT 2011 FROM table_name_33 WHERE 2010 = \"12.7%\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (week INTEGER, result VARCHAR)"
},
{
"from": "human",
"value": "What is the Week of the game with a Result of L 24-0?"
},
{
"from": "gpt",
"value": "SELECT MAX(week) FROM table_name_44 WHERE result = \"l 24-0\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (week VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the Week number on December 18, 1960?"
},
{
"from": "gpt",
"value": "SELECT COUNT(week) FROM table_name_17 WHERE date = \"december 18, 1960\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (pick VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "Which pick played the Defensive End position?"
},
{
"from": "gpt",
"value": "SELECT pick FROM table_name_3 WHERE position = \"defensive end\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (pick VARCHAR, position VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "How many picks were taken before round 3 and played Linebacker?"
},
{
"from": "gpt",
"value": "SELECT COUNT(pick) FROM table_name_41 WHERE positio... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (silver INTEGER, total VARCHAR)"
},
{
"from": "human",
"value": "What is the average number of silver medals won among nations that won 9 medals total?"
},
{
"from": "gpt",
"value": "SELECT AVG(silver) FROM table_name_88 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (round INTEGER, pick INTEGER)"
},
{
"from": "human",
"value": "Which Round has a Pick larger than 179?"
},
{
"from": "gpt",
"value": "SELECT MAX(round) FROM table_name_63 WHERE pick > 179"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (pick INTEGER, player VARCHAR)"
},
{
"from": "human",
"value": "What is jamar martin's highest pick?"
},
{
"from": "gpt",
"value": "SELECT MAX(pick) FROM table_name_33 WHERE player = \"jamar martin\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (team VARCHAR, rank VARCHAR, speed VARCHAR)"
},
{
"from": "human",
"value": "What teams rank is higher than 4 with a speed of 104.574mph?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_91 WHERE rank > 4 AND speed = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (team VARCHAR, rider VARCHAR)"
},
{
"from": "human",
"value": "What team does Anthony Redmond ride for?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_32 WHERE rider = \"anthony redmond\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (speed VARCHAR, rank VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What was the speed with a time of 1:03.41.86 and a rank smaller than 3?"
},
{
"from": "gpt",
"value": "SELECT speed FROM table_name_86 WHERE rank < 3 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (school VARCHAR, _number___county VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR)"
},
{
"from": "human",
"value": "What school in 72 Scott county has an enrollment more than 473 with an AAA IHSAA Class?"
},
{
"from": "gpt",
"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (mascot VARCHAR, school VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR)"
},
{
"from": "human",
"value": "What's the mascot of Eastern Pekin having less than 627 enrolled and an AA for their IHSAA Class?"
},
{
"from": "gpt",
"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (enrollment INTEGER, ihsaa_class VARCHAR, mascot VARCHAR)"
},
{
"from": "human",
"value": "What's the most enrolled having the dragons for a mascot and an AAA for the IHSAA Class?"
},
{
"from": "gpt",
"value": "SELECT MAX(enrol... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (_number___county VARCHAR, enrollment VARCHAR, school VARCHAR)"
},
{
"from": "human",
"value": "What's the county of Eastern Pekin school with fewer than 774 enrolled?"
},
{
"from": "gpt",
"value": "SELECT _number___county FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (location VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR)"
},
{
"from": "human",
"value": "What's the location of the school having the panthers as a mascot with an AAA for the IHSAA Class?"
},
{
"from": "gpt",
"value": "SELECT l... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (ihsaa_class VARCHAR, mascot VARCHAR)"
},
{
"from": "human",
"value": "What's the IHSAA Class when the mascot was the Musketeers?"
},
{
"from": "gpt",
"value": "SELECT ihsaa_class FROM table_name_1 WHERE mascot = \"musketeers\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (director VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "Who was the director of Chaser on the Rocks?"
},
{
"from": "gpt",
"value": "SELECT director FROM table_name_74 WHERE title = \"chaser on the rocks\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (characters VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "What are the characters from the movie Suppressed Duck?"
},
{
"from": "gpt",
"value": "SELECT characters FROM table_name_80 WHERE title = \"suppressed duck\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (pick INTEGER, player VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "How many picks on average did Jay Bruchak have before round 6?"
},
{
"from": "gpt",
"value": "SELECT AVG(pick) FROM table_name_7 WHERE player = \"jay... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (round VARCHAR, pick VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "How many rounds did Pierre Bland have a pick larger than 148?"
},
{
"from": "gpt",
"value": "SELECT COUNT(round) FROM table_name_13 WHERE pick > 148... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (round INTEGER, college VARCHAR, pick VARCHAR)"
},
{
"from": "human",
"value": "What was the earliest round that Purdue had a pick larger than 10?"
},
{
"from": "gpt",
"value": "SELECT MIN(round) FROM table_name_16 WHERE colleg... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (pick VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "How many picks did Jay Bruchak have?"
},
{
"from": "gpt",
"value": "SELECT COUNT(pick) FROM table_name_31 WHERE player = \"jay bruchak\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (round VARCHAR, home VARCHAR)"
},
{
"from": "human",
"value": "In what round was the Alianza home game?"
},
{
"from": "gpt",
"value": "SELECT round FROM table_name_85 WHERE home = \"alianza\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (away VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "What was the visiting team that played a round 16 game?"
},
{
"from": "gpt",
"value": "SELECT away FROM table_name_48 WHERE round = \"round 16\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (week INTEGER, attendance VARCHAR)"
},
{
"from": "human",
"value": "How many weeks have an Attendance of 62,289?"
},
{
"from": "gpt",
"value": "SELECT SUM(week) FROM table_name_68 WHERE attendance = 62 OFFSET 289"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (week INTEGER, attendance INTEGER)"
},
{
"from": "human",
"value": "Which Week has an Attendance larger than 65,070?"
},
{
"from": "gpt",
"value": "SELECT MAX(week) FROM table_name_57 WHERE attendance > 65 OFFSET 070"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (week INTEGER, opponent VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "Which Week has an Opponent of atlanta falcons, and an Attendance smaller than 63,114?"
},
{
"from": "gpt",
"value": "SELECT MIN(week) FROM ta... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (tms VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "which Tms has a Season of 2013?"
},
{
"from": "gpt",
"value": "SELECT tms FROM table_name_59 WHERE season = \"2013\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (population INTEGER, code VARCHAR, area__km_2__ VARCHAR)"
},
{
"from": "human",
"value": "What's the population with a code more than 90902 and an area less than 1,335.47?"
},
{
"from": "gpt",
"value": "SELECT MIN(population) F... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (area__km_2__ INTEGER, place VARCHAR, population VARCHAR)"
},
{
"from": "human",
"value": "What's the most area of Bochum Part 2 with a population less than 15,911?"
},
{
"from": "gpt",
"value": "SELECT MAX(area__km_2__) FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (original_nfl_team VARCHAR, pos VARCHAR)"
},
{
"from": "human",
"value": "What is the Original NFL team of the CB Player?"
},
{
"from": "gpt",
"value": "SELECT original_nfl_team FROM table_name_31 WHERE pos = \"cb\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (college VARCHAR, conf VARCHAR, pos VARCHAR)"
},
{
"from": "human",
"value": "What is the College of the WR Player from SWC Conf?"
},
{
"from": "gpt",
"value": "SELECT college FROM table_name_70 WHERE conf = \"swc\" AND pos = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (player VARCHAR, college VARCHAR)"
},
{
"from": "human",
"value": "What Player is from the College of memphis?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_5 WHERE college = \"memphis\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (college VARCHAR, pos VARCHAR, conf VARCHAR)"
},
{
"from": "human",
"value": "What is the College of the LB Player with Big Ten Conf.?"
},
{
"from": "gpt",
"value": "SELECT college FROM table_name_70 WHERE pos = \"lb\" AND conf... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (draws INTEGER, wins VARCHAR, losses VARCHAR)"
},
{
"from": "human",
"value": "How many draws are there when there are 11 wins, and more than 7 losses?"
},
{
"from": "gpt",
"value": "SELECT SUM(draws) FROM table_name_92 WHERE w... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (draws INTEGER, losses VARCHAR, wins VARCHAR)"
},
{
"from": "human",
"value": "What is the draws when there are less than 3 losses and more than 16 wins?"
},
{
"from": "gpt",
"value": "SELECT MAX(draws) FROM table_name_20 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (wins INTEGER, losses VARCHAR, against VARCHAR)"
},
{
"from": "human",
"value": "What is the wins when there are 5 losses, and against is more than 1205?"
},
{
"from": "gpt",
"value": "SELECT MAX(wins) FROM table_name_33 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (losses INTEGER, sunrayia_fl VARCHAR, against VARCHAR)"
},
{
"from": "human",
"value": "What is the losses when Sunrayia FL is Red Cliffs, and the against is more than 2294?"
},
{
"from": "gpt",
"value": "SELECT AVG(losses) FRO... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (against VARCHAR, losses VARCHAR, wins VARCHAR)"
},
{
"from": "human",
"value": "What is the number against when losses are smaller than 3, and wins arelarger than 16?"
},
{
"from": "gpt",
"value": "SELECT COUNT(against) FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (notes VARCHAR, call_sign VARCHAR)"
},
{
"from": "human",
"value": "What is the Notes of the Frequency with Call sign CFUN-FM-1?"
},
{
"from": "gpt",
"value": "SELECT notes FROM table_name_33 WHERE call_sign = \"cfun-fm-1\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (format VARCHAR, notes VARCHAR, frequency VARCHAR)"
},
{
"from": "human",
"value": "What is the Format of FM 100.5 Licensed to Hope?"
},
{
"from": "gpt",
"value": "SELECT format FROM table_name_65 WHERE notes = \"licensed to ho... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (notes VARCHAR, call_sign VARCHAR)"
},
{
"from": "human",
"value": "What is the Notes of the Frequency with a call sign of CBUE-FM?"
},
{
"from": "gpt",
"value": "SELECT notes FROM table_name_82 WHERE call_sign = \"cbue-fm\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (dynamo INTEGER, spartak VARCHAR, draw VARCHAR, played VARCHAR)"
},
{
"from": "human",
"value": "what is the average dynamo when draw is more than 0, played is less than 15 and spartak is more than 1?"
},
{
"from": "gpt",
"valu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (spartak INTEGER, played VARCHAR, dynamo VARCHAR)"
},
{
"from": "human",
"value": "what is the highest spartak when played is less than 15 and dynamo is less than 3?"
},
{
"from": "gpt",
"value": "SELECT MAX(spartak) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (draw INTEGER, competition VARCHAR, dynamo VARCHAR)"
},
{
"from": "human",
"value": "what is the most draw when the competition is soviet league and dynamo is more than 34?"
},
{
"from": "gpt",
"value": "SELECT MAX(draw) FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (spartak INTEGER, played VARCHAR, draw VARCHAR)"
},
{
"from": "human",
"value": "what is the sum of spartak when played is 102 and draw is less than 19?"
},
{
"from": "gpt",
"value": "SELECT SUM(spartak) FROM table_name_54 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (dynamo INTEGER, draw VARCHAR, spartak VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "what is the least dynamo when spartak is more than 9, competition is totals and draw is more than 24?"
},
{
"from": "gpt",
"v... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (result VARCHAR, week VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What's the result when the Washington Redskins were the opponents on a week after 8?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (nationality VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the 4.45 for Anna Rogowska from Poland?"
},
{
"from": "gpt",
"value": "SELECT 445 FROM table_name_46 WHERE nationality = \"poland\" AND name = \"anna ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (name VARCHAR)"
},
{
"from": "human",
"value": "What is the 4.45 for Yelena Isinbayeva?"
},
{
"from": "gpt",
"value": "SELECT 445 FROM table_name_5 WHERE name = \"yelena isinbayeva\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (result INTEGER, name VARCHAR)"
},
{
"from": "human",
"value": "What is Anna Rogowska's average result?"
},
{
"from": "gpt",
"value": "SELECT AVG(result) FROM table_name_7 WHERE name = \"anna rogowska\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (nationality VARCHAR)"
},
{
"from": "human",
"value": "What national has 4.45 for o and 4.55 for xo?"
},
{
"from": "gpt",
"value": "SELECT nationality FROM table_name_13 WHERE 445 = \"o\" AND 455 = \"xo\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (staterooms INTEGER, year_built VARCHAR, crew VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of staterooms in with a year buit of 2008, and a crew less than 28?"
},
{
"from": "gpt",
"value": "SELECT SUM(staterooms) F... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (guests VARCHAR, ship_name VARCHAR, crew VARCHAR)"
},
{
"from": "human",
"value": "What is the total for guests with a ship name of rv indochina, and a crew smaller than 28?"
},
{
"from": "gpt",
"value": "SELECT COUNT(guests) F... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (country VARCHAR, total VARCHAR, day_1 VARCHAR)"
},
{
"from": "human",
"value": "what is the country when the total is 111 and the day 1 is 69?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_4 WHERE total = 111 AN... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (rank INTEGER, day_1 VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "what is the average rank when the day 1 is less than 71 and the country is romania?"
},
{
"from": "gpt",
"value": "SELECT AVG(rank) FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (rank VARCHAR, athlete VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "how many times is the athlete jin di and the total less than 118?"
},
{
"from": "gpt",
"value": "SELECT COUNT(rank) FROM table_name_77 WHERE athlet... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (goals INTEGER, nat VARCHAR, ends VARCHAR)"
},
{
"from": "human",
"value": "What is the highest goal for a GEO nat., that ended after 2010?"
},
{
"from": "gpt",
"value": "SELECT MAX(goals) FROM table_name_6 WHERE nat = \"geo\" A... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (venue VARCHAR, event VARCHAR, year VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "what is the venue when the year is 2006, the competition is asian games and the event is 400 m?"
},
{
"from": "gpt",
"value": "S... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (venue VARCHAR, event VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "what is the venue when the event is 4x400 m relay and the competition is asian championships?"
},
{
"from": "gpt",
"value": "SELECT venue FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (venue VARCHAR, year VARCHAR, competition VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "what is the venue when the competition is asian games, the event is 4x400 m relay and the year is 2002?"
},
{
"from": "gpt",
"va... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (spokespersons VARCHAR, commentator VARCHAR, voting_order VARCHAR)"
},
{
"from": "human",
"value": "During the voting order 11, when the commentator was pierre tchernia, who was the spokesperson?"
},
{
"from": "gpt",
"value": "S... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (voting_order INTEGER, commentator VARCHAR)"
},
{
"from": "human",
"value": "What was the voting order when bunny carr was the commentator?"
},
{
"from": "gpt",
"value": "SELECT SUM(voting_order) FROM table_name_50 WHERE commen... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (commentator VARCHAR, spokespersons VARCHAR)"
},
{
"from": "human",
"value": "Who was the commentator when the spokesperson was michael aspel?"
},
{
"from": "gpt",
"value": "SELECT commentator FROM table_name_35 WHERE spokesper... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (voting_order VARCHAR, commentator VARCHAR)"
},
{
"from": "human",
"value": "What was the voting order when the commentator was renato tagliani?"
},
{
"from": "gpt",
"value": "SELECT voting_order FROM table_name_95 WHERE commen... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (bronze INTEGER, total INTEGER)"
},
{
"from": "human",
"value": "Which Bronze has a Total smaller than 1?"
},
{
"from": "gpt",
"value": "SELECT AVG(bronze) FROM table_name_15 WHERE total < 1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (silver VARCHAR, rank VARCHAR, bronze VARCHAR, gold VARCHAR)"
},
{
"from": "human",
"value": "How much Silver has a Bronze larger than 1, and a Gold of 0, and a Rank smaller than 4?"
},
{
"from": "gpt",
"value": "SELECT COUNT(s... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (bronze INTEGER, rank VARCHAR, gold VARCHAR)"
},
{
"from": "human",
"value": "Which Bronze has a Rank of 4, and a Gold smaller than 0?"
},
{
"from": "gpt",
"value": "SELECT MAX(bronze) FROM table_name_7 WHERE rank = 4 AND gold <... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (gold INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR)"
},
{
"from": "human",
"value": "How much Gold has a Bronze smaller than 2, and a Silver of 0, and a Rank larger than 3?"
},
{
"from": "gpt",
"value": "SELECT SUM(gol... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (percentage__2011_ VARCHAR, population__2006_ VARCHAR, percentage__2006_ VARCHAR)"
},
{
"from": "human",
"value": "What percentage of the 2011 population had a mother tongue language that was spoken by 45.22% of the population in 2006 (ove... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (population__2011_ VARCHAR, population__2006_ VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of people in 2011 speaking the mother tongue language spoken by 120 in 2006?"
},
{
"from": "gpt",
"value": "SELECT... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (population__2006_ INTEGER, mother_tongue VARCHAR)"
},
{
"from": "human",
"value": "How many people ha Romanian as their mother tongue in 2006?"
},
{
"from": "gpt",
"value": "SELECT MAX(population__2006_) FROM table_name_12 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (mother_tongue VARCHAR, population__2006_ VARCHAR)"
},
{
"from": "human",
"value": "What is the mother tongue language shared by 300 people in 2006?"
},
{
"from": "gpt",
"value": "SELECT mother_tongue FROM table_name_94 WHERE p... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (points VARCHAR, english_translation VARCHAR, draw VARCHAR)"
},
{
"from": "human",
"value": "What's the total number of points when the English translation is Long Live Life and the draw is less than 2?"
},
{
"from": "gpt",
"va... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (language VARCHAR, draw VARCHAR)"
},
{
"from": "human",
"value": "What's the language of Draw number 9?"
},
{
"from": "gpt",
"value": "SELECT language FROM table_name_65 WHERE draw = 9"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (points INTEGER, language VARCHAR)"
},
{
"from": "human",
"value": "What are the lowest points when the language is Portuguese?"
},
{
"from": "gpt",
"value": "SELECT MIN(points) FROM table_name_87 WHERE language = \"portuguese\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (island VARCHAR, summit VARCHAR)"
},
{
"from": "human",
"value": "What's the island with a summit of Haleakalā?"
},
{
"from": "gpt",
"value": "SELECT island FROM table_name_74 WHERE summit = \"haleakalā\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (col__m_ INTEGER, island VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What's the lowest Col ranked less than 6 with an Island of Molokaʻi?"
},
{
"from": "gpt",
"value": "SELECT MIN(col__m_) FROM table_name_96 WHERE i... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (col__m_ VARCHAR, rank VARCHAR, summit VARCHAR)"
},
{
"from": "human",
"value": "What's the col (m) ranked more than 4 with a summit of Kawaikini?"
},
{
"from": "gpt",
"value": "SELECT col__m_ FROM table_name_84 WHERE rank > 4 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (rank INTEGER, col__m_ VARCHAR, summit VARCHAR)"
},
{
"from": "human",
"value": "What's the rank when the col (m) is less than 33 and has a summit of Haleakalā?"
},
{
"from": "gpt",
"value": "SELECT SUM(rank) FROM table_name_80... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (summit VARCHAR, col__m_ VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What's the summit when the rank is less than 2 and has a col (m) of 0?"
},
{
"from": "gpt",
"value": "SELECT summit FROM table_name_72 WHERE col__... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (year VARCHAR, edition VARCHAR)"
},
{
"from": "human",
"value": "Which Year has an Edition of 41st?"
},
{
"from": "gpt",
"value": "SELECT year FROM table_name_58 WHERE edition = \"41st\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (no_of_events VARCHAR, country VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "How many Events have a Country of trinidad and tobago, and a Date of march 30-april 1?"
},
{
"from": "gpt",
"value": "SELECT no_of_events FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (country VARCHAR, top_team VARCHAR, edition VARCHAR)"
},
{
"from": "human",
"value": "Which Country has a Top Team of jam, and an Edition of 31st?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_93 WHERE top_team ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (outcome VARCHAR, partner VARCHAR)"
},
{
"from": "human",
"value": "What was the outcome of the final with a partner of Brett Steven?"
},
{
"from": "gpt",
"value": "SELECT outcome FROM table_name_62 WHERE partner = \"brett stev... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (surface VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "On what type of surface was the tournament of Italy f28?"
},
{
"from": "gpt",
"value": "SELECT surface FROM table_name_84 WHERE tournament = \"italy f28\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (opponent_in_the_final VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent in the final of the Senegal f2 tournament>"
},
{
"from": "gpt",
"value": "SELECT opponent_in_the_final FROM table_name_8 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (score VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What's the score on December 12, 1998?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_11 WHERE date = \"december 12, 1998\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (venue VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What was the venue when the score was 7-1?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_93 WHERE score = \"7-1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (score VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "What's the score of the friendly competition?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_18 WHERE competition = \"friendly\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (competition VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "What's the competition that happened in Singapore?"
},
{
"from": "gpt",
"value": "SELECT competition FROM table_name_59 WHERE venue = \"singapore\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (venue VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "What's the venue of the 1995 Southeast Asian Games?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_97 WHERE competition = \"1995 southeast asian... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (date_of_inauguration VARCHAR)"
},
{
"from": "human",
"value": "What was the date of the inauguration in the row with an entry of lifespan in the lifespan column?"
},
{
"from": "gpt",
"value": "SELECT date_of_inauguration FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (date_of_death VARCHAR, date_of_inauguration VARCHAR)"
},
{
"from": "human",
"value": "What was the date of death entry in the row that has a date of inauguration entry of date of inauguration?"
},
{
"from": "gpt",
"value": "SE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (length_of_retirement VARCHAR, president VARCHAR)"
},
{
"from": "human",
"value": "What is the length of retirement for president Sharma, Shankar Shankar Dayal Sharma?"
},
{
"from": "gpt",
"value": "SELECT length_of_retirement ... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.