conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (high_rebounds VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who had the high rebounds, and how many did he have, for the game played on April 9?"
},
{
"from": "gpt",
"value": "SELECT high_rebounds FROM table_name_24 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (date VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What date did a game have a time of 3:44?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_55 WHERE time = \"3:44\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (attendance VARCHAR, game INTEGER)"
},
{
"from": "human",
"value": "What was the attendance for the game after game 4?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_96 WHERE game > 4"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (geographic_character VARCHAR, population__2007_ VARCHAR, population__2010_ VARCHAR, urban_rural VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE TYPE OF LAND WITH A 2010 POPULATION GREATER THAN 2539, A RURAL AREA, AND A 2007 POPULATI... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (geographic_character VARCHAR, barangay VARCHAR, population__2007_ VARCHAR, population__2010_ VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE TYPE OF LAND WITH A 2007 POPULATION SMALLER THAN 4346, 2010 POPULATION LARGER THAN 3385, FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (population__2007_ VARCHAR, population__2010_ INTEGER)"
},
{
"from": "human",
"value": "WHAT IS THE POPULATION OF 2007 WHEN 2010 POPULATION WAS SMALLER THAN 1282?"
},
{
"from": "gpt",
"value": "SELECT COUNT(population__2007_) FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (points VARCHAR, played INTEGER)"
},
{
"from": "human",
"value": "What is the number of points when the played is less than 30?"
},
{
"from": "gpt",
"value": "SELECT COUNT(points) FROM table_name_42 WHERE played < 30"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (goals_for INTEGER, goal_difference VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What is the number of goals when the goal difference was less than 43, and the position less than 3?"
},
{
"from": "gpt",
"value": ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (position INTEGER, club VARCHAR, points VARCHAR, draws VARCHAR)"
},
{
"from": "human",
"value": "What is the position when the points were less than 34, draws of 7, and a Club of sd eibar?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (goals_against VARCHAR, losses VARCHAR, goal_difference VARCHAR, wins VARCHAR)"
},
{
"from": "human",
"value": "What is the number of goals against when the goal difference was less than 43, the Wins less than 13, and losses more than 14?"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (goal_difference INTEGER, played VARCHAR, goals_against VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What is the highest Goal Difference when the goals against were less than 76, and the position larger than 5, and a Played ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (producer VARCHAR, director VARCHAR)"
},
{
"from": "human",
"value": "Who is the producer for the director Richard Clark?"
},
{
"from": "gpt",
"value": "SELECT producer FROM table_name_31 WHERE director = \"richard clark\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (block INTEGER, director VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest block for director Graeme Harper?"
},
{
"from": "gpt",
"value": "SELECT MIN(block) FROM table_name_79 WHERE director = \"graeme harper\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (skip VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What is the skip when the country is finland?"
},
{
"from": "gpt",
"value": "SELECT skip FROM table_name_1 WHERE country = \"finland\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (ends_lost INTEGER, stolen_ends_for VARCHAR, stolen_ends_against VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest ends lost when the stolen ends for is less than 13, and stolten ends against is 6?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (shot__percentage INTEGER, country VARCHAR, ends_lost VARCHAR)"
},
{
"from": "human",
"value": "What is the sum shot % when the country is finland, and an ends lost is larger than 49?"
},
{
"from": "gpt",
"value": "SELECT SUM(s... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (stolen_ends_against VARCHAR, blank_ends_f_a VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What is the stolen ends against for a bank ends f/a of 4/7, and a country of china?"
},
{
"from": "gpt",
"value": "SELECT s... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (location VARCHAR, year VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "what is the location when the year is after 1974 and the date is september 19?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_36 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (location VARCHAR, year VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "what is the location when the year is before 1979 and the result is 19-17?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_68 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (result VARCHAR, year VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "what is the result for 1970 at yankee stadium?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_7 WHERE year = 1970 AND location = \"y... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (year INTEGER, location VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "what is the year when the location is yankee stadium and the result is 23-23"
},
{
"from": "gpt",
"value": "SELECT AVG(year) FROM table_name_74 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (total INTEGER, name VARCHAR, scottish_cup VARCHAR)"
},
{
"from": "human",
"value": "Which Total has a Name of eoin jess category:articles with hcards, and a Scottish Cup larger than 23?"
},
{
"from": "gpt",
"value": "SELECT MI... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (total INTEGER, name VARCHAR, league VARCHAR)"
},
{
"from": "human",
"value": "Which Total has a Name of alex mcleish category:articles with hcards, and a League smaller than 494?"
},
{
"from": "gpt",
"value": "SELECT AVG(total... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (league INTEGER, scottish_cup INTEGER)"
},
{
"from": "human",
"value": "Which League Cup has a Scottish Cup larger than 69?"
},
{
"from": "gpt",
"value": "SELECT SUM(league) AS Cup FROM table_name_42 WHERE scottish_cup > 69"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (scottish_cup VARCHAR, europe VARCHAR, league VARCHAR, years VARCHAR)"
},
{
"from": "human",
"value": "Which Scottish Cup has a League smaller than 561, Years of 1989β1995 1997β2001, and Europe smaller than 11?"
},
{
"from": "gpt",... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (pick INTEGER, nfl_club VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "What is the highest pick of the houston oilers NFL club, which has a round greater than 10?"
},
{
"from": "gpt",
"value": "SELECT MAX(pick) FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (round VARCHAR, nfl_club VARCHAR)"
},
{
"from": "human",
"value": "What is the round of the new york jets NFL club?"
},
{
"from": "gpt",
"value": "SELECT round FROM table_name_63 WHERE nfl_club = \"new york jets\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (round INTEGER, nfl_club VARCHAR, pick VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of the round of the new york jets NFL club, which has a pick less than 166?"
},
{
"from": "gpt",
"value": "SELECT SUM(round) FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (tournament VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE 2012 PERFORMANCE FOR THE MADRID MASTERS?"
},
{
"from": "gpt",
"value": "SELECT 2012 FROM table_name_25 WHERE tournament = \"madrid masters\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (tournament VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE 2011 PERFORMANCE FOR TOURNAMENTS PLAYED?"
},
{
"from": "gpt",
"value": "SELECT 2011 FROM table_name_48 WHERE tournament = \"tournaments played\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (tournament VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE 2010 PERFORMANCE THAT HAD 2009 0F 0, AND FINALS TOURNAMENT?"
},
{
"from": "gpt",
"value": "SELECT 2010 FROM table_name_19 WHERE 2009 = \"0\" AND tournament = \"f... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (tournament VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE 2009 PERFORMANCE FOR TOURNAMENTS PLAYED?"
},
{
"from": "gpt",
"value": "SELECT 2009 FROM table_name_68 WHERE tournament = \"tournaments played\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (scorers VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "Who were the scorers in round 3?"
},
{
"from": "gpt",
"value": "SELECT scorers FROM table_name_83 WHERE round = \"round 3\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (h___a VARCHAR, opponents VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "What is the H/A in the semi-final round where oldham athletic were the opponents?"
},
{
"from": "gpt",
"value": "SELECT h___a FROM table_name_90... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (scorers VARCHAR, opponents VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "Who were the scorers in the semi-final round where oldham athletic were the opponents?"
},
{
"from": "gpt",
"value": "SELECT scorers FROM tabl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (tournament VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Where was the tournament where the score was 1β6, 6β3, 3β6?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_66 WHERE score = \"1β6, 6β3, 3β6\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (opponent VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Who did thomaz bellucci play against when the score was 4β6, 6β4, 6β2?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_80 WHERE score = \"4β6, 6β... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (outcome VARCHAR, surface VARCHAR, partner VARCHAR)"
},
{
"from": "human",
"value": "What was the outcome of the tournament with Akiko Yonemura as a partner on a hard surface?"
},
{
"from": "gpt",
"value": "SELECT outcome FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (tournament VARCHAR)"
},
{
"from": "human",
"value": "Which tournament has 1r in 2011, 1r in 2012, A in 2005, and 1r in 2010?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_62 WHERE 2011 = \"1r\" AND 2012 = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (Id VARCHAR)"
},
{
"from": "human",
"value": "What is the 2010 value with a 1r in 2012 and an A in 2005?"
},
{
"from": "gpt",
"value": "SELECT 2010 FROM table_name_75 WHERE 2012 = \"1r\" AND 2005 = \"a\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (tournament VARCHAR)"
},
{
"from": "human",
"value": "What is the tournament with a 2r in 2009 and a 2r in 2010?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_96 WHERE 2009 = \"2r\" AND 2010 = \"2r\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (Id VARCHAR)"
},
{
"from": "human",
"value": "What is the 2011 value of the 2012 grand slam tournaments?"
},
{
"from": "gpt",
"value": "SELECT 2011 FROM table_name_10 WHERE 2012 = \"grand slam tournaments\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (record VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What was the record after game 45?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_13 WHERE game = \"45\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (date VARCHAR, location_attendance VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the date of the game at the delta center when the record was 35-14?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (opponent VARCHAR, location_attendance VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent, during the game at the location of keyarena at seattle center?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (label VARCHAR, format VARCHAR, release VARCHAR)"
},
{
"from": "human",
"value": "What is the label of release we are the rage with a cd format?"
},
{
"from": "gpt",
"value": "SELECT label FROM table_name_28 WHERE format = \"cd... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (winner VARCHAR, year VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who was the winning team before 1956 on October 21?"
},
{
"from": "gpt",
"value": "SELECT winner FROM table_name_43 WHERE year < 1956 AND date = \"oc... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (loser VARCHAR, winner VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who was the loser when the New York Giants were the winners on November 14?"
},
{
"from": "gpt",
"value": "SELECT loser FROM table_name_71 WHERE win... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (winner VARCHAR, year VARCHAR, loser VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "Who was the winner when the Philadelphia eagles were the losers after 1958 at Yankee Stadium?"
},
{
"from": "gpt",
"value": "SELEC... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (location VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "What location was the game with the result of 29-14?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_11 WHERE result = \"29-14\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (score VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "What is the score of the wigan athletic home team?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_3 WHERE home_team = \"wigan athletic\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (away_team VARCHAR, tie_no VARCHAR)"
},
{
"from": "human",
"value": "What is the away team with a 2 tie no.?"
},
{
"from": "gpt",
"value": "SELECT away_team FROM table_name_6 WHERE tie_no = \"2\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (away_team VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "What is the away team for the home team wigan athletic?"
},
{
"from": "gpt",
"value": "SELECT away_team FROM table_name_23 WHERE home_team = \"wigan athlet... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (score VARCHAR, date VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What is the score on 23 November 1983 with exeter city as the away team?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_31 WHERE dat... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (high_assists VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Who had the high assists when the record was 33β15?"
},
{
"from": "gpt",
"value": "SELECT high_assists FROM table_name_6 WHERE record = \"33β15\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (date VARCHAR, location_attendance VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What date was the location attendance at&t center 18,797, and a game earlier than 57?"
},
{
"from": "gpt",
"value": "SELECT date FROM ta... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (high_assists VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What player had the high assists when the Score was l 107β112 (ot)?"
},
{
"from": "gpt",
"value": "SELECT high_assists FROM table_name_27 WHERE score = \"l ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (name VARCHAR, assets__bn$_ VARCHAR, market_value__bn$_ VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "Which company had a market value less than $5.59 billion, assets greater than $27.46 billion, and a rank above 39?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (rank VARCHAR, assets__bn$_ VARCHAR, market_value__bn$_ VARCHAR)"
},
{
"from": "human",
"value": "How many ranks have assets of $70.74 billion and market value greater than $11.29 billion?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (revenue__bn INTEGER, rank VARCHAR, profit__bn$_ VARCHAR, assets__bn$_ VARCHAR, headquarters VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of revenue in Hong Kong with a rank greater than 42, less than $3.46 billion in assets, ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (gold INTEGER, silver INTEGER)"
},
{
"from": "human",
"value": "What is the highest number of gold medals when the silver is less than 0?"
},
{
"from": "gpt",
"value": "SELECT MAX(gold) FROM table_name_57 WHERE silver < 0"
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (sri_lankans_admitted INTEGER, year VARCHAR, nepalis_admitted VARCHAR)"
},
{
"from": "human",
"value": "How many Sri Lankans were admitted in 2004 when more than 594 Nepalis were admitted?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (bangladeshis_admitted INTEGER, nepalis_admitted VARCHAR, pakistanis_admitted VARCHAR)"
},
{
"from": "human",
"value": "How many Bangladeshis were admitted when 714 Nepalis and 13,575 Pakistanis were admitted?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (nepalis_admitted INTEGER, bangladeshis_admitted INTEGER)"
},
{
"from": "human",
"value": "What was the most Nepalis admitted when fewer than 1,896 Bangladeshis were admitted?"
},
{
"from": "gpt",
"value": "SELECT MAX(nepalis_a... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (frequency VARCHAR, first_published VARCHAR)"
},
{
"from": "human",
"value": "What is the frequency that the magazine issues that was first published on april 27, 2010?"
},
{
"from": "gpt",
"value": "SELECT frequency FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (magazine_type VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "What was the type of the magazine that was named dengeki game appli?"
},
{
"from": "gpt",
"value": "SELECT magazine_type FROM table_name_32 WHERE title = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (title VARCHAR, magazine_type VARCHAR, frequency VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the video game magazine that was issued bimonthly?"
},
{
"from": "gpt",
"value": "SELECT title FROM table_name_36 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (parent_magazine VARCHAR, title VARCHAR, frequency VARCHAR, magazine_type VARCHAR)"
},
{
"from": "human",
"value": "What was the parent magazine for the manga magazine, dengeki moeoh that was issued bimonthly?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (parent_magazine VARCHAR, first_published VARCHAR)"
},
{
"from": "human",
"value": "What was the parent magazine of the magazine that was first published on december 16, 2004?"
},
{
"from": "gpt",
"value": "SELECT parent_magazi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (overall INTEGER, round VARCHAR, pick VARCHAR, college VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE OVERALL AVERAGE WITH A 22 PICK, FROM RICE COLLEGE, AND ROUND BIGGER THAN 10?"
},
{
"from": "gpt",
"value": "SELECT AVG... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (position VARCHAR, pick VARCHAR)"
},
{
"from": "human",
"value": "WHAT POSITION HAS A 23 PICK?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_50 WHERE pick = 23"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (overall INTEGER, round VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE AVERAGE OVERALL WITH A ROUND LARGER THAN 9, AND RB POSITION?"
},
{
"from": "gpt",
"value": "SELECT AVG(overall) FROM table_name_85 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (overall VARCHAR, round VARCHAR, pick VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE TOTAL NUMBER WITH A ROUND BIGGER THAN 7 AND PICK OF 21?"
},
{
"from": "gpt",
"value": "SELECT COUNT(overall) FROM table_name_73 WHERE r... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (position VARCHAR, overall VARCHAR)"
},
{
"from": "human",
"value": "WHAT POSITION IS 273?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_26 WHERE overall = 273"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (stls INTEGER, rebs INTEGER)"
},
{
"from": "human",
"value": "What is the lowest Stls, when Rebs is greater than 8.6?"
},
{
"from": "gpt",
"value": "SELECT MIN(stls) FROM table_name_27 WHERE rebs > 8.6"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (blks INTEGER, stls VARCHAR, rebs VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of Blks, when Stls is 1, and when Rebs is greater than 8.6?"
},
{
"from": "gpt",
"value": "SELECT SUM(blks) FROM table_name_49 WHERE st... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (opponent VARCHAR, october VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "Which opponent played in game 3 before October 18?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_72 WHERE october < 18 AND game... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (game VARCHAR, october VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Which game was after October 24 and had a record of 6-2-1?"
},
{
"from": "gpt",
"value": "SELECT game FROM table_name_70 WHERE october > 24 AND re... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (pick INTEGER, round VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What was the lowest pick for the kicker after round 12?"
},
{
"from": "gpt",
"value": "SELECT MIN(pick) FROM table_name_23 WHERE round > 12 AND po... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (pick INTEGER, round VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "How many picks had less than 11 rounds and a player of Charley Casey?"
},
{
"from": "gpt",
"value": "SELECT SUM(pick) FROM table_name_29 WHERE round... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (round INTEGER, position VARCHAR)"
},
{
"from": "human",
"value": "How many rounds had a position of kicker?"
},
{
"from": "gpt",
"value": "SELECT SUM(round) FROM table_name_13 WHERE position = \"kicker\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (position VARCHAR, pick VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Which position had a pick larger than 80 and Walt Mainer as a player?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_7 WHERE pick ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (score VARCHAR, away VARCHAR)"
},
{
"from": "human",
"value": "What is the score of the match with deportes savio as the away team?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_57 WHERE away = \"deportes savio\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (attendance VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the total attendance of the match with a 1:2 score?"
},
{
"from": "gpt",
"value": "SELECT COUNT(attendance) FROM table_name_92 WHERE score = \"1:2\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (home VARCHAR, date VARCHAR, attendance VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the home team of the match on 21 September 2008 with an attendance less than 2248 and a 2:0 score?"
},
{
"from": "gpt",
"v... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (attendance INTEGER, score VARCHAR, away VARCHAR)"
},
{
"from": "human",
"value": "What is the highest attendance of the match with a 2:0 score and vida as the away team?"
},
{
"from": "gpt",
"value": "SELECT MAX(attendance) FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (score VARCHAR, home VARCHAR)"
},
{
"from": "human",
"value": "What is the score of the home team olimpia?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_14 WHERE home = \"olimpia\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (score VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What is the score of the match with an attendance of 2248?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_66 WHERE attendance = 2248"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (seats_up_for_election INTEGER, election_result VARCHAR, staying_councillors VARCHAR)"
},
{
"from": "human",
"value": "Which Seats up for election have an Election result larger than 8, and Staying councillors of 24?"
},
{
"from": ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (new_council INTEGER, election_result INTEGER)"
},
{
"from": "human",
"value": "Which New council has an Election result larger than 24?"
},
{
"from": "gpt",
"value": "SELECT AVG(new_council) FROM table_name_33 WHERE election_r... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (staying_councillors INTEGER, new_council VARCHAR, previous_council VARCHAR)"
},
{
"from": "human",
"value": "Which Staying councillors have a New council of 7, and a Previous council larger than 8?"
},
{
"from": "gpt",
"value"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (record VARCHAR, game VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What was the record when they played in the Miami Arena, before game 24?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_67 WHERE ga... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (opponent VARCHAR, game VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent when they played after Game 26 and their record was 23-4?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_2 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (date VARCHAR, location VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "On what date did they play in Boston Garden with a record of 22-4?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_24 WHERE location =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (record VARCHAR, location VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was their record on Wed. Dec. 5, when they played in Boston Garden?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_11 WHERE lo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (place VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What place in Lon Hinkle in?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_18 WHERE player = \"lon hinkle\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (country VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What country does Mark Hayes play for?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_33 WHERE player = \"mark hayes\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (to_par INTEGER, country VARCHAR, year_s__won VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of To Par, when Country is \"United States\", and when Year(s) Won is \"1973\"?"
},
{
"from": "gpt",
"value": "SELECT SUM(t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (player VARCHAR, total VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What is Player, when Total is greater than 288, and when Country is \"South Africa\"?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (year_s__won VARCHAR, to_par INTEGER)"
},
{
"from": "human",
"value": "What is Year(s) Won, when To Par is greater than 13?"
},
{
"from": "gpt",
"value": "SELECT year_s__won FROM table_name_24 WHERE to_par > 13"
}
] | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.